Changeset 2720 for trunk/wp-admin/edit.php
- Timestamp:
- 07/17/2005 07:29:55 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r2714 r2720 7 7 8 8 $_GET['m'] = (int) $_GET['m']; 9 10 get_currentuserinfo();11 9 12 10 $drafts = get_users_drafts( $user_ID ); … … 256 254 echo "[ <a href=\"post.php?action=editcomment&comment=".$comment->comment_ID."\">" . __('Edit') . "</a>"; 257 255 echo " - <a href=\"post.php?action=deletecomment&p=".$post->ID."&comment=".$comment->comment_ID."\" onclick=\"return confirm('" . sprintf(__("You are about to delete this comment by \'%s\'\\n \'OK\' to delete, \'Cancel\' to stop."), $comment->comment_author) . "')\">" . __('Delete') . "</a> "; 258 if ( ('none' != $comment_status) && ( $user_level >= 3) ) {256 if ( ('none' != $comment_status) && ( current_user_can('moderate_comments') ) ) { 259 257 if ('approved' == wp_get_comment_status($comment->comment_ID)) { 260 258 echo " - <a href=\"post.php?action=unapprovecomment&p=".$post->ID."&comment=".$comment->comment_ID."\">" . __('Unapprove') . "</a> ";
Note: See TracChangeset
for help on using the changeset viewer.