WordPress.org

Make WordPress Core

Changeset 27823


Ignore:
Timestamp:
03/28/2014 07:46:26 PM (8 years ago)
Author:
DrewAPicture
Message:

The sidebar_admin_setup hook should only be documented once in wp-admin/widgets.php. All others are duplicates.

See #25374, #25501, #27531.

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r27816 r27823  
    15241524    do_action( 'widgets.php' );
    15251525
    1526     /**
    1527      * Fires early when editing the widgets displayed in sidebars.
    1528      *
    1529      * @since 2.2.0
    1530      */
     1526    /** This action is documented in wp-admin/widgets.php */
    15311527    do_action( 'sidebar_admin_setup' );
    15321528
  • trunk/src/wp-admin/widgets.php

    r27469 r27823  
    3636
    3737/**
    38  * Fires early before the Widgets administration screen loads, after scripts are enqueued.
     38 * Fires early before the Widgets administration screen loads,
     39 * after scripts are enqueued.
    3940 *
    4041 * @since 2.2.0
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r27820 r27823  
    282282        do_action( 'load-widgets.php' );
    283283        do_action( 'widgets.php' );
     284
     285        /** This action is documented in wp-admin/widgets.php */
    284286        do_action( 'sidebar_admin_setup' );
    285287    }
     
    11591161        do_action( 'load-widgets.php' );
    11601162        do_action( 'widgets.php' );
     1163
     1164        /** This action is documented in wp-admin/widgets.php */
    11611165        do_action( 'sidebar_admin_setup' );
    11621166
Note: See TracChangeset for help on using the changeset viewer.