Coding Standards: Use consistent markup for line break tags on `update-core.php`.
This changeset replaces <br/> with <br /> on various places, as per WordPress Coding Standards. See https://developer.wordpress.org/coding-standards/wordpress-coding-standards/html/#self-closing-elements Follow-up to [54062]. Props rajanpanchal2028, alberuni-azad, sabernhardt. Fixes #57226. See #56791. Built from https://develop.svn.wordpress.org/trunk@54897 git-svn-id: http://core.svn.wordpress.org/trunk@54449 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
653c410859
commit
96134499ff
|
@ -402,7 +402,7 @@ function core_auto_updates_settings() {
|
||||||
_e( 'This site is automatically kept up to date with each new version of WordPress.' );
|
_e( 'This site is automatically kept up to date with each new version of WordPress.' );
|
||||||
|
|
||||||
if ( $can_set_update_option ) {
|
if ( $can_set_update_option ) {
|
||||||
echo '<br>';
|
echo '<br />';
|
||||||
printf(
|
printf(
|
||||||
'<a href="%s" class="core-auto-update-settings-link core-auto-update-settings-link-disable">%s</a>',
|
'<a href="%s" class="core-auto-update-settings-link core-auto-update-settings-link-disable">%s</a>',
|
||||||
wp_nonce_url( add_query_arg( 'value', 'disable', $action_url ), 'core-major-auto-updates-nonce' ),
|
wp_nonce_url( add_query_arg( 'value', 'disable', $action_url ), 'core-major-auto-updates-nonce' ),
|
||||||
|
@ -413,7 +413,7 @@ function core_auto_updates_settings() {
|
||||||
_e( 'This site is automatically kept up to date with maintenance and security releases of WordPress only.' );
|
_e( 'This site is automatically kept up to date with maintenance and security releases of WordPress only.' );
|
||||||
|
|
||||||
if ( $can_set_update_option ) {
|
if ( $can_set_update_option ) {
|
||||||
echo '<br>';
|
echo '<br />';
|
||||||
printf(
|
printf(
|
||||||
'<a href="%s" class="core-auto-update-settings-link core-auto-update-settings-link-enable">%s</a>',
|
'<a href="%s" class="core-auto-update-settings-link core-auto-update-settings-link-enable">%s</a>',
|
||||||
wp_nonce_url( add_query_arg( 'value', 'enable', $action_url ), 'core-major-auto-updates-nonce' ),
|
wp_nonce_url( add_query_arg( 'value', 'enable', $action_url ), 'core-major-auto-updates-nonce' ),
|
||||||
|
@ -535,7 +535,7 @@ function list_plugin_updates() {
|
||||||
$compatible_php = is_php_version_compatible( $requires_php );
|
$compatible_php = is_php_version_compatible( $requires_php );
|
||||||
|
|
||||||
if ( ! $compatible_php && current_user_can( 'update_php' ) ) {
|
if ( ! $compatible_php && current_user_can( 'update_php' ) ) {
|
||||||
$compat .= '<br>' . __( 'This update does not work with your version of PHP.' ) . ' ';
|
$compat .= '<br />' . __( 'This update does not work with your version of PHP.' ) . ' ';
|
||||||
$compat .= sprintf(
|
$compat .= sprintf(
|
||||||
/* translators: %s: URL to Update PHP page. */
|
/* translators: %s: URL to Update PHP page. */
|
||||||
__( '<a href="%s">Learn more about updating PHP</a>.' ),
|
__( '<a href="%s">Learn more about updating PHP</a>.' ),
|
||||||
|
@ -681,7 +681,7 @@ function list_theme_updates() {
|
||||||
$compat = '';
|
$compat = '';
|
||||||
|
|
||||||
if ( ! $compatible_wp && ! $compatible_php ) {
|
if ( ! $compatible_wp && ! $compatible_php ) {
|
||||||
$compat .= '<br>' . __( 'This update does not work with your versions of WordPress and PHP.' ) . ' ';
|
$compat .= '<br />' . __( 'This update does not work with your versions of WordPress and PHP.' ) . ' ';
|
||||||
if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
|
if ( current_user_can( 'update_core' ) && current_user_can( 'update_php' ) ) {
|
||||||
$compat .= sprintf(
|
$compat .= sprintf(
|
||||||
/* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
|
/* translators: 1: URL to WordPress Updates screen, 2: URL to Update PHP page. */
|
||||||
|
@ -715,7 +715,7 @@ function list_theme_updates() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} elseif ( ! $compatible_wp ) {
|
} elseif ( ! $compatible_wp ) {
|
||||||
$compat .= '<br>' . __( 'This update does not work with your version of WordPress.' ) . ' ';
|
$compat .= '<br />' . __( 'This update does not work with your version of WordPress.' ) . ' ';
|
||||||
if ( current_user_can( 'update_core' ) ) {
|
if ( current_user_can( 'update_core' ) ) {
|
||||||
$compat .= sprintf(
|
$compat .= sprintf(
|
||||||
/* translators: %s: URL to WordPress Updates screen. */
|
/* translators: %s: URL to WordPress Updates screen. */
|
||||||
|
@ -724,7 +724,7 @@ function list_theme_updates() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
} elseif ( ! $compatible_php ) {
|
} elseif ( ! $compatible_php ) {
|
||||||
$compat .= '<br>' . __( 'This update does not work with your version of PHP.' ) . ' ';
|
$compat .= '<br />' . __( 'This update does not work with your version of PHP.' ) . ' ';
|
||||||
if ( current_user_can( 'update_php' ) ) {
|
if ( current_user_can( 'update_php' ) ) {
|
||||||
$compat .= sprintf(
|
$compat .= sprintf(
|
||||||
/* translators: %s: URL to Update PHP page. */
|
/* translators: %s: URL to Update PHP page. */
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.2-alpha-54896';
|
$wp_version = '6.2-alpha-54897';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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