[buddypress-trac] [BuddyPress Trac] #6216: buddypress.js has dependency to deprecated bp-jquery-scroll-to.js

buddypress-trac noreply at wordpress.org
Wed Feb 11 20:21:08 UTC 2015


#6216: buddypress.js has dependency to deprecated bp-jquery-scroll-to.js
------------------------------+-----------------------------
 Reporter:  wpdennis          |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Component - Core  |    Version:  2.1
 Severity:  normal            |   Keywords:  dev-feedback
------------------------------+-----------------------------
 [https://buddypress.trac.wordpress.org/browser/tags/2.2.0/src/bp-
 core/deprecated/2.1.php#L25 bp-jquery-scroll-to.js] was deprecated in 2.1
 but is still a dependency by default in
 [https://buddypress.trac.wordpress.org/browser/tags/2.2.0/src/bp-core/bp-
 core-cssjs.php#L255 bp_core_get_js_dependencies()]:

 {{{
 function bp_core_get_js_dependencies() {
     return apply_filters( 'bp_core_get_js_dependencies', array(
         'jquery',
         'bp-confirm',
         'bp-widget-members',
         'bp-jquery-query',
         'bp-jquery-cookie',
         'bp-jquery-scroll-to'
     ) );
 }
 }}}

 With ''define('BP_IGNORE_DEPRECATED', true);'' the buddypress.js isn't
 loaded anymore.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6216>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list