Skip to content

Commit 1f09f3d

Browse files
committed
Merge branch 'trunk' of https://github.com/WordPress/wordpress-develop into trac-64354-fix-hoisted-css-cascade
2 parents d6c84c0 + 2ae6561 commit 1f09f3d

23 files changed

+101
-80
lines changed

src/wp-admin/customize.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@
147147
$body_class .= ' rtl';
148148
}
149149
$body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( '_', '-', get_user_locale() ) ) );
150+
$admin_color = get_user_option( 'admin_color' );
151+
$body_class .= ' admin-color-' . sanitize_html_class( is_string( $admin_color ) ? $admin_color : '', 'fresh' );
150152

151153
if ( wp_use_widgets_block_editor() ) {
152154
$body_class .= ' wp-embed-responsive';

src/wp-admin/includes/class-wp-upgrader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ public function install_package( $args = array() ) {
590590
* Filters the source file location for the upgrade package.
591591
*
592592
* @since 2.8.0
593-
* @since 4.4.0 The $hook_extra parameter became available.
593+
* @since 4.4.0 The `$hook_extra` parameter became available.
594594
*
595595
* @param string $source File source location.
596596
* @param string $remote_source Remote file source location.

src/wp-admin/includes/post.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1894,7 +1894,7 @@ function _admin_notice_post_locked() {
18941894
* Fires inside the post locked dialog before the buttons are displayed.
18951895
*
18961896
* @since 3.6.0
1897-
* @since 5.4.0 The $user parameter was added.
1897+
* @since 5.4.0 The `$user` parameter was added.
18981898
*
18991899
* @param WP_Post $post Post object.
19001900
* @param WP_User $user The user with the lock for the post.

src/wp-content/themes/twentynineteen/style-editor.css

Lines changed: 36 additions & 31 deletions
Large diffs are not rendered by default.

src/wp-content/themes/twentynineteen/style-editor.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,3 +1095,9 @@ $group-block-background__padding: $font__size_base;
10951095
.wp-block-post-author__avatar img {
10961096
border-radius: 100%;
10971097
}
1098+
1099+
/** === Calendar Block === */
1100+
1101+
.wp-calendar-table {
1102+
@include font-family( $font__heading );
1103+
}

src/wp-includes/class-wp-customize-setting.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@ public function value() {
765765
* functions for available hooks.
766766
*
767767
* @since 3.4.0
768-
* @since 4.6.0 Added the `$this` setting instance as the second parameter.
768+
* @since 4.6.0 Added the `$setting` instance as the second parameter.
769769
*
770770
* @param mixed $default_value The setting default value. Default empty.
771771
* @param WP_Customize_Setting $setting The setting instance.

src/wp-includes/class-wp-image-editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public function set_quality( $quality = null, $dims = array() ) {
255255
* The WP_Image_Editor::set_quality() method has priority over the filter.
256256
*
257257
* @since 3.5.0
258-
* @since 6.8.0 Added the size parameter.
258+
* @since 6.8.0 Added the `$size` parameter.
259259
*
260260
* @param int $quality Quality level between 1 (low) and 100 (high).
261261
* @param string $mime_type Image mime type.

src/wp-includes/class-wp-query.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1900,8 +1900,8 @@ public function get_posts() {
19001900
* Fires after the query variable object is created, but before the actual query is run.
19011901
*
19021902
* Note: If using conditional tags, use the method versions within the passed instance
1903-
* (e.g. $this->is_main_query() instead of is_main_query()). This is because the functions
1904-
* like is_main_query() test against the global $wp_query instance, not the passed one.
1903+
* (e.g. `$query->is_main_query()` instead of `is_main_query()`). This is because the functions
1904+
* like `is_main_query()` test against the global `$wp_query` instance, not the passed one.
19051905
*
19061906
* @since 2.0.0
19071907
*

src/wp-includes/class-wp-user-query.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -851,7 +851,7 @@ public function query() {
851851
* Filters SELECT FOUND_ROWS() query for the current WP_User_Query instance.
852852
*
853853
* @since 3.2.0
854-
* @since 5.1.0 Added the `$this` parameter.
854+
* @since 5.1.0 Added the `$query` parameter.
855855
*
856856
* @global wpdb $wpdb WordPress database abstraction object.
857857
*

src/wp-includes/class-wp-user.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ public function set_role( $role ) {
654654
* Fires after the user's role has changed.
655655
*
656656
* @since 2.9.0
657-
* @since 3.6.0 Added $old_roles to include an array of the user's previous roles.
657+
* @since 3.6.0 Added `$old_roles` to include an array of the user's previous roles.
658658
*
659659
* @param int $user_id The user ID.
660660
* @param string $role The new role.

0 commit comments

Comments
 (0)