Changeset 33734 for trunk/src/wp-admin/edit.php
- Timestamp:
- 08/25/2015 08:27:56 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit.php
r33067 r33734 93 93 $trashed = $locked = 0; 94 94 95 foreach ( (array) $post_ids as $post_id ) {95 foreach ( (array) $post_ids as $post_id ) { 96 96 if ( !current_user_can( 'delete_post', $post_id) ) 97 97 wp_die( __('You are not allowed to move this item to the Trash.') ); … … 112 112 case 'untrash': 113 113 $untrashed = 0; 114 foreach ( (array) $post_ids as $post_id ) {114 foreach ( (array) $post_ids as $post_id ) { 115 115 if ( !current_user_can( 'delete_post', $post_id) ) 116 116 wp_die( __('You are not allowed to restore this item from the Trash.') ); … … 125 125 case 'delete': 126 126 $deleted = 0; 127 foreach ( (array) $post_ids as $post_id ) {127 foreach ( (array) $post_ids as $post_id ) { 128 128 $post_del = get_post($post_id); 129 129
Note: See TracChangeset
for help on using the changeset viewer.