WordPress.org

Make WordPress Core

Changeset 25994


Ignore:
Timestamp:
10/30/2013 04:03:14 PM (8 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-admin/network/edit.php and wp-admin/network/users.php.

Props aralbald for the initial patch.
Fixes #25728.

Location:
trunk/src/wp-admin/network
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/edit.php

    r25616 r25994  
    1919}
    2020
    21 do_action( 'wpmuadminedit' , '' );
     21/**
     22 * Fires just before the action handler in several Network Admin screens.
     23 *
     24 * This hook fires on multiple screens in the Multisite Network Admin,
     25 * including Users, Network Settings, and Site Settings.
     26 *
     27 * @since 3.0.0
     28 */
     29do_action( 'wpmuadminedit' );
    2230
    23 // Let plugins use us as a post handler easily
     31/**
     32 * Fires the requested handler action.
     33 *
     34 * The dynamic portion of the hook name, $_GET['action'], refers to the name
     35 * of the requested action.
     36 *
     37 * @since 3.1.0
     38 */
    2439do_action( 'network_admin_edit_' . $_GET['action'] );
    2540
  • trunk/src/wp-admin/network/sites.php

    r25616 r25994  
    5050
    5151if ( isset( $_GET['action'] ) ) {
    52     do_action( 'wpmuadminedit' , '' );
     52    /** This action is documented in wp-admin/network/edit.php */
     53    do_action( 'wpmuadminedit' );
    5354
    5455    if ( 'confirm' === $_GET['action'] ) {
  • trunk/src/wp-admin/network/users.php

    r25616 r25994  
    8888
    8989if ( isset( $_GET['action'] ) ) {
    90     do_action( 'wpmuadminedit' , '' );
     90    /** This action is documented in wp-admin/network/edit.php */
     91    do_action( 'wpmuadminedit' );
    9192
    9293    switch ( $_GET['action'] ) {
Note: See TracChangeset for help on using the changeset viewer.