Ticket #16031: 16031.patch
File 16031.patch, 2.4 KB (added by , 14 years ago) |
---|
-
wp-admin/edit-comments.php
72 72 wp_delete_comment( $comment_id ); 73 73 $deleted++; 74 74 break; 75 default: 76 do_action( 'do_bulk_action-comments-'. $doaction ); 77 break; 75 78 } 76 79 } 77 80 -
wp-admin/edit-tags.php
149 149 150 150 default: 151 151 152 do_action( 'do_bulk_action-tags-'. $doaction ); 152 153 if ( ! empty($_REQUEST['_wp_http_referer']) ) { 153 154 wp_redirect( remove_query_arg( array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']) ) ); 154 155 exit; -
wp-admin/edit.php
119 119 $sendback = add_query_arg( $done, $sendback ); 120 120 } 121 121 break; 122 default: 123 do_action( 'do_bulk_action-post-'. $doaction ); 124 break; 122 125 } 123 126 124 127 $sendback = remove_query_arg( array('action', 'action2', 'tags_input', 'post_author', 'comment_status', 'ping_status', '_status', 'post', 'bulk_edit', 'post_view'), $sendback ); -
wp-admin/link-manager.php
16 16 // Handle bulk deletes 17 17 $doaction = $wp_list_table->current_action(); 18 18 19 if( $doaction ){ 20 do_action( 'do_bulk_action-links-'. $doaction ); 21 } 19 22 if ( $doaction && isset( $_REQUEST['linkcheck'] ) ) { 20 23 check_admin_referer( 'bulk-bookmarks' ); 21 24 -
wp-admin/users.php
284 284 285 285 default: 286 286 287 do_action( 'do_bulk_action-users-'. $wp_list_table->current_action() ); 288 287 289 if ( !empty($_GET['_wp_http_referer']) ) { 288 290 wp_redirect(remove_query_arg(array('_wp_http_referer', '_wpnonce'), stripslashes($_SERVER['REQUEST_URI']))); 289 291 exit;