Make WordPress Core


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

    r38725 r38958  
    3232                $redirect_to = add_query_arg( 'deleted', count( $bulklinks ), $redirect_to );
    3333        } else {
    34                 /**
    35                  * Fires when a custom bulk action should be handled.
    36                  *
    37                  * The redirect link should be modified with success or failure feedback
    38                  * from the action to be used to display feedback to the user.
    39                  *
    40                  * @since 4.7.0
    41                  *
    42                  * @param string $redirect_to The redirect URL.
    43                  * @param string $doaction    The action being taken.
    44                  * @param array  $bulklinks   The links to take the action on.
    45                  */
     34                /** This action is documented in wp-admin/edit-comments.php */
    4635                $redirect_to = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $bulklinks );
    4736        }
Note: See TracChangeset for help on using the changeset viewer.