Add missing 'Moderate Comment' $title to comment.php. props MattyRob, fixes #14139.
git-svn-id: https://develop.svn.wordpress.org/trunk@15665 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
842f61b71e
commit
07a421af1f
@ -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…
x
Reference in New Issue
Block a user