Coding Standards: Various brace indentation corrections.

Props mukesh27.
Fixes #57210.
See #56791.

Built from https://develop.svn.wordpress.org/trunk@54881


git-svn-id: http://core.svn.wordpress.org/trunk@54433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-11-26 21:01:17 +00:00
parent 00c3bea83b
commit a73fc6c084
8 changed files with 15 additions and 8 deletions

View File

@ -519,7 +519,8 @@ function export_wp( $args = array() ) {
<?php endforeach; ?> <?php endforeach; ?>
<?php <?php
if ( 'all' === $args['content'] ) { if ( 'all' === $args['content'] ) {
wxr_nav_menu_terms();} wxr_nav_menu_terms();
}
?> ?>
<?php <?php

View File

@ -2393,7 +2393,8 @@ function request_filesystem_credentials( $form_post, $type = '', $error = false,
<input name="password" type="password" id="password" value="<?php echo $password_value; ?>"<?php disabled( defined( 'FTP_PASS' ) ); ?> /> <input name="password" type="password" id="password" value="<?php echo $password_value; ?>"<?php disabled( defined( 'FTP_PASS' ) ); ?> />
<?php <?php
if ( ! defined( 'FTP_PASS' ) ) { if ( ! defined( 'FTP_PASS' ) ) {
_e( 'This password will not be stored on the server.' );} _e( 'This password will not be stored on the server.' );
}
?> ?>
</label> </label>
</div> </div>

View File

@ -71,7 +71,8 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
<?php _e( 'Users must be registered and logged in to comment' ); ?> <?php _e( 'Users must be registered and logged in to comment' ); ?>
<?php <?php
if ( ! get_option( 'users_can_register' ) && is_multisite() ) { if ( ! get_option( 'users_can_register' ) && is_multisite() ) {
echo ' ' . __( '(Signup has been disabled. Only members of this site can comment.)' );} echo ' ' . __( '(Signup has been disabled. Only members of this site can comment.)' );
}
?> ?>
</label> </label>
<br /> <br />

View File

@ -221,7 +221,8 @@ if ( $file_description !== $file_show ) {
<?php <?php
echo $theme->display( 'Name' ); echo $theme->display( 'Name' );
if ( $description ) { if ( $description ) {
echo ': ' . $description;} echo ': ' . $description;
}
?> ?>
</h2> </h2>
</div> </div>

View File

@ -93,7 +93,8 @@ while ( have_comments() ) :
<name><?php comment_author_rss(); ?></name> <name><?php comment_author_rss(); ?></name>
<?php <?php
if ( get_comment_author_url() ) { if ( get_comment_author_url() ) {
echo '<uri>' . get_comment_author_url() . '</uri>';} echo '<uri>' . get_comment_author_url() . '</uri>';
}
?> ?>
</author> </author>

View File

@ -43,7 +43,8 @@ _deprecated_file(
<?php <?php
if ( is_singular() ) { if ( is_singular() ) {
wp_enqueue_script( 'comment-reply' );} wp_enqueue_script( 'comment-reply' );
}
?> ?>
<?php wp_head(); ?> <?php wp_head(); ?>

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.2-alpha-54878'; $wp_version = '6.2-alpha-54881';
/** /**
* 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.

View File

@ -83,7 +83,8 @@ foreach ( (array) $cats as $cat ) :
<outline text="<?php echo esc_attr( $title ); ?>" type="link" xmlUrl="<?php echo esc_url( $bookmark->link_rss ); ?>" htmlUrl="<?php echo esc_url( $bookmark->link_url ); ?>" updated=" <outline text="<?php echo esc_attr( $title ); ?>" type="link" xmlUrl="<?php echo esc_url( $bookmark->link_rss ); ?>" htmlUrl="<?php echo esc_url( $bookmark->link_url ); ?>" updated="
<?php <?php
if ( '0000-00-00 00:00:00' !== $bookmark->link_updated ) { if ( '0000-00-00 00:00:00' !== $bookmark->link_updated ) {
echo $bookmark->link_updated;} echo $bookmark->link_updated;
}
?> ?>
" /> " />
<?php <?php