WordPress.org

Make WordPress Core

Changeset 7391


Ignore:
Timestamp:
03/18/2008 11:24:04 PM (12 years ago)
Author:
markjaquith
Message:

moderation.php is no more. All hail edit-comments.php?comment_status=moderated

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit-form-comment.php

    r7325 r7391  
    5656<ul>
    5757<li><a href="edit-comments.php"><?php _e('Manage All Comments') ?></a></li>
    58 <li><a href="moderation.php"><?php _e('Moderate Comments') ?></a></li>
     58<li><a href="edit-comments.php?comment_status=moderated"><?php _e('Moderate Comments') ?></a></li>
    5959<?php do_action('comment_relatedlinks_list'); ?>
    6060</ul>
  • trunk/wp-admin/includes/comment.php

    r7338 r7391  
    8989}
    9090
    91 if ( is_admin() && ('edit-comments.php' == $pagenow || 'moderation.php' == $pagenow || 'edit.php' == $pagenow) ) {
     91if ( is_admin() && ('edit-comments.php' == $pagenow || 'edit.php' == $pagenow) ) {
    9292    if ( get_option('show_avatars') )
    9393        add_filter( 'comment_author', 'floated_admin_avatar' );
  • trunk/wp-admin/includes/dashboard.php

    r7382 r7391  
    2525    if ( current_user_can( 'moderate_comments' ) && $mod_comments = $wpdb->get_var("SELECT COUNT(*) FROM $wpdb->comments WHERE comment_approved = '0'") ) {
    2626        $notice = sprintf( __ngettext( '%d comment awaiting moderation', '%d comments awaiting moderation', $mod_comments ), $mod_comments );
    27         $notice = "<a href='moderation.php'>$notice</a>";
     27        $notice = "<a href='edit-comments.php?comment_status=moderated'>$notice</a>";
    2828    } else {
    2929        $notice = '';
  • trunk/wp-admin/options-discussion.php

    r7000 r7391  
    6060<p><?php printf(__('Hold a comment in the queue if it contains %s or more links. (A common characteristic of comment spam is a large number of hyperlinks.)'), '<input name="comment_max_links" type="text" id="comment_max_links" size="3" value="' . get_option('comment_max_links'). '" />' ) ?></p>
    6161
    62 <p><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="moderation.php">moderation queue</a>. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></p>
     62<p><?php _e('When a comment contains any of these words in its content, name, URL, e-mail, or IP, it will be held in the <a href="edit-comments.php?comment_status=moderated">moderation queue</a>. One word or IP per line. It will match inside words, so "press" will match "WordPress".') ?></p>
    6363<p>
    6464<textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php form_option('moderation_keys'); ?></textarea>
  • trunk/wp-includes/pluggable.php

    r7376 r7391  
    896896    $strCommentsPending = sprintf( __ngettext('%s comment', '%s comments', $comments_waiting), $comments_waiting );
    897897    $notify_message .= sprintf( __('Currently %s are waiting for approval. Please visit the moderation panel:'), $strCommentsPending ) . "\r\n";
    898     $notify_message .= get_option('siteurl') . "/wp-admin/moderation.php\r\n";
     898    $notify_message .= get_option('siteurl') . "/wp-admin/edit-comments.php?comment_status=moderated\r\n";
    899899
    900900    $subject = sprintf( __('[%1$s] Please moderate: "%2$s"'), get_option('blogname'), $post->post_title );
Note: See TracChangeset for help on using the changeset viewer.