Changeset 33431
- Timestamp:
- 07/26/2015 10:47:05 PM (11 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
-
post.php (modified) (1 diff)
-
upload.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/post.php
r33357 r33431 279 279 280 280 if ( ! current_user_can( 'delete_post', $post_id ) ) 281 wp_die( __( 'You are not allowed to move this item out ofthe Trash.' ) );281 wp_die( __( 'You are not allowed to restore this item from the Trash.' ) ); 282 282 283 283 if ( ! wp_untrash_post( $post_id ) ) -
trunk/src/wp-admin/upload.php
r33067 r33431 130 130 131 131 if ( !wp_trash_post( $post_id ) ) 132 wp_die( __( 'Error in moving to trash.' ) );132 wp_die( __( 'Error in moving to Trash.' ) ); 133 133 } 134 134 $location = add_query_arg( array( 'trashed' => count( $post_ids ), 'ids' => join( ',', $post_ids ) ), $location ); … … 142 142 143 143 if ( !wp_untrash_post( $post_id ) ) 144 wp_die( __( 'Error in restoring from trash.' ) );144 wp_die( __( 'Error in restoring from Trash.' ) ); 145 145 } 146 146 $location = add_query_arg( 'untrashed', count( $post_ids ), $location );
Note: See TracChangeset
for help on using the changeset viewer.