Make WordPress Core


Ignore:
Timestamp:
10/26/2016 02:36:06 PM (8 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/themes.php

    r38721 r38957  
    201201            check_admin_referer( 'bulk-themes' );
    202202
    203             /**
    204              * Fires when a custom bulk action should be handled.
    205              *
    206              * The redirect link should be modified with success or failure feedback
    207              * from the action to be used to display feedback to the user.
    208              *
    209              * @since 4.7.0
    210              *
    211              * @param string $referer   The redirect URL.
    212              * @param string $action    The action being taken.
    213              * @param array  $themes    The themes to take the action on.
    214              */
    215             $referer = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $referer, $action, $themes );
     203            /** This action is documented in wp-admin/network/site-themes.php */
     204            $referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $themes );
    216205
    217206            wp_safe_redirect( $referer );
Note: See TracChangeset for help on using the changeset viewer.