Add missing 'Moderate Comment' $title to comment.php. props MattyRob, fixes #14139.
git-svn-id: http://svn.automattic.com/wordpress/trunk@15665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b205913daa
commit
cb5fcf636b
|
@ -77,6 +77,8 @@ case 'approve' :
|
||||||
case 'trash' :
|
case 'trash' :
|
||||||
case 'spam' :
|
case 'spam' :
|
||||||
|
|
||||||
|
$title = __('Moderate Comment');
|
||||||
|
|
||||||
$comment_id = absint( $_GET['c'] );
|
$comment_id = absint( $_GET['c'] );
|
||||||
|
|
||||||
if ( !$comment = get_comment_to_edit( $comment_id ) ) {
|
if ( !$comment = get_comment_to_edit( $comment_id ) ) {
|
||||||
|
@ -107,7 +109,7 @@ case 'spam' :
|
||||||
<div class="narrow">
|
<div class="narrow">
|
||||||
|
|
||||||
<?php screen_icon(); ?>
|
<?php screen_icon(); ?>
|
||||||
<h2><?php esc_html_e( 'Moderate Comment' ); ?></h2>
|
<h2><?php esc_html( $title ); ?></h2>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
switch ( $action ) {
|
switch ( $action ) {
|
||||||
|
|
Loading…
Reference in New Issue