Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 9 years ago

#6212 closed defect (bug)

messages_add_autocomplete_js() uses deprecated scripts

Reported by: wpdennis's profile wpdennis Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.1
Component: Messages Keywords: dev-feedback
Cc:

Description

With 2.1 a few scripts where deprecated, like "bp-jquery-autocomplete" and "bp-jquery-autocomplete-fb" in deprecated/2.1.php.

But in messages_add_autocomplete_js() these script are enqueued and an inline script is injected which uses them. In environments with define('BP_IGNORE_DEPRECATED', true); this will be problematic.

Shouldn't messages_add_autocomplete_js() be deprecated, too?

Change History (2)

#1 @DJPaul
10 years ago

  • Milestone changed from Awaiting Review to Under Consideration

I think if that function is deprecated, and BP_IGNORE_DEPRECATED is set, the Messages template will lose its autocomplete features.

#2 @boonebgorges
9 years ago

  • Milestone Under Consideration deleted
  • Status changed from new to closed

Closing in favor of #6740.

Note: See TracTickets for help on using tickets.