Changeset 3517 for trunk/wp-admin/list-manipulation.php
- Timestamp:
- 02/12/2006 07:53:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/list-manipulation.php
r3379 r3517 55 55 if ( !$comment = get_comment($id) ) 56 56 die('0'); 57 if ( !current_user_can('edit_post', $comment->comment_post_ID) ) 57 if ( !current_user_can('edit_post', $comment->comment_post_ID) ) 58 58 die('-1'); 59 59 … … 78 78 } 79 79 break; 80 endswitch; 80 endswitch; 81 81 ?>
Note: See TracChangeset
for help on using the changeset viewer.