Changeset 3759 for trunk/wp-admin/comment.php
- Timestamp:
- 05/02/2006 10:36:06 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/comment.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/comment.php
r3721 r3759 90 90 91 91 case 'deletecomment': 92 93 check_admin_referer();94 95 92 $comment = (int) $_REQUEST['comment']; 93 check_admin_referer('delete-comment' . $comment); 94 96 95 $p = (int) $_REQUEST['p']; 97 96 if ( isset($_REQUEST['noredir']) ) { … … 124 123 125 124 case 'unapprovecomment': 126 127 check_admin_referer(); 128 129 $comment = (int) $_GET['comment']; 125 $comment = (int) $_GET['comment']; 126 check_admin_referer('unapprove-comment' . $comment); 127 130 128 $p = (int) $_GET['p']; 131 129 if (isset($_GET['noredir'])) { … … 152 150 153 151 case 'approvecomment': 154 155 check_admin_referer(); 156 157 $comment = (int) $_GET['comment']; 152 $comment = (int) $_GET['comment']; 153 check_admin_referer('approve-comment' . $comment); 154 158 155 $p = (int) $_GET['p']; 159 156 if (isset($_GET['noredir'])) { … … 185 182 case 'editedcomment': 186 183 187 check_admin_referer( );184 check_admin_referer('update-comment'); 188 185 189 186 edit_comment();
Note: See TracChangeset
for help on using the changeset viewer.