Changeset 1862 for trunk/wp-admin/moderation.php
- Timestamp:
- 11/18/2004 07:51:31 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/moderation.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/moderation.php
r1818 r1862 75 75 require_once('admin-header.php'); 76 76 77 if ($user_level <= 3) {78 die(__('<p>Your level is not high enough to moderate comments.</p>'));79 }80 81 77 if (isset($deleted) || isset($approved) || isset($ignored)) { 82 78 echo "<div class='updated'>\n<p>"; … … 108 104 109 105 <div class="wrap"> 106 110 107 <?php 111 $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_approved = '0'"); 108 if ($user_level > 3) 109 $comments = $wpdb->get_results("SELECT * FROM $wpdb->comments WHERE comment_approved = '0'"); 110 else 111 $comments = ''; 112 112 113 113 if ($comments) { … … 153 153 } else { 154 154 // nothing to approve 155 echo __("<p>Currently there are no comments to be approved.</p>") . "\n";155 echo __("<p>Currently there are no comments for you to moderate.</p>") . "\n"; 156 156 } 157 157 ?>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)