Make WordPress Core


Ignore:
Timestamp:
10/26/2016 02:44:57 PM (8 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/edit-tags.php

    r38752 r38958  
    175175    check_admin_referer( 'bulk-tags' );
    176176    $tags = (array) $_REQUEST['delete_tags'];
    177     /**
    178      * Fires when a custom bulk action should be handled.
    179      *
    180      * The sendback link should be modified with success or failure feedback
    181      * from the action to be used to display feedback to the user.
    182      *
    183      * @since 4.7.0
    184      *
    185      * @param string $location The redirect URL.
    186      * @param string $action   The action being taken.
    187      * @param array  $tags     The tag IDs to take the action on.
    188      */
     177    /** This action is documented in wp-admin/edit-comments.php */
    189178    $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $wp_list_table->current_action(), $tags );
    190179    break;
Note: See TracChangeset for help on using the changeset viewer.