Changeset 7130 for trunk/wp-includes/pluggable.php
- Timestamp:
- 03/02/2008 08:17:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/pluggable.php
r7096 r7130 651 651 $nonce = $_REQUEST['_ajax_nonce'] ? $_REQUEST['_ajax_nonce'] : $_REQUEST['_wpnonce']; 652 652 653 if ( !wp_verify_nonce( $nonce, $action ) ) 653 if ( !wp_verify_nonce( $nonce, $action ) ) 654 654 die('-1'); 655 655 … … 857 857 $comments_waiting = $wpdb->get_var("SELECT count(comment_ID) FROM $wpdb->comments WHERE comment_approved = '0'"); 858 858 859 switch ($comment->comment_type) 859 switch ($comment->comment_type) 860 860 { 861 861 case 'trackback': … … 883 883 break; 884 884 } 885 885 886 886 $notify_message .= sprintf( __('Approve it: %s'), get_option('siteurl')."/wp-admin/comment.php?action=mac&c=$comment_id" ) . "\r\n"; 887 887 $notify_message .= sprintf( __('Delete it: %s'), get_option('siteurl')."/wp-admin/comment.php?action=cdc&c=$comment_id" ) . "\r\n"; 888 888 $notify_message .= sprintf( __('Spam it: %s'), get_option('siteurl')."/wp-admin/comment.php?action=cdc&dt=spam&c=$comment_id" ) . "\r\n"; 889 889 890 890 $strCommentsPending = sprintf( __ngettext('%s comment', '%s comments', $comments_waiting), $comments_waiting ); 891 891 $notify_message .= sprintf( __('Currently %s are waiting for approval. Please visit the moderation panel:'), $strCommentsPending ) . "\r\n";
Note: See TracChangeset
for help on using the changeset viewer.