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

    r38722 r38958  
    364364                $sendback = wp_get_referer();
    365365
    366                 /**
    367                  * Fires when a custom bulk action should be handled.
    368                  *
    369                  * The sendback link should be modified with success or failure feedback
    370                  * from the action to be used to display feedback to the user.
    371                  *
    372                  * @since 4.7.0
    373                  *
    374                  * @param string $sendback The redirect URL.
    375                  * @param string $action   The action being taken.
    376                  * @param array  $plugins  The plugins to take the action on.
    377                  */
     366                /** This action is documented in wp-admin/edit-comments.php */
    378367                $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $action, $plugins );
    379 
    380368                wp_safe_redirect( $sendback );
    381369                exit;
Note: See TracChangeset for help on using the changeset viewer.