Docs: Improve inline comments per the documentation standards.
Includes minor code layout fixes for better readability. See #48303. Built from https://develop.svn.wordpress.org/trunk@47122 git-svn-id: http://core.svn.wordpress.org/trunk@46922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -137,7 +137,7 @@ switch ( $action ) {
|
||||
break;
|
||||
}
|
||||
|
||||
if ( $comment->comment_approved != '0' ) { // if not unapproved
|
||||
if ( $comment->comment_approved != '0' ) { // If not unapproved.
|
||||
$message = '';
|
||||
switch ( $comment->comment_approved ) {
|
||||
case '1':
|
||||
@@ -355,6 +355,6 @@ switch ( $action ) {
|
||||
default:
|
||||
wp_die( __( 'Unknown action.' ) );
|
||||
|
||||
} // end switch
|
||||
} // End switch.
|
||||
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
|
||||
Reference in New Issue
Block a user