Changeset 2714 for trunk/wp-admin/edit.php
- Timestamp:
- 07/15/2005 02:16:45 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/edit.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit.php
r2709 r2714 253 253 <?php comment_time('g:m:s a') ?> 254 254 <?php 255 if ( ($user_level > $authordata->user_level) or ($user_login == $authordata->user_login)) {255 if ( current_user_can('edit_post', $post->ID) ) { 256 256 echo "[ <a href=\"post.php?action=editcomment&comment=".$comment->comment_ID."\">" . __('Edit') . "</a>"; 257 257 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> ";
Note: See TracChangeset
for help on using the changeset viewer.