WordPress.org

Make WordPress Core

Ticket #25728: 25728.diff

File 25728.diff, 1.2 KB (added by aralbald, 8 years ago)
  • src/wp-admin/network/edit.php

     
    1818        exit;
    1919}
    2020
    21 do_action( 'wpmuadminedit' , '' );
     21/**
     22 * Fires when the user makes a change in the Multisite Network Admin.
     23 *
     24 * @since 3.0.0
     25 */
     26do_action( 'wpmuadminedit' );
    2227
    23 // Let plugins use us as a post handler easily
     28/**
     29 * Fires the requested handler action
     30 *
     31 * The dynamic portion of the hook name, $_GET['action'],
     32 * refers to the name of the action being fired
     33 *
     34 * @since 3.1.0
     35 */
    2436do_action( 'network_admin_edit_' . $_GET['action'] );
    2537
    2638wp_redirect( network_admin_url() );
  • src/wp-admin/network/users.php

     
    8787}
    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'] ) {
    9394                case 'deleteuser':