wordpress update 6.6.2
This commit is contained in:
@@ -43,7 +43,32 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
||||
|
||||
<div class="about__section changelog has-subtle-background-color">
|
||||
<div class="column">
|
||||
<h2><?php _e( 'Maintenance and Security Release' ); ?></h2>
|
||||
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: 1: WordPress version number, 2: Plural number of bugs. */
|
||||
_n(
|
||||
'<strong>Version %1$s</strong> addressed %2$s bug.',
|
||||
'<strong>Version %1$s</strong> addressed %2$s bugs.',
|
||||
26
|
||||
),
|
||||
'6.6.2',
|
||||
'26'
|
||||
);
|
||||
?>
|
||||
<?php
|
||||
printf(
|
||||
/* translators: %s: HelpHub URL. */
|
||||
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||
sprintf(
|
||||
/* translators: %s: WordPress version. */
|
||||
esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ),
|
||||
sanitize_title( '6.6.2' )
|
||||
)
|
||||
);
|
||||
?>
|
||||
</p>
|
||||
<p>
|
||||
<?php
|
||||
printf(
|
||||
|
||||
@@ -408,10 +408,14 @@
|
||||
.about__container h2,
|
||||
.about__container h3,
|
||||
.about__container h4 {
|
||||
text-wrap: balance;
|
||||
text-wrap: pretty;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.about__container :is(h1, h2, h3, h4):lang(en) {
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.about__container p {
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
2
wp/wp-admin/css/about-rtl.min.css
vendored
2
wp/wp-admin/css/about-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -407,10 +407,14 @@
|
||||
.about__container h2,
|
||||
.about__container h3,
|
||||
.about__container h4 {
|
||||
text-wrap: balance;
|
||||
text-wrap: pretty;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.about__container :is(h1, h2, h3, h4):lang(en) {
|
||||
text-wrap: balance;
|
||||
}
|
||||
|
||||
.about__container p {
|
||||
text-wrap: pretty;
|
||||
}
|
||||
|
||||
2
wp/wp-admin/css/about.min.css
vendored
2
wp/wp-admin/css/about.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -84,18 +84,20 @@ if ( $wp_customize->changeset_post_id() ) {
|
||||
}
|
||||
}
|
||||
|
||||
$url = ! empty( $_REQUEST['url'] ) ? sanitize_text_field( $_REQUEST['url'] ) : '';
|
||||
$return = ! empty( $_REQUEST['return'] ) ? sanitize_text_field( $_REQUEST['return'] ) : '';
|
||||
$autofocus = ! empty( $_REQUEST['autofocus'] ) ? sanitize_text_field( $_REQUEST['autofocus'] ) : '';
|
||||
$url = ! empty( $_REQUEST['url'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['url'] ) ) : '';
|
||||
$return = ! empty( $_REQUEST['return'] ) ? sanitize_text_field( wp_unslash( $_REQUEST['return'] ) ) : '';
|
||||
$autofocus = ! empty( $_REQUEST['autofocus'] ) && is_array( $_REQUEST['autofocus'] )
|
||||
? array_map( 'sanitize_text_field', wp_unslash( $_REQUEST['autofocus'] ) )
|
||||
: array();
|
||||
|
||||
if ( ! empty( $url ) ) {
|
||||
$wp_customize->set_preview_url( wp_unslash( $url ) );
|
||||
$wp_customize->set_preview_url( $url );
|
||||
}
|
||||
if ( ! empty( $return ) ) {
|
||||
$wp_customize->set_return_url( wp_unslash( $return ) );
|
||||
$wp_customize->set_return_url( $return );
|
||||
}
|
||||
if ( ! empty( $autofocus ) && is_array( $autofocus ) ) {
|
||||
$wp_customize->set_autofocus( wp_unslash( $autofocus ) );
|
||||
if ( ! empty( $autofocus ) ) {
|
||||
$wp_customize->set_autofocus( $autofocus );
|
||||
}
|
||||
|
||||
$registered = $wp_scripts->registered;
|
||||
|
||||
@@ -1670,6 +1670,18 @@ class WP_Debug_Data {
|
||||
'raw' => 0,
|
||||
);
|
||||
|
||||
// If the directory does not exist, skip checking it, as it will skew the other results.
|
||||
if ( ! is_dir( $path ) ) {
|
||||
$all_sizes[ $name ] = array(
|
||||
'path' => $path,
|
||||
'raw' => 0,
|
||||
'size' => __( 'The directory does not exist.' ),
|
||||
'debug' => 'directory not found',
|
||||
);
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( microtime( true ) - WP_START_TIMESTAMP < $max_execution_time ) {
|
||||
if ( 'wordpress_size' === $name ) {
|
||||
$dir_size = recurse_dirsize( $path, $exclude, $max_execution_time );
|
||||
|
||||
@@ -1354,7 +1354,7 @@ function link_xfn_meta_box( $link ) {
|
||||
<input class="valinp" type="radio" name="friendship" value="friend" id="friend" <?php xfn_check( 'friendship', 'friend' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'friend' ); ?>
|
||||
</label>
|
||||
<label for="friendship">
|
||||
<input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check( 'friendship' ); ?> /> <?php /* translators: xfn (friendship relation): http://gmpg.org/xfn/ */ _x( 'none', 'Type of relation' ); ?>
|
||||
<input name="friendship" type="radio" class="valinp" value="" id="friendship" <?php xfn_check( 'friendship' ); ?> /> <?php /* translators: xfn (friendship relation): http://gmpg.org/xfn/ */ _ex( 'none', 'Type of relation' ); ?>
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
@@ -1405,7 +1405,7 @@ function link_xfn_meta_box( $link ) {
|
||||
<input class="valinp" type="radio" name="geographical" value="neighbor" id="neighbor" <?php xfn_check( 'geographical', 'neighbor' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'neighbor' ); ?>
|
||||
</label>
|
||||
<label for="geographical">
|
||||
<input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check( 'geographical' ); ?> /> <?php /* translators: xfn (geographical relation): http://gmpg.org/xfn/ */ _x( 'none', 'Type of relation' ); ?>
|
||||
<input class="valinp" type="radio" name="geographical" value="" id="geographical" <?php xfn_check( 'geographical' ); ?> /> <?php /* translators: xfn (geographical relation): http://gmpg.org/xfn/ */ _ex( 'none', 'Type of relation' ); ?>
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
@@ -1434,7 +1434,7 @@ function link_xfn_meta_box( $link ) {
|
||||
<input class="valinp" type="radio" name="family" value="spouse" id="spouse" <?php xfn_check( 'family', 'spouse' ); ?> /> <?php /* translators: xfn: https://gmpg.org/xfn/ */ _e( 'spouse' ); ?>
|
||||
</label>
|
||||
<label for="family">
|
||||
<input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check( 'family' ); ?> /> <?php /* translators: xfn (family relation): http://gmpg.org/xfn/ */ _x( 'none', 'Type of relation' ); ?>
|
||||
<input class="valinp" type="radio" name="family" value="" id="family" <?php xfn_check( 'family' ); ?> /> <?php /* translators: xfn (family relation): http://gmpg.org/xfn/ */ _ex( 'none', 'Type of relation' ); ?>
|
||||
</label>
|
||||
</fieldset></td>
|
||||
</tr>
|
||||
|
||||
@@ -96,7 +96,7 @@ themes.view.Appearance = wp.Backbone.View.extend({
|
||||
},
|
||||
|
||||
// Defines search element container.
|
||||
searchContainer: $( '.search-form .search-box' ),
|
||||
searchContainer: $( '.search-form' ),
|
||||
|
||||
// Search input and view
|
||||
// for current theme collection.
|
||||
@@ -118,11 +118,13 @@ themes.view.Appearance = wp.Backbone.View.extend({
|
||||
// Render and append after screen title.
|
||||
view.render();
|
||||
this.searchContainer
|
||||
.find( '.search-box' )
|
||||
.append( $.parseHTML( '<label for="wp-filter-search-input">' + l10n.search + '</label>' ) )
|
||||
.append( view.el )
|
||||
.on( 'submit', function( event ) {
|
||||
event.preventDefault();
|
||||
});
|
||||
.append( view.el );
|
||||
|
||||
this.searchContainer.on( 'submit', function( event ) {
|
||||
event.preventDefault();
|
||||
});
|
||||
},
|
||||
|
||||
// Checks when the user gets close to the bottom
|
||||
|
||||
2
wp/wp-admin/js/theme.min.js
vendored
2
wp/wp-admin/js/theme.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user