From 5f49b025aa3aa45e4abba1c80513e715dae2fd9b Mon Sep 17 00:00:00 2001 From: Jake Spurlock Date: Tue, 16 Jun 2020 00:54:28 +0000 Subject: [PATCH] Code Standards: Cleanup some code spacing. See: #37826 and #44286. git-svn-id: https://develop.svn.wordpress.org/trunk@48052 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/comment.php | 2 +- src/wp-admin/nav-menus.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/comment.php b/src/wp-admin/comment.php index ef2d1d628e..bdd326ecf1 100644 --- a/src/wp-admin/comment.php +++ b/src/wp-admin/comment.php @@ -38,7 +38,7 @@ if ( isset( $_GET['dt'] ) ) { // Prevent actions on a comment associated with a trashed post. $comment_id = absint( $_GET['c'] ); -$comment = get_comment( $comment_id ); +$comment = get_comment( $comment_id ); if ( 'trash' === get_post_status( $comment->comment_post_ID ) ) { wp_die( diff --git a/src/wp-admin/nav-menus.php b/src/wp-admin/nav-menus.php index b9aee875f1..24fc03a31b 100644 --- a/src/wp-admin/nav-menus.php +++ b/src/wp-admin/nav-menus.php @@ -358,7 +358,7 @@ switch ( $action ) { $messages[] = '

' . __( 'Please enter a valid menu name.' ) . '

'; } - // Update existing menu. + // Update existing menu. } else { // Remove menu locations that have been unchecked. foreach ( $locations as $location => $description ) {