Code Standards: Cleanup some code spacing.
See: #37826 and #44286. Built from https://develop.svn.wordpress.org/trunk@48052 git-svn-id: http://core.svn.wordpress.org/trunk@47819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d3c44a690d
commit
ccf534dc48
|
@ -38,7 +38,7 @@ if ( isset( $_GET['dt'] ) ) {
|
||||||
|
|
||||||
// Prevent actions on a comment associated with a trashed post.
|
// Prevent actions on a comment associated with a trashed post.
|
||||||
$comment_id = absint( $_GET['c'] );
|
$comment_id = absint( $_GET['c'] );
|
||||||
$comment = get_comment( $comment_id );
|
$comment = get_comment( $comment_id );
|
||||||
|
|
||||||
if ( 'trash' === get_post_status( $comment->comment_post_ID ) ) {
|
if ( 'trash' === get_post_status( $comment->comment_post_ID ) ) {
|
||||||
wp_die(
|
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>';
|
$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 {
|
} else {
|
||||||
// Remove menu locations that have been unchecked.
|
// Remove menu locations that have been unchecked.
|
||||||
foreach ( $locations as $location => $description ) {
|
foreach ( $locations as $location => $description ) {
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.5-alpha-48051';
|
$wp_version = '5.5-alpha-48052';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue