Make WordPress Core


Ignore:
Timestamp:
10/26/2016 02:44:57 PM (7 years ago)
Author:
johnbillion
Message:

Administration: Standardise the docblocks for the handle_bulk_actions-* filters.

Props ericlewis, Veraxus
Fixes #16031

File:
1 edited

Legend:

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

    r38723 r38958  
    415415        $sendback = wp_get_referer();
    416416
    417         /**
    418          * Fires when a custom bulk action should be handled.
    419          *
    420          * The sendback link should be modified with success or failure feedback
    421          * from the action to be used to display feedback to the user.
    422          *
    423          * @since 4.7.0
    424          *
    425          * @param string $sendback The redirect URL.
    426          * @param string $action   The action being taken.
    427          * @param array  $userids  The users to take the action on.
    428          */
     417        /** This action is documented in wp-admin/edit-comments.php */
    429418        $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $wp_list_table->current_action(), $userids );
    430419
Note: See TracChangeset for help on using the changeset viewer.