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
This commit is contained in:
parent
5cb54881e8
commit
5f49b025aa
@ -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(
|
||||
|
@ -358,7 +358,7 @@ switch ( $action ) {
|
||||
$messages[] = '<div id="message" class="error notice is-dismissible"><p>' . __( 'Please enter a valid menu name.' ) . '</p></div>';
|
||||
}
|
||||
|
||||
// Update existing menu.
|
||||
// Update existing menu.
|
||||
} else {
|
||||
// Remove menu locations that have been unchecked.
|
||||
foreach ( $locations as $location => $description ) {
|
||||
|
Loading…
Reference in New Issue
Block a user