Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/21/2023 11:55:30 AM (3 years ago)
Author:
imath
Message:

Remove Legacy Widget assets

  • Stop registering Widgets' JavaScripts,
  • Remove BP Template packs styles about Widgets.

Fixes #8869
Closes https://github.com/buddypress/buddypress/pull/103

File:
1 edited

Legend:

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

    r13464 r13485  
    7676                // Legacy.
    7777                'bp-confirm'        => array( 'file' => "{$url}confirm{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
    78                 'bp-widget-members' => array( 'file' => "{$url}widget-members{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
    7978                'bp-jquery-query'   => array( 'file' => "{$url}jquery-query{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
    8079                'bp-jquery-cookie'  => array( 'file' => "{$url}vendor/jquery-cookie{$min}.js", 'dependencies' => array( 'jquery' ), 'footer' => false ),
     
    137136         * Filters the BuddyPress Core javascript files to register.
    138137         *
    139          * Default handles include 'bp-confirm', 'bp-widget-members',
    140          * 'bp-jquery-query', 'bp-jquery-cookie', and 'bp-jquery-scroll-to'.
     138         * Default handles include 'bp-confirm', 'bp-jquery-query',
     139         * 'bp-jquery-cookie', and 'bp-jquery-scroll-to'.
    141140         *
    142141         * @since 2.1.0 'jquery-caret', 'jquery-atwho' added.
     
    455454                'jquery',
    456455                'bp-confirm',
    457                 'bp-widget-members',
    458456                'bp-jquery-query',
    459457                'bp-jquery-cookie',
Note: See TracChangeset for help on using the changeset viewer.