Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 11 years ago

#6212 closed defect (bug)

messages_add_autocomplete_js() uses deprecated scripts

Reported by: wpdennis Owned by:
Priority: normal Milestone:
Component: Messages Version: 2.1
Severity: normal 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
12 years ago

  • Milestone Awaiting ReviewUnder Consideration

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

#2 @boonebgorges
11 years ago

  • Milestone Under Consideration
  • Status newclosed

Closing in favor of #6740.

Note: See TracTickets for help on using tickets.