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/users.php

    r38814 r38957  
    9595
    9696                                        $user_ids = (array) $_POST['allusers'];
    97                                         /**
    98                                          * Fires when a custom bulk action should be handled.
    99                                          *
    100                                          * The sendback link should be modified with success or failure feedback
    101                                          * from the action to be used to display feedback to the user.
    102                                          *
    103                                          * @since 4.7.0
    104                                          *
    105                                          * @param string $sendback The redirect URL.
    106                                          * @param string $doaction The action being taken.
    107                                          * @param array  $user_ids The users to take the action on.
    108                                          */
    109                                         $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $user_ids );
     97                                        /** This action is documented in wp-admin/network/site-themes.php */
     98                                        $sendback = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $user_ids );
    11099
    111100                                        wp_safe_redirect( $sendback );
Note: See TracChangeset for help on using the changeset viewer.