Changeset 12247 for trunk/wp-admin/page.php
- Timestamp:
- 11/20/2009 08:12:01 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/page.php
r12182 r12247 151 151 $post = & get_post($post_id); 152 152 153 if ( !current_user_can('delete_page', $p age_id) )153 if ( !current_user_can('delete_page', $post_id) ) 154 154 wp_die( __('You are not allowed to move this page to the trash.') ); 155 155 … … 173 173 $post = & get_post($post_id); 174 174 175 if ( !current_user_can('delete_page', $p age_id) )175 if ( !current_user_can('delete_page', $post_id) ) 176 176 wp_die( __('You are not allowed to move this page out of the trash.') ); 177 177
Note: See TracChangeset
for help on using the changeset viewer.