Make WordPress Core


Ignore:
Timestamp:
10/26/2016 02:36:06 PM (10 years ago)
Author:
johnbillion
Message:

Administration: Switch to handle_network_bulk_actions-{$screen} for the bulk listing screen actions in the network admin area.

Props ericlewis, Veraxus
See #16031

File:
1 edited

Legend:

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

    r38824 r38957  
    171171                        check_admin_referer( 'bulk-users' );
    172172                        $userids = $_REQUEST['users'];
    173                         /**
    174                          * Fires when a custom bulk action should be handled.
    175                          *
    176                          * The redirect link should be modified with success or failure feedback
    177                          * from the action to be used to display feedback to the user.
    178                          *
    179                          * @since 4.7.0
    180                          *
    181                          * @param string $referer The redirect URL.
    182                          * @param string $action  The action being taken.
    183                          * @param array  $userids The users to take the action on.
    184                          * @param int    $id      The id of the current site
    185                          */
    186                         $referer = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $referer, $action, $userids, $id );
     173                        /** This action is documented in wp-admin/network/site-themes.php */
     174                        $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $userids, $id );
    187175                        $update = $action;
    188176                        break;
Note: See TracChangeset for help on using the changeset viewer.