Skip to:
Content

BuddyPress.org

Changeset 9477


Ignore:
Timestamp:
02/12/2015 03:27:00 PM (10 years ago)
Author:
boonebgorges
Message:

Undeprecate jquery.scroll-to.js.

This file was deprecated as part of [8559], which did some miscellaneous
cleanup of old scripts. However, scrollTo() continues to be used in bp-legacy
JS, and so jquery.scroll-to remains a requirement. It should not be broken by
BP_IGNORE_DEPRECATED.

Props wpdennis.
Fixes #6216.

Location:
trunk/src/bp-core
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-cssjs.php

    r9351 r9477  
    2626        'bp-jquery-query'   => array( 'file' => "{$url}jquery-query{$min}.js",   'dependencies' => array( 'jquery' ) ),
    2727        'bp-jquery-cookie'  => array( 'file' => "{$url}jquery-cookie{$min}.js",  'dependencies' => array( 'jquery' ) ),
     28        'bp-jquery-scroll-to' => array( 'file' => "{$url}jquery-scroll-to{$min}.js", 'dependencies' => array( 'jquery' ) ),
    2829
    2930        // 2.1
  • trunk/src/bp-core/deprecated/2.1.php

    r9471 r9477  
    2121
    2222    $scripts = apply_filters( 'bp_core_register_deprecated_scripts', array(
    23 
    24         // Core
    25         'bp-jquery-scroll-to' => array(
    26             'file'         => "{$url}jquery-scroll-to{$min}.js",
    27             'dependencies' => array( 'jquery' ),
    28         ),
    2923
    3024        // Messages
Note: See TracChangeset for help on using the changeset viewer.