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

    r38725 r38958  
    164164            break;
    165165        default:
    166             /**
    167              * Fires when a custom bulk action should be handled.
    168              *
    169              * The sendback link should be modified with success or failure feedback
    170              * from the action to be used to display feedback to the user.
    171              *
    172              * @since 4.7.0
    173              *
    174              * @param string $sendback The redirect URL.
    175              * @param string $doaction The action being taken.
    176              * @param array  $post_ids The post IDs to take the action on.
    177              */
     166            /** This action is documented in wp-admin/edit-comments.php */
    178167            $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $post_ids );
    179168            break;
Note: See TracChangeset for help on using the changeset viewer.