Changeset 2703 for trunk/wp-admin/post.php
- Timestamp:
- 07/11/2005 10:39:50 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/post.php
r2702 r2703 67 67 $post_ID = $p = (int) $_GET['post']; 68 68 69 if ( ! user_can_edit_post($user_ID, $post_ID) )69 if ( !current_user_can('edit_post', $post_ID) ) 70 70 die ( __('You are not allowed to edit this post.') ); 71 71
Note: See TracChangeset
for help on using the changeset viewer.