Changeset 38958
- Timestamp:
- 10/26/2016 02:44:57 PM (8 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-comments.php
r38718 r38958 92 92 * @since 4.7.0 93 93 * 94 * @param string $redirect_ toThe redirect URL.95 * @param string $doaction The action being taken.96 * @param array $ comment_ids The comments to take the action on.94 * @param string $redirect_url The redirect URL. 95 * @param string $doaction The action being taken. 96 * @param array $items The items to take the action on. 97 97 */ 98 98 $redirect_to = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $comment_ids ); -
trunk/src/wp-admin/edit-tags.php
r38752 r38958 175 175 check_admin_referer( 'bulk-tags' ); 176 176 $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 */ 189 178 $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $wp_list_table->current_action(), $tags ); 190 179 break; -
trunk/src/wp-admin/edit.php
r38725 r38958 164 164 break; 165 165 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 */ 178 167 $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $doaction, $post_ids ); 179 168 break; -
trunk/src/wp-admin/link-manager.php
r38725 r38958 32 32 $redirect_to = add_query_arg( 'deleted', count( $bulklinks ), $redirect_to ); 33 33 } 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 */ 46 35 $redirect_to = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $redirect_to, $doaction, $bulklinks ); 47 36 } -
trunk/src/wp-admin/plugins.php
r38722 r38958 364 364 $sendback = wp_get_referer(); 365 365 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 */ 378 367 $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $action, $plugins ); 379 380 368 wp_safe_redirect( $sendback ); 381 369 exit; -
trunk/src/wp-admin/upload.php
r38722 r38958 165 165 break; 166 166 default: 167 /** 168 * Fires when a custom bulk action should be handled. 169 * 170 * The redirect link should be modified with success or failure feedback 171 * from the action to be used to display feedback to the user. 172 * 173 * @since 4.7.0 174 * 175 * @param string $location The redirect URL. 176 * @param string $doaction The action being taken. 177 * @param array $post_ids The posts to take the action on. 178 */ 167 /** This action is documented in wp-admin/edit-comments.php */ 179 168 $location = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $location, $doaction, $post_ids ); 180 169 } -
trunk/src/wp-admin/users.php
r38723 r38958 415 415 $sendback = wp_get_referer(); 416 416 417 /** 418 * Fires when a custom bulk action should be handled. 419 * 420 * The sendback link should be modified with success or failure feedback 421 * from the action to be used to display feedback to the user. 422 * 423 * @since 4.7.0 424 * 425 * @param string $sendback The redirect URL. 426 * @param string $action The action being taken. 427 * @param array $userids The users to take the action on. 428 */ 417 /** This action is documented in wp-admin/edit-comments.php */ 429 418 $sendback = apply_filters( 'handle_bulk_actions-' . get_current_screen()->id, $sendback, $wp_list_table->current_action(), $userids ); 430 419
Note: See TracChangeset
for help on using the changeset viewer.