Opened 10 years ago
Closed 9 years ago
#6212 closed defect (bug)
messages_add_autocomplete_js() uses deprecated scripts
Reported by: | 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)
Note: See
TracTickets for help on using
tickets.
I think if that function is deprecated, and BP_IGNORE_DEPRECATED is set, the Messages template will lose its autocomplete features.