diff --git a/wp-admin/edit-comments.php b/wp-admin/edit-comments.php index 7ec33bc3d1..a33f986b30 100644 --- a/wp-admin/edit-comments.php +++ b/wp-admin/edit-comments.php @@ -91,9 +91,9 @@ if ( $doaction ) { * * @since 4.7.0 * - * @param string $redirect_to The redirect URL. - * @param string $doaction The action being taken. - * @param array $comment_ids The comments to take the action on. + * @param string $redirect_url The redirect URL. + * @param string $doaction The action being taken. + * @param array $items The items to take the action on. */ $redirect_to = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $comment_ids ); } diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 2d8707fd32..44923d52b6 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -174,18 +174,7 @@ default: } check_admin_referer( 'bulk-tags' ); $tags = (array) $_REQUEST['delete_tags']; - /** - * Fires when a custom bulk action should be handled. - * - * The sendback link should be modified with success or failure feedback - * from the action to be used to display feedback to the user. - * - * @since 4.7.0 - * - * @param string $location The redirect URL. - * @param string $action The action being taken. - * @param array $tags The tag IDs to take the action on. - */ + /** This action is documented in wp-admin/edit-comments.php */ $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $wp_list_table->current_action(), $tags ); break; } diff --git a/wp-admin/edit.php b/wp-admin/edit.php index 820c7082bc..223e8b90ab 100644 --- a/wp-admin/edit.php +++ b/wp-admin/edit.php @@ -163,18 +163,7 @@ if ( $doaction ) { } break; default: - /** - * Fires when a custom bulk action should be handled. - * - * The sendback link should be modified with success or failure feedback - * from the action to be used to display feedback to the user. - * - * @since 4.7.0 - * - * @param string $sendback The redirect URL. - * @param string $doaction The action being taken. - * @param array $post_ids The post IDs to take the action on. - */ + /** This action is documented in wp-admin/edit-comments.php */ $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $post_ids ); break; } diff --git a/wp-admin/link-manager.php b/wp-admin/link-manager.php index f37ff6993e..25e4564597 100644 --- a/wp-admin/link-manager.php +++ b/wp-admin/link-manager.php @@ -31,18 +31,7 @@ if ( $doaction && isset( $_REQUEST['linkcheck'] ) ) { $redirect_to = add_query_arg( 'deleted', count( $bulklinks ), $redirect_to ); } else { - /** - * Fires when a custom bulk action should be handled. - * - * The redirect link should be modified with success or failure feedback - * from the action to be used to display feedback to the user. - * - * @since 4.7.0 - * - * @param string $redirect_to The redirect URL. - * @param string $doaction The action being taken. - * @param array $bulklinks The links to take the action on. - */ + /** This action is documented in wp-admin/edit-comments.php */ $redirect_to = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $bulklinks ); } wp_redirect( $redirect_to ); diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index c302af54a7..ae5ea58c50 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -363,20 +363,8 @@ if ( $action ) { $plugins = isset( $_POST['checked'] ) ? (array) $_POST['checked'] : array(); $sendback = wp_get_referer(); - /** - * Fires when a custom bulk action should be handled. - * - * The sendback link should be modified with success or failure feedback - * from the action to be used to display feedback to the user. - * - * @since 4.7.0 - * - * @param string $sendback The redirect URL. - * @param string $action The action being taken. - * @param array $plugins The plugins to take the action on. - */ + /** This action is documented in wp-admin/edit-comments.php */ $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $action, $plugins ); - wp_safe_redirect( $sendback ); exit; } diff --git a/wp-admin/upload.php b/wp-admin/upload.php index 90a13c9a92..80e73b4e7d 100644 --- a/wp-admin/upload.php +++ b/wp-admin/upload.php @@ -164,18 +164,7 @@ if ( $doaction ) { $location = add_query_arg( 'deleted', count( $post_ids ), $location ); break; default: - /** - * Fires when a custom bulk action should be handled. - * - * The redirect link should be modified with success or failure feedback - * from the action to be used to display feedback to the user. - * - * @since 4.7.0 - * - * @param string $location The redirect URL. - * @param string $doaction The action being taken. - * @param array $post_ids The posts to take the action on. - */ + /** This action is documented in wp-admin/edit-comments.php */ $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $doaction, $post_ids ); } diff --git a/wp-admin/users.php b/wp-admin/users.php index bf3799db69..30e29c9898 100644 --- a/wp-admin/users.php +++ b/wp-admin/users.php @@ -414,18 +414,7 @@ default: $userids = $_REQUEST['users']; $sendback = wp_get_referer(); - /** - * Fires when a custom bulk action should be handled. - * - * The sendback link should be modified with success or failure feedback - * from the action to be used to display feedback to the user. - * - * @since 4.7.0 - * - * @param string $sendback The redirect URL. - * @param string $action The action being taken. - * @param array $userids The users to take the action on. - */ + /** This action is documented in wp-admin/edit-comments.php */ $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $wp_list_table->current_action(), $userids ); wp_safe_redirect( $sendback ); diff --git a/wp-includes/version.php b/wp-includes/version.php index c1bae66e4a..d73968794d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-alpha-38957'; +$wp_version = '4.7-alpha-38958'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.