From 8a131093a37640b26df16839655161ac3ee0b0cf Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 4 Jan 2022 20:47:55 +0000 Subject: [PATCH 001/161] Branch 5.9 git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52447 602fd350-edb4-49c9-b593-d223f7449a82 From abb893a10454135afd5d8f0cf3d8b9d18cf0ea9d Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 6 Jan 2022 17:18:45 +0000 Subject: [PATCH 002/161] Query: Improve sanitization within `WP_Tax_Query`. Merges [52454] to the 5.9 branch. Props dd32, xknown, peterwilsoncc, ehtis. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52458 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-tax-query.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-tax-query.php b/src/wp-includes/class-wp-tax-query.php index 68b12ffbe4a09..a7a40cf21fd90 100644 --- a/src/wp-includes/class-wp-tax-query.php +++ b/src/wp-includes/class-wp-tax-query.php @@ -556,7 +556,11 @@ private function clean_query( &$query ) { return; } - $query['terms'] = array_unique( (array) $query['terms'] ); + if ( 'slug' === $query['field'] || 'name' === $query['field'] ) { + $query['terms'] = array_unique( (array) $query['terms'] ); + } else { + $query['terms'] = wp_parse_id_list( $query['terms'] ); + } if ( is_taxonomy_hierarchical( $query['taxonomy'] ) && $query['include_children'] ) { $this->transform_query( $query, 'term_id' ); From 73421fa84f5ecbc11992f1a8ebb58f87a1a29799 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 6 Jan 2022 17:21:51 +0000 Subject: [PATCH 003/161] Query: Improve sanitization within `WP_Meta_Query`. Merges [52455] to the 5.9 branch. Props vortfu, xknown, dd32. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52460 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-meta-query.php | 2 +- src/wp-includes/class-wp-tax-query.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/class-wp-meta-query.php b/src/wp-includes/class-wp-meta-query.php index 2c2ac84d347f3..ac1da7d1f6f68 100644 --- a/src/wp-includes/class-wp-meta-query.php +++ b/src/wp-includes/class-wp-meta-query.php @@ -848,7 +848,7 @@ protected function find_compatible_table_alias( $clause, $parent_query ) { $clause_compare = strtoupper( $clause['compare'] ); $sibling_compare = strtoupper( $sibling['compare'] ); if ( in_array( $clause_compare, $compatible_compares, true ) && in_array( $sibling_compare, $compatible_compares, true ) ) { - $alias = $sibling['alias']; + $alias = preg_replace( '/\W/', '_', $sibling['alias'] ); break; } } diff --git a/src/wp-includes/class-wp-tax-query.php b/src/wp-includes/class-wp-tax-query.php index a7a40cf21fd90..eb4b7849e269c 100644 --- a/src/wp-includes/class-wp-tax-query.php +++ b/src/wp-includes/class-wp-tax-query.php @@ -527,7 +527,7 @@ protected function find_compatible_table_alias( $clause, $parent_query ) { // The sibling must both have compatible operator to share its alias. if ( in_array( strtoupper( $sibling['operator'] ), $compatible_operators, true ) ) { - $alias = $sibling['alias']; + $alias = preg_replace( '/\W/', '_', $sibling['alias'] ); break; } } From 6677fc31a0f509c20d52f75015e7b250f7f70195 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 6 Jan 2022 17:26:43 +0000 Subject: [PATCH 004/161] Upgrade/Install: Avoid using `unserialize()` unnecessarily. Merges [52456] to the 5.9 branch. Props vortfu, xknown, dd32. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52462 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/upgrade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 2af5946558f4c..fb1427260d552 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -1621,8 +1621,8 @@ function upgrade_280() { $start = 0; while ( $rows = $wpdb->get_results( "SELECT option_name, option_value FROM $wpdb->options ORDER BY option_id LIMIT $start, 20" ) ) { foreach ( $rows as $row ) { - $value = $row->option_value; - if ( ! @unserialize( $value ) ) { + $value = maybe_unserialize( $row->option_value ); + if ( $value === $row->option_value ) { $value = stripslashes( $value ); } if ( $value !== $row->option_value ) { From 844676b302300db25dfebcff8ecd5001a9df13e3 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 6 Jan 2022 17:34:05 +0000 Subject: [PATCH 005/161] Formatting: Correctly encode ASCII characters in post slugs. Merges [52457] to the 5.9 branch. Props zieladam, whyisjake, xknown, peterwilsoncc, desrosj, iandunn. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52464 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/formatting.php | 17 +++++++++++------ src/wp-includes/post.php | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/wp-includes/formatting.php b/src/wp-includes/formatting.php index 905b07b59897f..dac06eb571341 100644 --- a/src/wp-includes/formatting.php +++ b/src/wp-includes/formatting.php @@ -1138,12 +1138,14 @@ function wp_check_invalid_utf8( $string, $strip = false ) { * Encode the Unicode values to be used in the URI. * * @since 1.5.0 + * @since 5.8.3 Added the `encode_ascii_characters` parameter. * - * @param string $utf8_string - * @param int $length Max length of the string + * @param string $utf8_string String to encode. + * @param int $length Max length of the string + * @param bool $encode_ascii_characters Whether to encode ascii characters such as < " ' * @return string String with Unicode encoded for URI. */ -function utf8_uri_encode( $utf8_string, $length = 0 ) { +function utf8_uri_encode( $utf8_string, $length = 0, $encode_ascii_characters = false ) { $unicode = ''; $values = array(); $num_octets = 1; @@ -1158,11 +1160,14 @@ function utf8_uri_encode( $utf8_string, $length = 0 ) { $value = ord( $utf8_string[ $i ] ); if ( $value < 128 ) { - if ( $length && ( $unicode_length >= $length ) ) { + $char = chr( $value ); + $encoded_char = $encode_ascii_characters ? rawurlencode( $char ) : $char; + $encoded_char_length = strlen( $encoded_char ); + if ( $length && ( $unicode_length + $encoded_char_length ) > $length ) { break; } - $unicode .= chr( $value ); - $unicode_length++; + $unicode .= $encoded_char; + $unicode_length += $encoded_char_length; } else { if ( count( $values ) == 0 ) { if ( $value < 224 ) { diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 5cc7f66244251..582e17a86361b 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -5142,7 +5142,7 @@ function _truncate_post_slug( $slug, $length = 200 ) { if ( $decoded_slug === $slug ) { $slug = substr( $slug, 0, $length ); } else { - $slug = utf8_uri_encode( $decoded_slug, $length ); + $slug = utf8_uri_encode( $decoded_slug, $length, true ); } } From 8c1e547daf6989998c31a51cc22ba9a579bf720c Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sat, 8 Jan 2022 07:33:56 +0000 Subject: [PATCH 006/161] REST API: Typo correction in a link description object. This change fixes a wrong punctuation in a link description object of the menu items controller endpoint. It also updates qUnit test fixtures accordingly. Props la-geek, audrasjb, tobifjellner, hellofromtonya, davidbaumwald. Merges [52535] and [52536] to the 5.9 branch. Fixes #54745. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52541 602fd350-edb4-49c9-b593-d223f7449a82 --- .../endpoints/class-wp-rest-menu-items-controller.php | 2 +- tests/qunit/fixtures/wp-api-generated.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php index 57ddc380789cd..f25be71bef921 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-menu-items-controller.php @@ -816,7 +816,7 @@ public function get_item_schema() { ); $schema['properties']['object'] = array( - 'description' => __( 'The type of object originally represented, such as "category," "post", or "attachment."' ), + 'description' => __( 'The type of object originally represented, such as "category", "post", or "attachment".' ), 'context' => array( 'view', 'edit', 'embed' ), 'type' => 'string', 'arg_options' => array( diff --git a/tests/qunit/fixtures/wp-api-generated.js b/tests/qunit/fixtures/wp-api-generated.js index 8e3a7fb9911f5..9566fb0dedb60 100644 --- a/tests/qunit/fixtures/wp-api-generated.js +++ b/tests/qunit/fixtures/wp-api-generated.js @@ -3761,7 +3761,7 @@ mockedApiResponse.Schema = { "required": false }, "object": { - "description": "The type of object originally represented, such as \"category,\" \"post\", or \"attachment.\"", + "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".", "type": "string", "required": false }, @@ -3949,7 +3949,7 @@ mockedApiResponse.Schema = { "required": false }, "object": { - "description": "The type of object originally represented, such as \"category,\" \"post\", or \"attachment.\"", + "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".", "type": "string", "required": false }, @@ -4134,7 +4134,7 @@ mockedApiResponse.Schema = { "required": false }, "object": { - "description": "The type of object originally represented, such as \"category,\" \"post\", or \"attachment.\"", + "description": "The type of object originally represented, such as \"category\", \"post\", or \"attachment\".", "type": "string", "required": false }, From 436e02ecc393ba9a030a31690f78fc52b705b353 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sat, 8 Jan 2022 07:56:38 +0000 Subject: [PATCH 007/161] Help/About: Change the Learn WP link in the about page. The workshops page doesn't specifically show 5.9 content at this stage (and likely won't until much later), so it needs to be changed to learn.wordpress.org homepage. Props hlashbrooke, audrasjb, davidbaumwald. Merges [52453] to the 5.9 branch. Fixes #54755. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52542 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index fe9ef5979ec87..38f52369be23e 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -270,8 +270,8 @@ learn.wordpress.org/workshops for short how-to video tutorials and expanding resources on new features in WordPress 5.9.' ), - 'https://learn.wordpress.org/workshops/' + __( 'Want to dive into 5.9 but don’t know where to start? Visit learn.wordpress.org for expanding resources on new features in WordPress 5.9.' ), + 'https://learn.wordpress.org' ); ?>

From 0cde09de38c9b3c753a1e860614bdfc53c70b4b9 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Mon, 10 Jan 2022 17:57:40 +0000 Subject: [PATCH 008/161] Fix: WordPress default presets aren't loaded for all themes. The default preset styles of WordPress (font sizes, colors, gradients) are now provided via the global stylesheet to avoid duplication of styles. This stylesheet can be found in the front-end with the name global-styles-inline-css. The default presets are important to support old content that may use them and also patterns, that can use cross-theme styles. Props oandregal. Merges [52547] to the 5.9 branch. Fixes #54781. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52548 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/script-loader.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index a15a8fc2db93f..5964c92074417 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -2307,10 +2307,6 @@ function wp_common_block_scripts_and_styles() { * @since 5.8.0 */ function wp_enqueue_global_styles() { - if ( ! WP_Theme_JSON_Resolver::theme_has_support() ) { - return; - } - $separate_assets = wp_should_load_separate_core_block_assets(); /* From 2aaf564c1905b8fc6282e168325a06178a5f0306 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Mon, 10 Jan 2022 18:31:11 +0000 Subject: [PATCH 009/161] Fix: Update some default presets in use by default themes to the new format. Themes that use the same preset slugs as WordPress uses need to be updated. From the devnote https://make.wordpress.org/core/2022/01/08/updates-for-settings-styles-and-theme-json/ The CSS for some of the presets defined by WordPress (font sizes, colors, and gradients) was loaded twice for most themes in WordPress 5.8: in the block-library stylesheet plus in the global stylesheet. Additionally, there were slight differences in the CSS in both places. In WordPress 5.9 those were consolidated into a single place, the global stylesheet whose name is global-styles-inline-css that is now loaded for all themes in the front-end. For themes to override the default values they can use the theme.json and provide the same slug. Themes that do not use a theme.json can still override the default values by enqueuing some CSS that sets the corresponding CSS Custom Property. This commit does the second for the twenty twenty theme. Props oandregal. Merges [52549] to the 5.9 branch. Fixes #54782. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52550 602fd350-edb4-49c9-b593-d223f7449a82 --- .../assets/css/editor-style-block-rtl.css | 8 ++++---- .../assets/css/editor-style-block.css | 16 ++++++++-------- src/wp-content/themes/twentytwenty/style-rtl.css | 8 ++++---- src/wp-content/themes/twentytwenty/style.css | 8 ++++---- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index 98c02c4819489..aa1cdc0feb239 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -351,20 +351,20 @@ Inter variable font. Usage: } .editor-styles-wrapper p.has-small-font-size { - font-size: 0.842em; + --wp--preset--font-size--small: 0.842em; } .editor-styles-wrapper p.has-normal-font-size, .editor-styles-wrapper p.has-regular-font-size { - font-size: 1em; + --wp--preset--font-size--normal: 1em; } .editor-styles-wrapper p.has-medium-font-size { - font-size: 1.1em; + --wp--preset--font-size--medium: 1.1em; } .editor-styles-wrapper p.has-large-font-size { - font-size: 1.25em; + --wp--preset--font-size--large: 1.25em; } .editor-styles-wrapper p.has-larger-font-size { diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index ed613946c4894..841df0046219a 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -206,21 +206,21 @@ Inter variable font. Usage: /* GENERAL COLORS */ .has-black-background-color { - background-color: #000; + --wp--preset--color--black: #000; color: #fff; } .has-white-background-color { - background-color: #fff; + --wp--preset--color--white: #fff; color: #000; } .has-black-color { - color: #000; + --wp--preset--color--black: #000; } .has-white-color { - color: #fff; + --wp--preset--color--white: #fff; } @@ -351,20 +351,20 @@ Inter variable font. Usage: } .editor-styles-wrapper p.has-small-font-size { - font-size: 0.842em; + --wp--preset--font-size--small: 0.842em; } .editor-styles-wrapper p.has-normal-font-size, .editor-styles-wrapper p.has-regular-font-size { - font-size: 1em; + --wp--preset--font-size--normal: 1em; } .editor-styles-wrapper p.has-medium-font-size { - font-size: 1.1em; + --wp--preset--font-size--medium: 1.1em; } .editor-styles-wrapper p.has-large-font-size { - font-size: 1.25em; + --wp--preset--font-size--large: 1.25em; } .editor-styles-wrapper p.has-larger-font-size { diff --git a/src/wp-content/themes/twentytwenty/style-rtl.css b/src/wp-content/themes/twentytwenty/style-rtl.css index d823d3143301c..b0aa58a28d532 100644 --- a/src/wp-content/themes/twentytwenty/style-rtl.css +++ b/src/wp-content/themes/twentytwenty/style-rtl.css @@ -2836,21 +2836,21 @@ h2.entry-title { /* Block Font Sizes -------------------------- */ .entry-content .has-small-font-size { - font-size: 0.842em; + --wp--preset--font-size--small: 0.842em; } .entry-content .has-normal-font-size, .entry-content .has-regular-font-size { - font-size: 1em; + --wp--preset--font-size--normal: 1em; } .entry-content .has-medium-font-size { - font-size: 1.1em; + --wp--preset--font-size--medium: 1.1em; line-height: 1.45; } .entry-content .has-large-font-size { - font-size: 1.25em; + --wp--preset--font-size--large: 1.25em; line-height: 1.4; } diff --git a/src/wp-content/themes/twentytwenty/style.css b/src/wp-content/themes/twentytwenty/style.css index a18ccc10187a5..06693752d2fd4 100644 --- a/src/wp-content/themes/twentytwenty/style.css +++ b/src/wp-content/themes/twentytwenty/style.css @@ -2854,21 +2854,21 @@ h2.entry-title { /* Block Font Sizes -------------------------- */ .entry-content .has-small-font-size { - font-size: 0.842em; + --wp--preset--font-size--small: 0.842em; } .entry-content .has-normal-font-size, .entry-content .has-regular-font-size { - font-size: 1em; + --wp--preset--font-size--normal: 1em; } .entry-content .has-medium-font-size { - font-size: 1.1em; + --wp--preset--font-size--medium: 1.1em; line-height: 1.45; } .entry-content .has-large-font-size { - font-size: 1.25em; + --wp--preset--font-size--large: 1.25em; line-height: 1.4; } From 6db9175902d38c54600218c4e5fa64675ac0158e Mon Sep 17 00:00:00 2001 From: Robert Anderson Date: Tue, 11 Jan 2022 03:12:21 +0000 Subject: [PATCH 010/161] Update packages to include these bug fixes from Gutenberg: - [Block Library - Query Pagination Next]: Hide block if custom query has no results - [WP 5.9] Fix: HTML tags like inline images in nav links break submenu layout - Check for nextpage to display page links for paginated posts - Navigation: Set the default for --navigation-layout-align to "flex-start" when using vertical orientation - [Block Library - Query Loop]: Use gap for the grid view - Update page list flex variables to match navigation. - Site logo: Fix range control on landscape logo - Restore canvas padding for classic themes - RichText: Fix dead key input on Windows - Fix: Impossible to clear colors if color palettes are removed. - Gallery block: pass any custom attributes through the gallery v2 migration script - Reduce specificity of legacy font sizes defined by core - Update: Improve escaping on the search block See #54487. Props isabel_brison. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52552 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 256 +++++++++--------- package.json | 36 +-- .../assets/script-loader-packages.php | 2 +- src/wp-includes/blocks/navigation-submenu.php | 4 +- src/wp-includes/blocks/page-list.php | 2 +- src/wp-includes/blocks/post-content.php | 5 + .../blocks/query-pagination-next.php | 5 +- src/wp-includes/blocks/search.php | 18 +- 8 files changed, 167 insertions(+), 161 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1b0ed88e1edf4..33d43a1349879 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2271,23 +2271,23 @@ "dev": true }, "@popperjs/core": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.0.tgz", - "integrity": "sha512-zrsUxjLOKAzdewIDRWy9nsV1GQsKBCWaGwsZQlCgr6/q+vjyZhFgqedLfFBuI9anTPEUT4APq9Mu0SZBTzIcGQ==" + "version": "2.11.2", + "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.2.tgz", + "integrity": "sha512-92FRmppjjqz29VMJ2dn+xdyXZBrMlE42AV6Kq6BwjWV7CNUW1hs2FtxSNLQE+gJhaZ6AAmYuO9y8dshhcBl7vA==" }, "@react-spring/animated": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-9.4.0.tgz", - "integrity": "sha512-hOj90pXC1ovukgA63l6zQRr7jq6Lay/kUgwlMZWOwgaZoPb1J02BjLtS0rbFvx+BUMd3mrL0QVdno+B6eYsLQQ==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-9.4.1.tgz", + "integrity": "sha512-uAJkcrSlpg8uSe8zy7eJcDdNpI5QvRXrZUKhn5dlGAPk3psgY5qj6pahzB0k5NZZQ27ls8Z5Nt4VKhGaXPJNDQ==", "requires": { "@react-spring/shared": "~9.4.0", "@react-spring/types": "~9.4.0" } }, "@react-spring/core": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/@react-spring/core/-/core-9.4.0.tgz", - "integrity": "sha512-zJC6JgLTv42tdNLZiN8eRgKnVaQxRvGHt329GxZFB9/bhH9FqjOMQ2GsEu8uImw3eicaXlWy10Ssp4SQftZSPg==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/@react-spring/core/-/core-9.4.1.tgz", + "integrity": "sha512-sXQmGg4wNeyoVZ/LdEF01xtzQKZtLIyFDX03hoa0oa9VTgLNTVSbVXD9q2xsH8HtWpY4OFPTi/9Noi93gjnYyg==", "requires": { "@react-spring/animated": "~9.4.0", "@react-spring/rafz": "~9.4.0", @@ -2296,28 +2296,28 @@ } }, "@react-spring/rafz": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/@react-spring/rafz/-/rafz-9.4.0.tgz", - "integrity": "sha512-CqBLODaAZ9HrTNZyOtrr4XQ7CdUNd4OU3Hh7T6JSdB88MyJScsJBKCT9QaJop6wuhvQPiQEviMnD8TfKEkVfuw==" + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/@react-spring/rafz/-/rafz-9.4.1.tgz", + "integrity": "sha512-R/mNOQ4axraWsL/jwzoaqfeX6RwUODg3WOGweL8zYbHHheRqQV+QwnhGmDATepBZ1H3UUulhXvOqkzWzjnpuQQ==" }, "@react-spring/shared": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/@react-spring/shared/-/shared-9.4.0.tgz", - "integrity": "sha512-VgQd8NxfbLTeWqzKpGMXXVf1IrmBKO8/fsHFiW+OxZdmFpz77G1aJZ+AnMgCcwrV9KtLdeG0G8YXOQrhsLA7dA==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/@react-spring/shared/-/shared-9.4.1.tgz", + "integrity": "sha512-7atTQOhEQmw5UEYbb5yk7YEaf11AcRF7UISfAmr9FJ2FJD4VUVCn1R4V78omiFiRvnU6qI3GRhkRnIvYM8aAZw==", "requires": { "@react-spring/rafz": "~9.4.0", "@react-spring/types": "~9.4.0" } }, "@react-spring/types": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/@react-spring/types/-/types-9.4.0.tgz", - "integrity": "sha512-K49Fb/rPX6cSb15ZcW6d45NBYqAJbGh4MKpsBmvZWahJTXKtFDfQq10Bq0+wlLYQr8r1bgsE8v4blfCIdm6UoA==" + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/@react-spring/types/-/types-9.4.1.tgz", + "integrity": "sha512-eZmlFRc+XkY/HJi4RswLkIHH0nKQkqKRHPUqnseffcBuZ5FNXKDUmNnLUpqkrCpl746QCFVQtI5QptLklDATfQ==" }, "@react-spring/web": { - "version": "9.4.0", - "resolved": "https://registry.npmjs.org/@react-spring/web/-/web-9.4.0.tgz", - "integrity": "sha512-czg38A12w5glP33cfbjiwRnpCw3TNBuJ8eVxP6H2frMnADESsxmSpe0vNlvxrCEOhZxbhUu3ILJ2v02H9LV7bw==", + "version": "9.4.1", + "resolved": "https://registry.npmjs.org/@react-spring/web/-/web-9.4.1.tgz", + "integrity": "sha512-ajlGJl0Zqa3idhZw0KL5chP8AIn4wPHpDY7WjtWaWjVZSZRSBAeHmfqNLtAGCjazeO/Q6zmt6wdGs8bX8q42rQ==", "requires": { "@react-spring/animated": "~9.4.0", "@react-spring/core": "~9.4.0", @@ -3434,15 +3434,15 @@ } }, "@wordpress/annotations": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@wordpress/annotations/-/annotations-2.2.8.tgz", - "integrity": "sha512-cT+Mk6oEsSYHvaXtxO+JExCsP34Un21GahOIQK74lq1hJUy34TxqzuftbdDLvu9gbrKRnzVlPH9Uv6RHVHkXbg==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@wordpress/annotations/-/annotations-2.2.9.tgz", + "integrity": "sha512-xudNtq+QotOwyYbOAEt1XWLp40CcKJvBzE2acstf/DZqxIi/PXB++4QVxgpQuYWkr6bWIFm4EfNvsUFBQr9DWQ==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/data": "^6.1.5", "@wordpress/hooks": "^3.2.2", "@wordpress/i18n": "^4.2.4", - "@wordpress/rich-text": "^5.0.7", + "@wordpress/rich-text": "^5.0.8", "lodash": "^4.17.21", "rememo": "^3.0.0", "uuid": "^8.3.0" @@ -3540,21 +3540,21 @@ } }, "@wordpress/block-directory": { - "version": "3.0.20", - "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.20.tgz", - "integrity": "sha512-sm6dFYtHflHAeD1keC/oc7RN4GjdbOz18wxKGkyiOM8jzOIWqcrMcgfhzh98F6sSN/oJkYpTafpTQwT3Kz9nlQ==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.21.tgz", + "integrity": "sha512-2tV7Xg+HqSYK6jM4l/3FHWIhE4U/fu3VAM+C7MwNC8cysZi2JKFL1gqo3Duamd3zFRQNQmQZxhk8YBMqPQ8pXA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.13", + "@wordpress/block-editor": "^8.0.14", "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", - "@wordpress/edit-post": "^5.0.20", - "@wordpress/editor": "^12.0.16", + "@wordpress/edit-post": "^5.0.21", + "@wordpress/editor": "^12.0.17", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/html-entities": "^3.2.3", @@ -3567,9 +3567,9 @@ } }, "@wordpress/block-editor": { - "version": "8.0.13", - "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.13.tgz", - "integrity": "sha512-U/0Hj6wwayOFqBZg8ObR6XaDMpEnq1PXsNemxKp4BhLixiBDKMC0eXC0kBQJYm6BouMVwiw2r0StIyvl+XFovA==", + "version": "8.0.14", + "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.14.tgz", + "integrity": "sha512-hQ9MSh78RKVn4dg7XRVGZkGDjeIXrcUun1ipp8hqr537T4W7ZuIqkV2ZIk0Bp79qrYVoAP1oRe7M0+axsISYUA==", "requires": { "@babel/runtime": "^7.16.0", "@react-spring/web": "^9.2.4", @@ -3578,7 +3578,7 @@ "@wordpress/blob": "^3.2.2", "@wordpress/block-serialization-default-parser": "^4.2.3", "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/data": "^6.1.5", "@wordpress/deprecated": "^3.2.3", @@ -3592,7 +3592,7 @@ "@wordpress/keyboard-shortcuts": "^3.0.7", "@wordpress/keycodes": "^3.2.4", "@wordpress/notices": "^3.2.8", - "@wordpress/rich-text": "^5.0.7", + "@wordpress/rich-text": "^5.0.8", "@wordpress/shortcode": "^3.2.3", "@wordpress/token-list": "^2.2.2", "@wordpress/url": "^3.3.1", @@ -3614,18 +3614,18 @@ } }, "@wordpress/block-library": { - "version": "6.0.18", - "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.18.tgz", - "integrity": "sha512-U7JiHp5d+JkUtsSByplkvfbWonUbRLFS1Gm6afbICT1w4hj3xFFxgBo9aCc8VzQOFS/2fpoQUANEK6h5QUBdAg==", + "version": "6.0.19", + "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.19.tgz", + "integrity": "sha512-SjTBMHzD1grDfEqPTukSM75nYqnngRKF2c+OBW3Qv8BXDlDSdKRK7rYVkWH7YCkEqpr+sst8PxZO1sqoSQR27w==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", "@wordpress/autop": "^3.2.3", "@wordpress/blob": "^3.2.2", - "@wordpress/block-editor": "^8.0.13", + "@wordpress/block-editor": "^8.0.14", "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", @@ -3638,14 +3638,14 @@ "@wordpress/html-entities": "^3.2.3", "@wordpress/i18n": "^4.2.4", "@wordpress/icons": "^6.1.1", - "@wordpress/interface": "^4.1.15", + "@wordpress/interface": "^4.1.16", "@wordpress/is-shallow-equal": "^4.2.1", "@wordpress/keycodes": "^3.2.4", "@wordpress/notices": "^3.2.8", "@wordpress/primitives": "^3.0.4", - "@wordpress/reusable-blocks": "^3.0.19", - "@wordpress/rich-text": "^5.0.7", - "@wordpress/server-side-render": "^3.0.17", + "@wordpress/reusable-blocks": "^3.0.20", + "@wordpress/rich-text": "^5.0.8", + "@wordpress/server-side-render": "^3.0.18", "@wordpress/url": "^3.3.1", "@wordpress/viewport": "^4.0.7", "classnames": "^2.3.1", @@ -3700,9 +3700,9 @@ "dev": true }, "@wordpress/components": { - "version": "19.2.0", - "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-19.2.0.tgz", - "integrity": "sha512-IFvbH7Jo9jqbH+ZXCMm+tLaJDn95Q783aNtm9GVA+z3nJSyh4Dl2MXsRfOSE/mLd2iToPDCrpuHi51hr/lrGcw==", + "version": "19.2.1", + "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-19.2.1.tgz", + "integrity": "sha512-u4lwHIu1qmKfeRZqJ4SSJRmkyQxJFOLNbLPC3SCz3tVpe/hYNyrTwc6TOWKD7JaN45btJZLPMQ9CDP8Kou+kJw==", "requires": { "@babel/runtime": "^7.16.0", "@emotion/cache": "^11.4.0", @@ -3722,7 +3722,7 @@ "@wordpress/is-shallow-equal": "^4.2.1", "@wordpress/keycodes": "^3.2.4", "@wordpress/primitives": "^3.0.4", - "@wordpress/rich-text": "^5.0.7", + "@wordpress/rich-text": "^5.0.8", "@wordpress/warning": "^2.2.2", "classnames": "^2.3.1", "colord": "^2.7.0", @@ -3796,16 +3796,16 @@ } }, "@wordpress/customize-widgets": { - "version": "2.0.20", - "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.20.tgz", - "integrity": "sha512-80tz/X4QtJwsGXzhNcEOuDE298dDWzpr+uVI/8a/g9/f5Y8O2Qf+0EfUmscQ8HHo4eKjY284im1HviAZYonOKg==", + "version": "2.0.21", + "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.21.tgz", + "integrity": "sha512-4hS/d1paNF8SMbj3rVWop/e5nX3izbtEX2tXUsoh9X0vU1xPhiZEGsHRZHLHTPGRrXsRh+6LQXQ6yrNRq8lX7A==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/block-editor": "^8.0.13", - "@wordpress/block-library": "^6.0.18", + "@wordpress/block-editor": "^8.0.14", + "@wordpress/block-library": "^6.0.19", "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", @@ -3814,12 +3814,12 @@ "@wordpress/hooks": "^3.2.2", "@wordpress/i18n": "^4.2.4", "@wordpress/icons": "^6.1.1", - "@wordpress/interface": "^4.1.15", + "@wordpress/interface": "^4.1.16", "@wordpress/is-shallow-equal": "^4.2.1", "@wordpress/keyboard-shortcuts": "^3.0.7", "@wordpress/keycodes": "^3.2.4", "@wordpress/media-utils": "^3.0.5", - "@wordpress/widgets": "^2.0.19", + "@wordpress/widgets": "^2.0.20", "classnames": "^2.3.1", "lodash": "^4.17.21" } @@ -3948,27 +3948,27 @@ } }, "@wordpress/edit-post": { - "version": "5.0.20", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.20.tgz", - "integrity": "sha512-7/8BT2vPin/vg6Opml3uFYhtFMjsdX4DGniiEUeZhoRLC7AiU1VNlxEKklTNRkMHQI4tCcr6+qc7YoMbB5nmyQ==", + "version": "5.0.21", + "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.21.tgz", + "integrity": "sha512-TFUPgsVQmwyu5ZxeIOfeR62Xe591gPahlWSsaKhNSSzNe1H82TYwI2j2tGWMNbZyXEYa8KhgzfjVbMgINWhi2g==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.13", - "@wordpress/block-library": "^6.0.18", + "@wordpress/block-editor": "^8.0.14", + "@wordpress/block-library": "^6.0.19", "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", "@wordpress/data-controls": "^2.2.8", - "@wordpress/editor": "^12.0.16", + "@wordpress/editor": "^12.0.17", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/i18n": "^4.2.4", "@wordpress/icons": "^6.1.1", - "@wordpress/interface": "^4.1.15", + "@wordpress/interface": "^4.1.16", "@wordpress/keyboard-shortcuts": "^3.0.7", "@wordpress/keycodes": "^3.2.4", "@wordpress/media-utils": "^3.0.5", @@ -3993,35 +3993,35 @@ } }, "@wordpress/edit-site": { - "version": "3.0.20", - "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.20.tgz", - "integrity": "sha512-rfT8ex8uYn2DpcRFO3ola2NhywBrxV2Yzy2BA9MvI7tIo+/2UFJVrFROafycb1pXjufwrq35ST69XvUMRvL6Fg==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.21.tgz", + "integrity": "sha512-X+UrSZM+sN4opj0ojiBFnarFveR8Pjx9dmEOvyLvsyKhv5E1wzeWILBZfTEeNNlDl02BrmoJ1BAZ9Q2uXMtapg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.13", - "@wordpress/block-library": "^6.0.18", + "@wordpress/block-editor": "^8.0.14", + "@wordpress/block-library": "^6.0.19", "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", "@wordpress/data-controls": "^2.2.8", - "@wordpress/editor": "^12.0.16", + "@wordpress/editor": "^12.0.17", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/html-entities": "^3.2.3", "@wordpress/i18n": "^4.2.4", "@wordpress/icons": "^6.1.1", - "@wordpress/interface": "^4.1.15", + "@wordpress/interface": "^4.1.16", "@wordpress/keyboard-shortcuts": "^3.0.7", "@wordpress/keycodes": "^3.2.4", "@wordpress/media-utils": "^3.0.5", "@wordpress/notices": "^3.2.8", "@wordpress/plugins": "^4.0.7", "@wordpress/primitives": "^3.0.4", - "@wordpress/reusable-blocks": "^3.0.19", + "@wordpress/reusable-blocks": "^3.0.20", "@wordpress/url": "^3.3.1", "@wordpress/viewport": "^4.0.7", "classnames": "^2.3.1", @@ -4034,17 +4034,17 @@ } }, "@wordpress/edit-widgets": { - "version": "3.1.15", - "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.15.tgz", - "integrity": "sha512-mgetLhi5yaJ5b6VDD6GuTsMWZJhyt9yb/RBhtiubyVnCO9yPg9W1VoKFDT/r5+arDshqrHweSr5nxQG+qcRWww==", + "version": "3.1.16", + "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.16.tgz", + "integrity": "sha512-uzsTTjc7e+RXTSaSjAMMjG/i4ANAAy5Lem4YGo9nbnaKv/0DQBLt/GesawjYd71tpahSPR/2Qoj9RGwOYybABQ==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.13", - "@wordpress/block-library": "^6.0.18", + "@wordpress/block-editor": "^8.0.14", + "@wordpress/block-library": "^6.0.19", "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", @@ -4053,16 +4053,16 @@ "@wordpress/hooks": "^3.2.2", "@wordpress/i18n": "^4.2.4", "@wordpress/icons": "^6.1.1", - "@wordpress/interface": "^4.1.15", + "@wordpress/interface": "^4.1.16", "@wordpress/keyboard-shortcuts": "^3.0.7", "@wordpress/keycodes": "^3.2.4", "@wordpress/media-utils": "^3.0.5", "@wordpress/notices": "^3.2.8", "@wordpress/plugins": "^4.0.7", - "@wordpress/reusable-blocks": "^3.0.19", - "@wordpress/server-side-render": "^3.0.17", + "@wordpress/reusable-blocks": "^3.0.20", + "@wordpress/server-side-render": "^3.0.18", "@wordpress/url": "^3.3.1", - "@wordpress/widgets": "^2.0.19", + "@wordpress/widgets": "^2.0.20", "classnames": "^2.3.1", "lodash": "^4.17.21", "rememo": "^3.0.0", @@ -4070,18 +4070,18 @@ } }, "@wordpress/editor": { - "version": "12.0.16", - "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.16.tgz", - "integrity": "sha512-RtDf0h0lh613qudt5eG9EbG5Pp5PMuB8yfwnHCrA8d0yGaF24k3pxE7QMBaWeAcKGnDwev30Nt980nBtcm5+1w==", + "version": "12.0.17", + "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.17.tgz", + "integrity": "sha512-Ys8jxXCTt4bzukzTBCx8TMsmVIqFnDwbTqCzB7axyB+IXRep3QpVjlYxnmc58nNmRu8GJSF5YdtUUgygcDCB5w==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", "@wordpress/autop": "^3.2.3", "@wordpress/blob": "^3.2.2", - "@wordpress/block-editor": "^8.0.13", + "@wordpress/block-editor": "^8.0.14", "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", @@ -4098,9 +4098,9 @@ "@wordpress/keycodes": "^3.2.4", "@wordpress/media-utils": "^3.0.5", "@wordpress/notices": "^3.2.8", - "@wordpress/reusable-blocks": "^3.0.19", - "@wordpress/rich-text": "^5.0.7", - "@wordpress/server-side-render": "^3.0.17", + "@wordpress/reusable-blocks": "^3.0.20", + "@wordpress/rich-text": "^5.0.8", + "@wordpress/server-side-render": "^3.0.18", "@wordpress/url": "^3.3.1", "@wordpress/wordcount": "^3.2.3", "classnames": "^2.3.1", @@ -4187,14 +4187,14 @@ } }, "@wordpress/format-library": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.19.tgz", - "integrity": "sha512-MsXaS1QgMtkZUioStCnAQViIOcLPS5OqsJAwnl5/aVvmciV+IABtT4ffPCaiShiTyqBiZMj8UEaaJD8SOeZidw==", + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.20.tgz", + "integrity": "sha512-AYPfLjG0Nk5SUbWCKt4LECv2mDAuDsio9aqcMXhqYcybXmZiA9pEga7zEgBT9SC++nSN7NMNwlkEwb2z7hUOtg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/block-editor": "^8.0.13", - "@wordpress/components": "^19.2.0", + "@wordpress/block-editor": "^8.0.14", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/data": "^6.1.5", "@wordpress/dom": "^3.2.7", @@ -4203,7 +4203,7 @@ "@wordpress/i18n": "^4.2.4", "@wordpress/icons": "^6.1.1", "@wordpress/keycodes": "^3.2.4", - "@wordpress/rich-text": "^5.0.7", + "@wordpress/rich-text": "^5.0.8", "@wordpress/url": "^3.3.1", "lodash": "^4.17.21" } @@ -4249,13 +4249,13 @@ } }, "@wordpress/interface": { - "version": "4.1.15", - "resolved": "https://registry.npmjs.org/@wordpress/interface/-/interface-4.1.15.tgz", - "integrity": "sha512-11vTvDG08A0QMicNc4hJBNMFDATRxWPEEEiB0g2pZRyZ09kMXcJ4Je9SdZz5jl2Bz/x8oEeTYeLqyvioq928cw==", + "version": "4.1.16", + "resolved": "https://registry.npmjs.org/@wordpress/interface/-/interface-4.1.16.tgz", + "integrity": "sha512-qjSvN1bnqEO5lziCI4vsRuYcfTSTPpNq2yE+VLdc4Xy9QkOYlb9UsmILm72FRn3yZQ/RChczbJ1SbVCwHzlScA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/data": "^6.1.5", "@wordpress/deprecated": "^3.2.3", @@ -4353,13 +4353,13 @@ } }, "@wordpress/list-reusable-blocks": { - "version": "3.0.17", - "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-3.0.17.tgz", - "integrity": "sha512-tYmCzIVhOUHlmINMtCvWwUfgfaorwv1+mAHdPJ2XqCW5e27ws3EdWJxqdTWZNu1Z8Rz9ucv+mOHyOxL91JByhg==", + "version": "3.0.18", + "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-3.0.18.tgz", + "integrity": "sha512-6E5DuaFL/bDjFheUQTgCqO4VW53Xf/3H1SLKEpgKZmZJZNIfuDIPOa1JUFoAdROxUxHqHliy1Meo4Nk6GALhzw==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^5.2.6", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/element": "^4.0.4", "@wordpress/i18n": "^4.2.4", @@ -4397,12 +4397,12 @@ "dev": true }, "@wordpress/nux": { - "version": "5.0.17", - "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-5.0.17.tgz", - "integrity": "sha512-W122kgEW5ZfAsYPN7sc9372GPE4Iulx9h8zB2z5E+Vz/CqrVvw/TDQqJgqk7DPScQWGcqWTIfHJh0zyDdY8yRw==", + "version": "5.0.18", + "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-5.0.18.tgz", + "integrity": "sha512-IMeFUBa9PSIxwx12KpztEwnT4OoVrwDUGLywj6RPYThEgOOIbGa+Ul3KaKFLlPursW+upM84S2oV4aQIUg6fng==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/data": "^6.1.5", "@wordpress/deprecated": "^3.2.3", @@ -4527,13 +4527,13 @@ } }, "@wordpress/reusable-blocks": { - "version": "3.0.19", - "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.19.tgz", - "integrity": "sha512-EU4Vo3ETTTN5DAQCrgh3AOuVRsZCrIJ1LcRgGJfFBSEJe6Sto3pxxj3ZtI+Goc4U553q3M/qpghHZNo1JZcfew==", + "version": "3.0.20", + "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.20.tgz", + "integrity": "sha512-/IqS8qd/+MTlb5cclenyIeG44KLts208/jPuUcwff+/pwPvupCPqCzjLM2LF29BBkghIpdTtuClxVv4oYAsGDQ==", "requires": { - "@wordpress/block-editor": "^8.0.13", + "@wordpress/block-editor": "^8.0.14", "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", @@ -4546,9 +4546,9 @@ } }, "@wordpress/rich-text": { - "version": "5.0.7", - "resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-5.0.7.tgz", - "integrity": "sha512-oroNrJFJw9DNVielMdel/EeJNwD/bGzKPEAL0cp1AbilcS4jNxBW7oR+hOOv/ZQGH+1iDmOhwhOdERP4n78s3A==", + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/@wordpress/rich-text/-/rich-text-5.0.8.tgz", + "integrity": "sha512-RjIbgP/C0OL2H+66TD2xt5KSi6N9lrj4bnYSdfhAoRZTjWvrtsyryaIRPbz4QZQvd/uMxsR651R1dFoL3+vZuA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", @@ -5499,14 +5499,14 @@ } }, "@wordpress/server-side-render": { - "version": "3.0.17", - "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-3.0.17.tgz", - "integrity": "sha512-UIyywGUSlbOVFi1SNwI/uUmHmUJFX+N9XeBCAnS15PmfYflBkiuz9FPmZWoqLoOE4uWTI7K9lAP1tkY80lotIA==", + "version": "3.0.18", + "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-3.0.18.tgz", + "integrity": "sha512-j8w0tlJIVBki8fcGWma5MCF34Nn2xc3pSKGCHv06VLE3mdtq+WSp8VFSiM6d5WuyhFPcvMj1KxgmbpxrgOFbyw==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^5.2.6", "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/data": "^6.1.5", "@wordpress/deprecated": "^3.2.3", @@ -5572,15 +5572,15 @@ "integrity": "sha512-iG1Hq56RK3N6AJqAD1sRLWRIJatfYn+NrPyrfqRNZNYXHM8Vj/s7ABNMbIU0Y99vXkBE83rvCdbMkugNoI2jXA==" }, "@wordpress/widgets": { - "version": "2.0.19", - "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.19.tgz", - "integrity": "sha512-TSPV0pYikUXvSH3L3TToLFDXwB0gjRVcL7/TpQyFiaN5QfONOGpxZBoCbW0l3w+z/ZhzTtwe/BwX25TFmEHILg==", + "version": "2.0.20", + "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.20.tgz", + "integrity": "sha512-u/aFnp4YvdRc3ONiFjT1SQ4WF1Q3l06WQfSy2cJ374bVnCxsPZTA5rwMrh0kS2az+ZHQhLLfRercFzcL+WrNzA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.13", + "@wordpress/block-editor": "^8.0.14", "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.0", + "@wordpress/components": "^19.2.1", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", diff --git a/package.json b/package.json index dfbb0cf248a70..11a6153abd481 100644 --- a/package.json +++ b/package.json @@ -78,57 +78,57 @@ }, "dependencies": { "@wordpress/a11y": "3.2.4", - "@wordpress/annotations": "2.2.8", + "@wordpress/annotations": "2.2.9", "@wordpress/api-fetch": "5.2.6", "@wordpress/autop": "3.2.3", "@wordpress/blob": "3.2.2", - "@wordpress/block-directory": "3.0.20", - "@wordpress/block-editor": "8.0.13", - "@wordpress/block-library": "6.0.18", + "@wordpress/block-directory": "3.0.21", + "@wordpress/block-editor": "8.0.14", + "@wordpress/block-library": "6.0.19", "@wordpress/block-serialization-default-parser": "4.2.3", "@wordpress/blocks": "11.1.5", - "@wordpress/components": "19.2.0", + "@wordpress/components": "19.2.1", "@wordpress/compose": "5.0.7", "@wordpress/core-data": "4.0.9", - "@wordpress/customize-widgets": "2.0.20", + "@wordpress/customize-widgets": "2.0.21", "@wordpress/data": "6.1.5", "@wordpress/data-controls": "2.2.8", "@wordpress/date": "4.2.3", "@wordpress/deprecated": "3.2.3", "@wordpress/dom": "3.2.7", "@wordpress/dom-ready": "3.2.3", - "@wordpress/edit-post": "5.0.20", - "@wordpress/edit-site": "3.0.20", - "@wordpress/edit-widgets": "3.1.15", - "@wordpress/editor": "12.0.16", + "@wordpress/edit-post": "5.0.21", + "@wordpress/edit-site": "3.0.21", + "@wordpress/edit-widgets": "3.1.16", + "@wordpress/editor": "12.0.17", "@wordpress/element": "4.0.4", "@wordpress/escape-html": "2.2.3", - "@wordpress/format-library": "3.0.19", + "@wordpress/format-library": "3.0.20", "@wordpress/hooks": "3.2.2", "@wordpress/html-entities": "3.2.3", "@wordpress/i18n": "4.2.4", "@wordpress/icons": "6.1.1", - "@wordpress/interface": "4.1.15", + "@wordpress/interface": "4.1.16", "@wordpress/is-shallow-equal": "4.2.1", "@wordpress/keyboard-shortcuts": "3.0.7", "@wordpress/keycodes": "3.2.4", - "@wordpress/list-reusable-blocks": "3.0.17", + "@wordpress/list-reusable-blocks": "3.0.18", "@wordpress/media-utils": "3.0.5", "@wordpress/notices": "3.2.8", - "@wordpress/nux": "5.0.17", + "@wordpress/nux": "5.0.18", "@wordpress/plugins": "4.0.7", "@wordpress/primitives": "3.0.4", "@wordpress/priority-queue": "2.2.3", "@wordpress/redux-routine": "4.2.2", - "@wordpress/reusable-blocks": "3.0.19", - "@wordpress/rich-text": "5.0.7", - "@wordpress/server-side-render": "3.0.17", + "@wordpress/reusable-blocks": "3.0.20", + "@wordpress/rich-text": "5.0.8", + "@wordpress/server-side-render": "3.0.18", "@wordpress/shortcode": "3.2.3", "@wordpress/token-list": "2.2.2", "@wordpress/url": "3.3.1", "@wordpress/viewport": "4.0.7", "@wordpress/warning": "2.2.2", - "@wordpress/widgets": "2.0.19", + "@wordpress/widgets": "2.0.20", "@wordpress/wordcount": "3.2.3", "backbone": "1.4.0", "clipboard": "2.0.8", diff --git a/src/wp-includes/assets/script-loader-packages.php b/src/wp-includes/assets/script-loader-packages.php index 7f44ca8058f18..b112ca69549c9 100644 --- a/src/wp-includes/assets/script-loader-packages.php +++ b/src/wp-includes/assets/script-loader-packages.php @@ -1 +1 @@ - array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'fa03f246887237d01c383e85ff6f107c'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'acd6ed75d460d0d3781e1ef6c12cf2aa'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '59f6dbf5a1d9a141515c25411bc4f01e'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e65166da67ee5d5ff66d36ab14532b3b'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b8855b04f6a52a7bca89f8d945d46866'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'a8ff26eaaddf949aee8669d14277aec3'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => '3b92c40c1fc027868ec4521bef69dfec'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'b32bec4f49c6a87e8fae9893883eb1e5'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cc8e5d0e23cf68bb9944bf2a7a016e52'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'a32036d432544d670dbd252aafb343aa'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => 'd584639b62dd0110961babe2a0321284'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1491dea52ef44b12c4130dc7fe00ea20'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '15ee57b1f0ac2f25cdee181ee369950a'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'a4ae79ff9d722a302a31b7af5478e6b7'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '93e547cee9fc74070215d5c1ce324bf6'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'a6b5897d9fe0799f7c5167a4a9fb3fc2'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'be8358e0f87d66f2bec405069f113602'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '64e8de35a014ff611a39da7042d361dd'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7d156934b7b48d00965baf08e162ab91'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '7ad174e925c73007ee5b17358242e7d9'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => 'e1b624e1873607abf4c32039e7fb342b'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => '8659ca040bec4715a2e2d70e39481022'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => 'd2d4142238e30f8173bcb9c0ecfc9daa'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '2f11c17951f84f3b17149d8002ed2e49'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '32e0abe121ab85a88acb6472274ad136'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4f03d9c45a01df8191f6833373fe1cfa'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '638b31b2e32bdc443afa62d9aa251d8a'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fee9af3abfeb76b497fd074608dca647'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '9ddfa7e364f034c04939567c6c6079d5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '78a4020b31c5ae28f7e97405b83d5027'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '57a448b50bb24e264205e448e0b19ea2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '411699046747b4d90f82c5b2547ff43c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'ab2c70450229febbbb0a87e88074db07'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b9e78ffafe025c455d9ccf2c1a78d1de'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'feee5fbb3df2a20c6dc4653f33d12e13'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '76d0e1ad216a273ab1359db9aaab1809'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ec5aecfc61b399ed5c8fa2de6b175942'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f4483156a9bae90512f894dbd867b929'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '436b8be211e4f30893de92b1faad8984'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => 'c491067ec9fe71eeaa2c74e4ee78f956'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'c8b79b06e8a76272ee868b17b6a9d37b'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '0e7a194ec8387c92e8d2c2b3755c3c9b'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'a50777df914543c1a77067959d6b3fbf'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'd99eea3ea07b8acf242f75a06a2c49ff'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '67406a236d2370eedc90db2dfdcb46bd'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5ebe2df53cf3c74ebffc7e2d3e76184c'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '3dd8fa0fcd8381649603b755437d9be1'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007')); \ No newline at end of file + array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'fa03f246887237d01c383e85ff6f107c'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'acd6ed75d460d0d3781e1ef6c12cf2aa'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '59f6dbf5a1d9a141515c25411bc4f01e'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e65166da67ee5d5ff66d36ab14532b3b'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b8855b04f6a52a7bca89f8d945d46866'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'a8ff26eaaddf949aee8669d14277aec3'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => '111448cd5567e9c725e05a3a7bd63d0a'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '1d611ee2662df311b774d7e3b377ce10'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cc8e5d0e23cf68bb9944bf2a7a016e52'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'a32036d432544d670dbd252aafb343aa'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '4f9b4dc15cb91a7d955848c6dceef3fe'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1491dea52ef44b12c4130dc7fe00ea20'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '15ee57b1f0ac2f25cdee181ee369950a'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'a4ae79ff9d722a302a31b7af5478e6b7'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '93e547cee9fc74070215d5c1ce324bf6'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'a6b5897d9fe0799f7c5167a4a9fb3fc2'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'be8358e0f87d66f2bec405069f113602'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '64e8de35a014ff611a39da7042d361dd'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7d156934b7b48d00965baf08e162ab91'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '7ad174e925c73007ee5b17358242e7d9'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => 'e1b624e1873607abf4c32039e7fb342b'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => '8659ca040bec4715a2e2d70e39481022'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => 'd2d4142238e30f8173bcb9c0ecfc9daa'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '2f11c17951f84f3b17149d8002ed2e49'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '32e0abe121ab85a88acb6472274ad136'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4f03d9c45a01df8191f6833373fe1cfa'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '638b31b2e32bdc443afa62d9aa251d8a'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fee9af3abfeb76b497fd074608dca647'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '9ddfa7e364f034c04939567c6c6079d5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '78a4020b31c5ae28f7e97405b83d5027'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '57a448b50bb24e264205e448e0b19ea2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '411699046747b4d90f82c5b2547ff43c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'ab2c70450229febbbb0a87e88074db07'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b9e78ffafe025c455d9ccf2c1a78d1de'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'feee5fbb3df2a20c6dc4653f33d12e13'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '76d0e1ad216a273ab1359db9aaab1809'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ec5aecfc61b399ed5c8fa2de6b175942'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f4483156a9bae90512f894dbd867b929'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '436b8be211e4f30893de92b1faad8984'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '855cfaa16e1e86346cdf24239800bcaf'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'c8b79b06e8a76272ee868b17b6a9d37b'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '0e7a194ec8387c92e8d2c2b3755c3c9b'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'a50777df914543c1a77067959d6b3fbf'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'd99eea3ea07b8acf242f75a06a2c49ff'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '67406a236d2370eedc90db2dfdcb46bd'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5ebe2df53cf3c74ebffc7e2d3e76184c'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '3dd8fa0fcd8381649603b755437d9be1'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007')); \ No newline at end of file diff --git a/src/wp-includes/blocks/navigation-submenu.php b/src/wp-includes/blocks/navigation-submenu.php index ef68af629caa1..0d58bc0f6f4c2 100644 --- a/src/wp-includes/blocks/navigation-submenu.php +++ b/src/wp-includes/blocks/navigation-submenu.php @@ -191,7 +191,7 @@ function render_block_core_navigation_submenu( $attributes, $content, $block ) { $aria_label = sprintf( /* translators: Accessibility text. %s: Parent page title. */ __( '%s submenu' ), - $label + wp_strip_all_tags( $label ) ); $html = '
  • '; @@ -231,7 +231,7 @@ function render_block_core_navigation_submenu( $attributes, $content, $block ) { if ( $show_submenu_indicators ) { // The submenu icon is rendered in a button here - // so that there's a clickable elment to open the submenu. + // so that there's a clickable element to open the submenu. $html .= ''; } } else { diff --git a/src/wp-includes/blocks/page-list.php b/src/wp-includes/blocks/page-list.php index 9593174d9ba0c..efec9ff583cb7 100644 --- a/src/wp-includes/blocks/page-list.php +++ b/src/wp-includes/blocks/page-list.php @@ -177,7 +177,7 @@ function block_core_page_list_render_nested_page_list( $open_submenus_on_click, $aria_label = sprintf( /* translators: Accessibility text. %s: Parent page title. */ __( '%s submenu' ), - $title + wp_strip_all_tags( $title ) ); $markup .= '
  • '; diff --git a/src/wp-includes/blocks/post-content.php b/src/wp-includes/blocks/post-content.php index 7edb2cd604a71..b1ed1b4542c01 100644 --- a/src/wp-includes/blocks/post-content.php +++ b/src/wp-includes/blocks/post-content.php @@ -46,6 +46,11 @@ function render_block_core_post_content( $attributes, $content, $block ) { // so that `the_preview` for the current post can apply. // We force this behavior by omitting the third argument (post ID) from the `get_the_content`. $content = get_the_content( null, false ); + // Check for nextpage to display page links for paginated posts. + if ( has_block( 'core/nextpage' ) ) { + $content .= wp_link_pages( array( 'echo' => 0 ) ); + } + /** This filter is documented in wp-includes/post-template.php */ $content = apply_filters( 'the_content', str_replace( ']]>', ']]>', $content ) ); unset( $seen_ids[ $post_id ] ); diff --git a/src/wp-includes/blocks/query-pagination-next.php b/src/wp-includes/blocks/query-pagination-next.php index d091e1c6bbc0f..ea581e705fb23 100644 --- a/src/wp-includes/blocks/query-pagination-next.php +++ b/src/wp-includes/blocks/query-pagination-next.php @@ -43,8 +43,9 @@ function render_block_core_query_pagination_next( $attributes, $content, $block $content = get_next_posts_link( $label, $max_page ); remove_filter( 'next_posts_link_attributes', $filter_link_attributes ); } elseif ( ! $max_page || $max_page > $page ) { - $custom_query = new WP_Query( build_query_vars_from_query_block( $block, $page ) ); - if ( (int) $custom_query->max_num_pages !== $page ) { + $custom_query = new WP_Query( build_query_vars_from_query_block( $block, $page ) ); + $custom_query_max_pages = (int) $custom_query->max_num_pages; + if ( $custom_query_max_pages && $custom_query_max_pages !== $page ) { $content = sprintf( '%3$s', esc_url( add_query_arg( $page_key, $page + 1 ) ), diff --git a/src/wp-includes/blocks/search.php b/src/wp-includes/blocks/search.php index 64ac21ff3f551..991e2fa1f8051 100644 --- a/src/wp-includes/blocks/search.php +++ b/src/wp-includes/blocks/search.php @@ -46,13 +46,13 @@ function render_block_core_search( $attributes ) { $label_markup = sprintf( '', $input_id, - empty( $attributes['label'] ) ? __( 'Search' ) : $attributes['label'] + empty( $attributes['label'] ) ? __( 'Search' ) : esc_html( $attributes['label'] ) ); if ( $show_label && ! empty( $attributes['label'] ) ) { $label_markup = sprintf( '', $input_id, - $attributes['label'] + esc_html( $attributes['label'] ) ); } @@ -61,7 +61,7 @@ function render_block_core_search( $attributes ) { $input_markup = sprintf( '', $input_id, - $input_classes, + esc_attr( $input_classes ), esc_attr( get_search_query() ), esc_attr( $attributes['placeholder'] ), $inline_styles['input'] @@ -77,7 +77,7 @@ function render_block_core_search( $attributes ) { } if ( ! $use_icon_button ) { if ( ! empty( $attributes['buttonText'] ) ) { - $button_internal_markup = $attributes['buttonText']; + $button_internal_markup = esc_html( $attributes['buttonText'] ); } } else { $button_classes .= ' has-icon'; @@ -89,7 +89,7 @@ function render_block_core_search( $attributes ) { $button_markup = sprintf( '', - $button_classes, + esc_attr( $button_classes ), $inline_styles['button'], $button_internal_markup ); @@ -98,7 +98,7 @@ function render_block_core_search( $attributes ) { $field_markup_classes = $is_button_inside ? $border_color_classes : ''; $field_markup = sprintf( '
    %s
    ', - $field_markup_classes, + esc_attr( $field_markup_classes ), $inline_styles['wrapper'], $input_markup . $button_markup ); @@ -285,9 +285,9 @@ function styles_for_block_core_search( $attributes ) { } return array( - 'input' => ! empty( $input_styles ) ? sprintf( ' style="%s"', implode( ' ', $input_styles ) ) : '', - 'button' => ! empty( $button_styles ) ? sprintf( ' style="%s"', implode( ' ', $button_styles ) ) : '', - 'wrapper' => ! empty( $wrapper_styles ) ? sprintf( ' style="%s"', implode( ' ', $wrapper_styles ) ) : '', + 'input' => ! empty( $input_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $input_styles ) ) ) : '', + 'button' => ! empty( $button_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $button_styles ) ) ) : '', + 'wrapper' => ! empty( $wrapper_styles ) ? sprintf( ' style="%s"', safecss_filter_attr( implode( ' ', $wrapper_styles ) ) ) : '', ); } From 848f055b04dae6c6ae603161fc19ab6e0d0399de Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Tue, 11 Jan 2022 16:52:15 +0000 Subject: [PATCH 011/161] Twenty Twenty-Two: Sync updates from GitHub for RC 2. This commit syncs changes for the default theme from its active development repository to core. This is a follow up to [52081], [52107], [52164], [52222], [52283], [52335], [52375], [52392], and [52430]. It includes fixes to the theme's spacing and adds a search template. To view the full set of changes, visit https://github.com/WordPress/twentytwentytwo/compare/8564fd281f453c52a1b5bf681e55bd720c0da709...f0346e1ad24b6dd5fe37b7d82bd88b0e9e3fdf22. Props richtabor, kjellr, danieldudzic, scruffian, jffng. Merges [52555] to the 5.9 branch. See #54318. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52557 602fd350-edb4-49c9-b593-d223f7449a82 --- .../inc/patterns/footer-about-title-logo.php | 4 +- .../inc/patterns/footer-blog.php | 4 +- .../inc/patterns/footer-dark.php | 4 +- .../inc/patterns/footer-default.php | 2 +- .../inc/patterns/general-list-events.php | 4 +- .../patterns/general-video-header-details.php | 4 +- .../header-centered-logo-black-background.php | 4 +- .../inc/patterns/header-centered-logo.php | 4 +- ...eader-centered-title-navigation-social.php | 4 +- .../inc/patterns/header-default.php | 4 +- .../header-image-background-overlay.php | 4 +- .../inc/patterns/header-image-background.php | 4 +- .../inc/patterns/header-large-dark.php | 12 +++--- ...header-logo-navigation-gray-background.php | 6 +-- .../header-logo-navigation-offset-tagline.php | 6 +-- ...ogo-navigation-social-black-background.php | 4 +- .../inc/patterns/header-small-dark.php | 13 +++--- .../inc/patterns/header-stacked.php | 4 +- .../header-text-only-green-background.php | 4 +- .../header-text-only-salmon-background.php | 4 +- ...ext-only-with-tagline-black-background.php | 4 +- .../inc/patterns/header-title-and-button.php | 4 +- .../header-title-navigation-social.php | 4 +- .../inc/patterns/header-with-tagline.php | 4 +- .../page-about-large-image-and-buttons.php | 4 +- .../patterns/page-layout-image-and-text.php | 8 ++-- .../page-layout-image-text-and-video.php | 4 +- .../inc/patterns/page-layout-two-columns.php | 4 +- .../page-sidebar-blog-posts-right.php | 4 +- .../inc/patterns/page-sidebar-blog-posts.php | 4 +- .../inc/patterns/page-sidebar-grid-posts.php | 4 +- .../parts/header-large-dark.html | 8 ++-- .../parts/header-small-dark.html | 8 ++-- .../twentytwentytwo/templates/search.html | 41 +++++++++++++++++++ 34 files changed, 127 insertions(+), 77 deletions(-) create mode 100644 src/wp-content/themes/twentytwentytwo/templates/search.html diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-about-title-logo.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-about-title-logo.php index 092a8e874d9f3..dfd70d55e884d 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-about-title-logo.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-about-title-logo.php @@ -7,8 +7,8 @@ 'categories' => array( 'footer' ), 'blockTypes' => array( 'core/template-part/footer' ), 'content' => ' -
    -
    +
    +

    ' . esc_html__( 'About us', 'twentytwentytwo' ) . '

    diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-blog.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-blog.php index 3e018729a1b35..e7f09f39763ee 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-blog.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-blog.php @@ -7,8 +7,8 @@ 'categories' => array( 'footer' ), 'blockTypes' => array( 'core/template-part/footer' ), 'content' => ' -
    -
    +
    +

    ' . esc_html__( 'About us', 'twentytwentytwo' ) . '

    diff --git a/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-dark.php b/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-dark.php index 81c78845bdd09..0eacf657a656e 100644 --- a/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-dark.php +++ b/src/wp-content/themes/twentytwentytwo/inc/patterns/footer-dark.php @@ -7,8 +7,8 @@ 'categories' => array( 'footer' ), 'blockTypes' => array( 'core/template-part/footer' ), 'content' => ' -
    -
  • Date: Mon, 24 Jan 2022 07:45:35 +0000 Subject: [PATCH 032/161] Update @wordpress packages Update packages to include these bug fixes from Gutenberg: - Block Editor: Mark last change as persistent on save - Site Editor: Restore ?styles=open functionality - Site Editor: Fix resizable box scrollbars in blocks - Add classic menus to menu switcher See #54487. Props talldanwp. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52625 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 146 ++++-------------- package.json | 14 +- .../assets/script-loader-packages.php | 2 +- 3 files changed, 37 insertions(+), 125 deletions(-) diff --git a/package-lock.json b/package-lock.json index d127ec8edff0e..c507426096616 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3723,9 +3723,9 @@ } }, "@wordpress/block-directory": { - "version": "3.0.24", - "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.24.tgz", - "integrity": "sha512-Mu46FtsY07Pri9GfSoTV9yP47KuIOKEiGjqTNk3infK6GfDX7FLO1tmv7GkhsCr3A/xEXO3SbcAd+yt9Wp6xhA==", + "version": "3.0.25", + "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.25.tgz", + "integrity": "sha512-fI+gs6+jVmQMa1Pq5ae74WLpF8o2iNlO77qDwTxOzcgMKWfDTMhZ4VRgqbcYfB0Ed9ZHqPVe5dBGI6nmh7dUog==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", @@ -3736,8 +3736,8 @@ "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", - "@wordpress/edit-post": "^5.0.24", - "@wordpress/editor": "^12.0.18", + "@wordpress/edit-post": "^5.0.25", + "@wordpress/editor": "^12.0.19", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/html-entities": "^3.2.3", @@ -3747,94 +3747,6 @@ "@wordpress/plugins": "^4.0.7", "@wordpress/url": "^3.3.1", "lodash": "^4.17.21" - }, - "dependencies": { - "@wordpress/block-library": { - "version": "6.0.23", - "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.23.tgz", - "integrity": "sha512-yzt7IKpsRJKw8XN/KN+tu+0aYo8FycUoHhXvQgQy0uoSKSDCRlN0lIbELGTgMjRlIQlwwAYPsAy1pOjGPig88w==", - "requires": { - "@babel/runtime": "^7.16.0", - "@wordpress/a11y": "^3.2.4", - "@wordpress/api-fetch": "^5.2.6", - "@wordpress/autop": "^3.2.3", - "@wordpress/blob": "^3.2.2", - "@wordpress/block-editor": "^8.0.15", - "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.2", - "@wordpress/compose": "^5.0.7", - "@wordpress/core-data": "^4.0.9", - "@wordpress/data": "^6.1.5", - "@wordpress/date": "^4.2.3", - "@wordpress/deprecated": "^3.2.3", - "@wordpress/dom": "^3.2.7", - "@wordpress/element": "^4.0.4", - "@wordpress/escape-html": "^2.2.3", - "@wordpress/hooks": "^3.2.2", - "@wordpress/html-entities": "^3.2.3", - "@wordpress/i18n": "^4.2.4", - "@wordpress/icons": "^6.1.1", - "@wordpress/is-shallow-equal": "^4.2.1", - "@wordpress/keycodes": "^3.2.4", - "@wordpress/notices": "^3.2.8", - "@wordpress/primitives": "^3.0.4", - "@wordpress/reusable-blocks": "^3.0.21", - "@wordpress/rich-text": "^5.0.8", - "@wordpress/server-side-render": "^3.0.19", - "@wordpress/url": "^3.3.1", - "@wordpress/viewport": "^4.0.7", - "classnames": "^2.3.1", - "colord": "^2.7.0", - "fast-average-color": "4.3.0", - "lodash": "^4.17.21", - "memize": "^1.1.0", - "micromodal": "^0.4.10", - "moment": "^2.22.1" - } - }, - "@wordpress/edit-post": { - "version": "5.0.24", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.24.tgz", - "integrity": "sha512-62G/aCNRTNVMeNzm2xETTeR3yPZi5exymUXVkx5Hw3mAD6GHM2FOiIQ0U6eBSH/QTFHg7ihz/tcr35aUQIIdTQ==", - "requires": { - "@babel/runtime": "^7.16.0", - "@wordpress/a11y": "^3.2.4", - "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.15", - "@wordpress/block-library": "^6.0.23", - "@wordpress/blocks": "^11.1.5", - "@wordpress/components": "^19.2.2", - "@wordpress/compose": "^5.0.7", - "@wordpress/core-data": "^4.0.9", - "@wordpress/data": "^6.1.5", - "@wordpress/data-controls": "^2.2.8", - "@wordpress/editor": "^12.0.18", - "@wordpress/element": "^4.0.4", - "@wordpress/hooks": "^3.2.2", - "@wordpress/i18n": "^4.2.4", - "@wordpress/icons": "^6.1.1", - "@wordpress/interface": "^4.1.17", - "@wordpress/keyboard-shortcuts": "^3.0.7", - "@wordpress/keycodes": "^3.2.4", - "@wordpress/media-utils": "^3.0.5", - "@wordpress/notices": "^3.2.8", - "@wordpress/plugins": "^4.0.7", - "@wordpress/primitives": "^3.0.4", - "@wordpress/url": "^3.3.1", - "@wordpress/viewport": "^4.0.7", - "@wordpress/warning": "^2.2.2", - "classnames": "^2.3.1", - "lodash": "^4.17.21", - "memize": "^1.1.0", - "rememo": "^3.0.0", - "uuid": "8.3.0" - } - }, - "uuid": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-8.3.0.tgz", - "integrity": "sha512-fX6Z5o4m6XsXBdli9g7DtWgAx+osMsRRZFKma1mIUsLCz6vRvv+pz5VNbyu9UEDzpMWulZfvpgb/cmDXVulYFQ==" - } } }, "@wordpress/block-editor": { @@ -3885,9 +3797,9 @@ } }, "@wordpress/block-library": { - "version": "6.0.23", - "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.23.tgz", - "integrity": "sha512-yzt7IKpsRJKw8XN/KN+tu+0aYo8FycUoHhXvQgQy0uoSKSDCRlN0lIbELGTgMjRlIQlwwAYPsAy1pOjGPig88w==", + "version": "6.0.24", + "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.24.tgz", + "integrity": "sha512-SUSliAGDX7DpEalCJxjzLQJwq5GxR+A8OVdFR/c1iEdRAbJHdDvvQyVxckhHCGcV2Ig7tUdnEyf8OcuCqyhPVw==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", @@ -4066,14 +3978,14 @@ } }, "@wordpress/customize-widgets": { - "version": "2.0.24", - "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.24.tgz", - "integrity": "sha512-RlV/CvRphlpu5clDK12jhYZ6tpP22gfS78bWLDqpF9gVqEnYIL+3Fo9MTghFdoMI8AouMaxHsTKZLN54LPjluw==", + "version": "2.0.25", + "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.25.tgz", + "integrity": "sha512-ykwcTCsIJ+Kh+VYy31CUvG9YBzMgEj5UF8Dy1kVZOcVQlgjvAaOUl/4D2C50oekGMDDAz3P5jyy35D68dqTSvg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/block-editor": "^8.0.15", - "@wordpress/block-library": "^6.0.23", + "@wordpress/block-library": "^6.0.24", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", @@ -4218,22 +4130,22 @@ } }, "@wordpress/edit-post": { - "version": "5.0.24", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.24.tgz", - "integrity": "sha512-62G/aCNRTNVMeNzm2xETTeR3yPZi5exymUXVkx5Hw3mAD6GHM2FOiIQ0U6eBSH/QTFHg7ihz/tcr35aUQIIdTQ==", + "version": "5.0.25", + "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.25.tgz", + "integrity": "sha512-jvIeHOHxh5FO57chGvsbnEBA3qokcLu/nsf67vENZvZvM6JBliBh+v3YX39SmorcD2fQW+wHaOcVQcXDj3MrPQ==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", "@wordpress/block-editor": "^8.0.15", - "@wordpress/block-library": "^6.0.23", + "@wordpress/block-library": "^6.0.24", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", "@wordpress/data-controls": "^2.2.8", - "@wordpress/editor": "^12.0.18", + "@wordpress/editor": "^12.0.19", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/i18n": "^4.2.4", @@ -4263,22 +4175,22 @@ } }, "@wordpress/edit-site": { - "version": "3.0.24", - "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.24.tgz", - "integrity": "sha512-VBCzct355ZgQZ8uQ0KJ6ut6+mvkQZVPqm9L2u659tB6GkZweZ39cBgJmWPHprXrLwSFTG0RHCHBHKlnfI+P2hA==", + "version": "3.0.25", + "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.25.tgz", + "integrity": "sha512-hprneaagDZbVPhWmpQ6e0/RU33/7NkyLS3vKPRsFhnC0Lo5dcTxJIILI92eKliUzq1OI7zCDZYYHOjbFOrhk/g==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", "@wordpress/block-editor": "^8.0.15", - "@wordpress/block-library": "^6.0.23", + "@wordpress/block-library": "^6.0.24", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", "@wordpress/data-controls": "^2.2.8", - "@wordpress/editor": "^12.0.18", + "@wordpress/editor": "^12.0.19", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/html-entities": "^3.2.3", @@ -4304,15 +4216,15 @@ } }, "@wordpress/edit-widgets": { - "version": "3.1.19", - "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.19.tgz", - "integrity": "sha512-21ZnyjgYZ8bwvczsRDQCBiNAMW6N9oEAmpQZgFIOE1ucZBu8cVdQDX2tmQep/VmewAho9JymU0IuYX2R9Xd8YA==", + "version": "3.1.20", + "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.20.tgz", + "integrity": "sha512-alGB2l5AJAZmw4UL/LJ1slGnU85FQ2fsIArm9AWLstYSU+Y51jYxgZgdrqOK30BJ9pHizsU81CtKb0xUtS9Eyg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", "@wordpress/block-editor": "^8.0.15", - "@wordpress/block-library": "^6.0.23", + "@wordpress/block-library": "^6.0.24", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", @@ -4340,9 +4252,9 @@ } }, "@wordpress/editor": { - "version": "12.0.18", - "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.18.tgz", - "integrity": "sha512-Dk0GmUggFpwm7kWiEbPF0O0S6gF6MmyM3tyGnRI/NmCgCZ/XD4qnguyrQ1kIZmwuuSNAnzKzQyJ3M5IIoDWqLA==", + "version": "12.0.19", + "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.19.tgz", + "integrity": "sha512-JTEL0RJm8Zamcw/M/sQcZdmHpfvxo/JWuwvMQi9ct0uczm8TDtHoBJlUHOqXYiy48VknQuOWreCCMEnoooTO3g==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", diff --git a/package.json b/package.json index e43d6de018b7c..77b9ce4c61e55 100644 --- a/package.json +++ b/package.json @@ -82,25 +82,25 @@ "@wordpress/api-fetch": "5.2.6", "@wordpress/autop": "3.2.3", "@wordpress/blob": "3.2.2", - "@wordpress/block-directory": "3.0.24", + "@wordpress/block-directory": "3.0.25", "@wordpress/block-editor": "8.0.15", - "@wordpress/block-library": "6.0.23", + "@wordpress/block-library": "6.0.24", "@wordpress/block-serialization-default-parser": "4.2.3", "@wordpress/blocks": "11.1.5", "@wordpress/components": "19.2.2", "@wordpress/compose": "5.0.7", "@wordpress/core-data": "4.0.9", - "@wordpress/customize-widgets": "2.0.24", + "@wordpress/customize-widgets": "2.0.25", "@wordpress/data": "6.1.5", "@wordpress/data-controls": "2.2.8", "@wordpress/date": "4.2.3", "@wordpress/deprecated": "3.2.3", "@wordpress/dom": "3.2.7", "@wordpress/dom-ready": "3.2.3", - "@wordpress/edit-post": "5.0.24", - "@wordpress/edit-site": "3.0.24", - "@wordpress/edit-widgets": "3.1.19", - "@wordpress/editor": "12.0.18", + "@wordpress/edit-post": "5.0.25", + "@wordpress/edit-site": "3.0.25", + "@wordpress/edit-widgets": "3.1.20", + "@wordpress/editor": "12.0.19", "@wordpress/element": "4.0.4", "@wordpress/escape-html": "2.2.3", "@wordpress/format-library": "3.0.21", diff --git a/src/wp-includes/assets/script-loader-packages.php b/src/wp-includes/assets/script-loader-packages.php index ab8df06a23a2a..f496d071851d2 100644 --- a/src/wp-includes/assets/script-loader-packages.php +++ b/src/wp-includes/assets/script-loader-packages.php @@ -1 +1 @@ - array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'fa03f246887237d01c383e85ff6f107c'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'acd6ed75d460d0d3781e1ef6c12cf2aa'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '59f6dbf5a1d9a141515c25411bc4f01e'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e65166da67ee5d5ff66d36ab14532b3b'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b8855b04f6a52a7bca89f8d945d46866'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'a8ff26eaaddf949aee8669d14277aec3'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => 'ac5d9a484dc6727f0ad9b0fd4e3c8d6d'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '69e3e97cdbc133df4f808ed0eca2a52a'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cc8e5d0e23cf68bb9944bf2a7a016e52'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'a32036d432544d670dbd252aafb343aa'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '8bc601986111961e36a4626e9187202b'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1491dea52ef44b12c4130dc7fe00ea20'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '15ee57b1f0ac2f25cdee181ee369950a'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'a4ae79ff9d722a302a31b7af5478e6b7'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '93e547cee9fc74070215d5c1ce324bf6'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'a6b5897d9fe0799f7c5167a4a9fb3fc2'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'be8358e0f87d66f2bec405069f113602'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '64e8de35a014ff611a39da7042d361dd'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7d156934b7b48d00965baf08e162ab91'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '7ad174e925c73007ee5b17358242e7d9'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => '1a6df337153da0478216f4b1f58bb3ec'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => '8659ca040bec4715a2e2d70e39481022'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '66e504d030a7022e8ff7b58a56042f3a'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => 'efd69d104b5723627fa66bce1f39c416'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '32e0abe121ab85a88acb6472274ad136'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4f03d9c45a01df8191f6833373fe1cfa'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '638b31b2e32bdc443afa62d9aa251d8a'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fee9af3abfeb76b497fd074608dca647'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '9ddfa7e364f034c04939567c6c6079d5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '78a4020b31c5ae28f7e97405b83d5027'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '57a448b50bb24e264205e448e0b19ea2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '411699046747b4d90f82c5b2547ff43c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'ab2c70450229febbbb0a87e88074db07'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b9e78ffafe025c455d9ccf2c1a78d1de'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'feee5fbb3df2a20c6dc4653f33d12e13'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '76d0e1ad216a273ab1359db9aaab1809'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ec5aecfc61b399ed5c8fa2de6b175942'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f4483156a9bae90512f894dbd867b929'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '436b8be211e4f30893de92b1faad8984'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '855cfaa16e1e86346cdf24239800bcaf'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'c8b79b06e8a76272ee868b17b6a9d37b'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '0e7a194ec8387c92e8d2c2b3755c3c9b'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'a50777df914543c1a77067959d6b3fbf'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'd99eea3ea07b8acf242f75a06a2c49ff'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '67406a236d2370eedc90db2dfdcb46bd'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5ebe2df53cf3c74ebffc7e2d3e76184c'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '3dd8fa0fcd8381649603b755437d9be1'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007')); \ No newline at end of file + array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'fa03f246887237d01c383e85ff6f107c'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'acd6ed75d460d0d3781e1ef6c12cf2aa'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '59f6dbf5a1d9a141515c25411bc4f01e'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e65166da67ee5d5ff66d36ab14532b3b'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b8855b04f6a52a7bca89f8d945d46866'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'a8ff26eaaddf949aee8669d14277aec3'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => 'ac5d9a484dc6727f0ad9b0fd4e3c8d6d'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '9121ba79f9f6bd15c1b4cd17907c86b3'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cc8e5d0e23cf68bb9944bf2a7a016e52'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'a32036d432544d670dbd252aafb343aa'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '8bc601986111961e36a4626e9187202b'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1491dea52ef44b12c4130dc7fe00ea20'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '15ee57b1f0ac2f25cdee181ee369950a'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'a4ae79ff9d722a302a31b7af5478e6b7'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '93e547cee9fc74070215d5c1ce324bf6'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'a6b5897d9fe0799f7c5167a4a9fb3fc2'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'be8358e0f87d66f2bec405069f113602'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '64e8de35a014ff611a39da7042d361dd'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7d156934b7b48d00965baf08e162ab91'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '7ad174e925c73007ee5b17358242e7d9'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => '1a6df337153da0478216f4b1f58bb3ec'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => 'dde8b7509907e7be17e474892a0acf90'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '66e504d030a7022e8ff7b58a56042f3a'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => 'ef2feccbd53a82ba328a9f678e261049'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '32e0abe121ab85a88acb6472274ad136'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4f03d9c45a01df8191f6833373fe1cfa'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '638b31b2e32bdc443afa62d9aa251d8a'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fee9af3abfeb76b497fd074608dca647'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '9ddfa7e364f034c04939567c6c6079d5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '78a4020b31c5ae28f7e97405b83d5027'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '57a448b50bb24e264205e448e0b19ea2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '411699046747b4d90f82c5b2547ff43c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'ab2c70450229febbbb0a87e88074db07'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b9e78ffafe025c455d9ccf2c1a78d1de'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'feee5fbb3df2a20c6dc4653f33d12e13'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '76d0e1ad216a273ab1359db9aaab1809'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ec5aecfc61b399ed5c8fa2de6b175942'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f4483156a9bae90512f894dbd867b929'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '436b8be211e4f30893de92b1faad8984'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '855cfaa16e1e86346cdf24239800bcaf'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'c8b79b06e8a76272ee868b17b6a9d37b'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '0e7a194ec8387c92e8d2c2b3755c3c9b'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'a50777df914543c1a77067959d6b3fbf'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'd99eea3ea07b8acf242f75a06a2c49ff'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '67406a236d2370eedc90db2dfdcb46bd'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5ebe2df53cf3c74ebffc7e2d3e76184c'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '3dd8fa0fcd8381649603b755437d9be1'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007')); \ No newline at end of file From 08aa0b796795ed736c13306565c4539c8ca744d3 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Mon, 24 Jan 2022 10:00:07 +0000 Subject: [PATCH 033/161] Help/About: Update Freedoms page for 5.9. Props peterwilsoncc, audrasjb, mikeschroder. Merges [52626] to the 5.9 branch. Fixes #54270. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52627 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/freedoms.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php index 03fe6a68087b5..b22f621f67a08 100644 --- a/src/wp-admin/freedoms.php +++ b/src/wp-admin/freedoms.php @@ -103,8 +103,6 @@ ); ?>

    - -

    Free Software Foundation.' ); ?>

    From b91bc3631ea73252aa5c836a497fde2224a11a1e Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Mon, 24 Jan 2022 12:49:40 +0000 Subject: [PATCH 034/161] Plugins/Themes: Allow to install/activate plugins/themes which require the WordPress version currently in development. Twenty Twenty-Two requires WordPress 5.9 but currently can't be (re)activated in the 5.9 branch because `version_compare( '5.9-RC3-52627', '5.9', '>=' )` as used by `is_wp_version_compatible()` returns `false`. To appreciate the testing of upcoming versions any `-alpha`, `-RC`, `-beta` suffixes are now stripped off from the WordPress version before checking for compatibility. Merges [52628] to the 5.9 branch. Fixes #54882. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52629 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 4666f980c7b6a..7a46a7f34ada5 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -8342,11 +8342,18 @@ function clean_dirsize_cache( $path ) { * * @since 5.2.0 * + * @global string $wp_version WordPress version. + * * @param string $required Minimum required WordPress version. * @return bool True if required version is compatible or empty, false if not. */ function is_wp_version_compatible( $required ) { - return empty( $required ) || version_compare( get_bloginfo( 'version' ), $required, '>=' ); + global $wp_version; + + // Strip off any -alpha, -RC, -beta, -src suffixes. + list( $version ) = explode( '-', $wp_version ); + + return empty( $required ) || version_compare( $version, $required, '>=' ); } /** From 693e0b0418c9a57b7accadc027a9cca5116dc4e5 Mon Sep 17 00:00:00 2001 From: Dominik Schilling Date: Mon, 24 Jan 2022 12:54:16 +0000 Subject: [PATCH 035/161] Tests: Revert [52617]. Following [52629], the tests no longer throw an exception. See #54318. See #54882. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52630 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/theme.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/phpunit/tests/theme.php b/tests/phpunit/tests/theme.php index 26cdc0d27b628..e16dd4c900d2a 100644 --- a/tests/phpunit/tests/theme.php +++ b/tests/phpunit/tests/theme.php @@ -261,7 +261,6 @@ public function theme_data_extra_headers() { * @expectedDeprecated get_current_theme */ public function test_switch_theme() { - $this->expectException( 'WPDieException' ); $themes = get_themes(); // Switch to each theme in sequence. @@ -721,7 +720,6 @@ public function data_register_theme_support_validation() { * } */ public function test_block_theme_has_default_support( $support ) { - $this->expectException( 'WPDieException' ); $this->helper_requires_block_theme(); $support_data = array_values( $support ); @@ -826,7 +824,6 @@ public function data_block_theme_has_default_support() { * @covers ::wp_should_load_separate_core_block_assets */ public function test_block_theme_should_load_separate_core_block_assets_by_default() { - $this->expectException( 'WPDieException' ); $this->helper_requires_block_theme(); add_filter( 'should_load_separate_core_block_assets', '__return_false' ); From 7fe1460337695cbe4ee40d9591d157c822be6339 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 24 Jan 2022 15:40:39 +0000 Subject: [PATCH 036/161] Docs: Docblock corrections for `get_block_file_template()`. Follow-up to [52324]. Props johnbillion, SergeyBiryukov, costdev. Merges [52631] to the 5.9 branch. Fixes #54879. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52632 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/block-template-utils.php | 44 ++++++++++++------------ 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/src/wp-includes/block-template-utils.php b/src/wp-includes/block-template-utils.php index 20ca871028beb..bb7280e95e252 100644 --- a/src/wp-includes/block-template-utils.php +++ b/src/wp-includes/block-template-utils.php @@ -498,8 +498,8 @@ function _remove_theme_attribute_in_block_template_content( $template_content ) * @since 5.9.0 * @access private * - * @param array $template_file Theme file. - * @param array $template_type 'wp_template' or 'wp_template_part'. + * @param array $template_file Theme file. + * @param string $template_type 'wp_template' or 'wp_template_part'. * * @return WP_Block_Template Template. */ @@ -600,7 +600,7 @@ function _build_block_template_result_from_post( $post ) { * * @since 5.8.0 * - * @param array $query { + * @param array $query { * Optional. Arguments to retrieve templates. * * @type array $slug__in List of slugs to include. @@ -608,7 +608,7 @@ function _build_block_template_result_from_post( $post ) { * @type string $area A 'wp_template_part_area' taxonomy value to filter by (for wp_template_part template type only). * @type string $post_type Post type to get the templates for. * } - * @param array $template_type 'wp_template' or 'wp_template_part'. + * @param string $template_type 'wp_template' or 'wp_template_part'. * * @return array Templates. */ @@ -622,14 +622,14 @@ function get_block_templates( $query = array(), $template_type = 'wp_template' ) * * @param WP_Block_Template[]|null $block_templates Return an array of block templates to short-circuit the default query, * or null to allow WP to run it's normal queries. - * @param array $query { + * @param array $query { * Optional. Arguments to retrieve templates. * * @type array $slug__in List of slugs to include. * @type int $wp_id Post ID of customized template. * @type string $post_type Post type to get the templates for. * } - * @param array $template_type wp_template or wp_template_part. + * @param string $template_type wp_template or wp_template_part. */ $templates = apply_filters( 'pre_get_block_templates', null, $query, $template_type ); if ( ! is_null( $templates ) ) { @@ -725,13 +725,13 @@ function get_block_templates( $query = array(), $template_type = 'wp_template' ) * @since 5.9.0 * * @param WP_Block_Template[] $query_result Array of found block templates. - * @param array $query { + * @param array $query { * Optional. Arguments to retrieve templates. * * @type array $slug__in List of slugs to include. * @type int $wp_id Post ID of customized template. * } - * @param array $template_type wp_template or wp_template_part. + * @param string $template_type wp_template or wp_template_part. */ return apply_filters( 'get_block_templates', $query_result, $query, $template_type ); } @@ -742,7 +742,7 @@ function get_block_templates( $query = array(), $template_type = 'wp_template' ) * @since 5.8.0 * * @param string $id Template unique identifier (example: theme_slug//template_slug). - * @param array $template_type Optional. Template type: `'wp_template'` or '`wp_template_part'`. + * @param string $template_type Optional. Template type: `'wp_template'` or '`wp_template_part'`. * Default `'wp_template'`. * * @return WP_Block_Template|null Template. @@ -757,8 +757,8 @@ function get_block_template( $id, $template_type = 'wp_template' ) { * * @param WP_Block_Template|null $block_template Return block template object to short-circuit the default query, * or null to allow WP to run its normal queries. - * @param string $id Template unique identifier (example: theme_slug//template_slug). - * @param array $template_type Template type: `'wp_template'` or '`wp_template_part'`. + * @param string $id Template unique identifier (example: theme_slug//template_slug). + * @param string $template_type Template type: `'wp_template'` or '`wp_template_part'`. */ $block_template = apply_filters( 'pre_get_block_template', null, $id, $template_type ); if ( ! is_null( $block_template ) ) { @@ -804,7 +804,7 @@ function get_block_template( $id, $template_type = 'wp_template' ) { * * @param WP_Block_Template|null $block_template The found block template, or null if there isn't one. * @param string $id Template unique identifier (example: theme_slug//template_slug). - * @param array $template_type Template type: `'wp_template'` or '`wp_template_part'`. + * @param string $template_type Template type: `'wp_template'` or '`wp_template_part'`. */ return apply_filters( 'get_block_template', $block_template, $id, $template_type ); } @@ -815,8 +815,9 @@ function get_block_template( $id, $template_type = 'wp_template' ) { * @since 5.9.0 * * @param string $id Template unique identifier (example: theme_slug//template_slug). - * @param array $template_type Optional. Template type: `'wp_template'` or '`wp_template_part'`. + * @param string $template_type Optional. Template type: `'wp_template'` or '`wp_template_part'`. * Default `'wp_template'`. + * @return WP_Block_Template|null The found block template, or null if there isn't one. */ function get_block_file_template( $id, $template_type = 'wp_template' ) { /** @@ -824,13 +825,12 @@ function get_block_file_template( $id, $template_type = 'wp_template' ) { * * Return a non-null value to bypass the WordPress queries. * - * * @since 5.9.0 * * @param WP_Block_Template|null $block_template Return block template object to short-circuit the default query, * or null to allow WP to run its normal queries. - * @param string $id Template unique identifier (example: theme_slug//template_slug). - * @param array $template_type Template type: `'wp_template'` or '`wp_template_part'`. + * @param string $id Template unique identifier (example: theme_slug//template_slug). + * @param string $template_type Template type: `'wp_template'` or '`wp_template_part'`. */ $block_template = apply_filters( 'pre_get_block_file_template', null, $id, $template_type ); if ( ! is_null( $block_template ) ) { @@ -839,19 +839,19 @@ function get_block_file_template( $id, $template_type = 'wp_template' ) { $parts = explode( '//', $id, 2 ); if ( count( $parts ) < 2 ) { - /** This filter is documented at the end of this function */ + /** This filter is documented in wp-includes/block-template-utils.php */ return apply_filters( 'get_block_file_template', null, $id, $template_type ); } list( $theme, $slug ) = $parts; if ( wp_get_theme()->get_stylesheet() !== $theme ) { - /** This filter is documented at the end of this function */ + /** This filter is documented in wp-includes/block-template-utils.php */ return apply_filters( 'get_block_file_template', null, $id, $template_type ); } $template_file = _get_block_template_file( $template_type, $slug ); if ( null === $template_file ) { - /** This filter is documented at the end of this function */ + /** This filter is documented in wp-includes/block-template-utils.php */ return apply_filters( 'get_block_file_template', null, $id, $template_type ); } @@ -862,9 +862,9 @@ function get_block_file_template( $id, $template_type = 'wp_template' ) { * * @since 5.9.0 * - * @param WP_Block_Template $block_template The found block template. - * @param string $id Template unique identifier (example: theme_slug//template_slug). - * @param array $template_type Template type: `'wp_template'` or '`wp_template_part'`. + * @param WP_Block_Template|null $block_template The found block template, or null if there is none. + * @param string $id Template unique identifier (example: theme_slug//template_slug). + * @param string $template_type Template type: `'wp_template'` or '`wp_template_part'`. */ return apply_filters( 'get_block_file_template', $block_template, $id, $template_type ); } From acc1a8ac6ca1450bb0fa1cb1d636369e698b4c9f Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Mon, 24 Jan 2022 16:06:10 +0000 Subject: [PATCH 037/161] Editor: Bump editor packages to include the latest fixes. This merges the latest package updates for the block editor to include the fix for https://github.com/WordPress/gutenberg/pull/38175. Props hellofromTonya, mamaduka, joen, talldanwp, cbravobernal, poena. Fixes #54487. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52634 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 114 +++++++++--------- package.json | 22 ++-- .../assets/script-loader-packages.php | 2 +- 3 files changed, 69 insertions(+), 69 deletions(-) diff --git a/package-lock.json b/package-lock.json index c507426096616..32de4e459887f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3723,21 +3723,21 @@ } }, "@wordpress/block-directory": { - "version": "3.0.25", - "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.25.tgz", - "integrity": "sha512-fI+gs6+jVmQMa1Pq5ae74WLpF8o2iNlO77qDwTxOzcgMKWfDTMhZ4VRgqbcYfB0Ed9ZHqPVe5dBGI6nmh7dUog==", + "version": "3.0.26", + "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.26.tgz", + "integrity": "sha512-+ufI3G3S3At+T6J0O3OsI37EyuYmt6NHELTnM8DmRWn+vDVWHpUFyUeHZwuPnqJCOq6orANsQctvGS45jq4BpA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.15", + "@wordpress/block-editor": "^8.0.16", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", - "@wordpress/edit-post": "^5.0.25", - "@wordpress/editor": "^12.0.19", + "@wordpress/edit-post": "^5.0.26", + "@wordpress/editor": "^12.0.20", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/html-entities": "^3.2.3", @@ -3750,9 +3750,9 @@ } }, "@wordpress/block-editor": { - "version": "8.0.15", - "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.15.tgz", - "integrity": "sha512-pI2Xl0ggALWlu5ZAV1Jk+qgnz9hFM06S/Av3b5dI5g2C1NkB8/eHFFtm/s+/HweLLZtqddonNrApt5Ih1d3N0A==", + "version": "8.0.16", + "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.16.tgz", + "integrity": "sha512-vXmP8OANw+ZBbcI05qFBeuPON7tc4z1bAhg4txcJVM6ACAckjDabSamg53dprOycvpNA7B+bJVCvYBgEWkV1xQ==", "requires": { "@babel/runtime": "^7.16.0", "@react-spring/web": "^9.2.4", @@ -3797,16 +3797,16 @@ } }, "@wordpress/block-library": { - "version": "6.0.24", - "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.24.tgz", - "integrity": "sha512-SUSliAGDX7DpEalCJxjzLQJwq5GxR+A8OVdFR/c1iEdRAbJHdDvvQyVxckhHCGcV2Ig7tUdnEyf8OcuCqyhPVw==", + "version": "6.0.25", + "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.25.tgz", + "integrity": "sha512-aHabUm+Oylx3dOnwQmJ45PKBZoC1P45phuYAoof05FK/NwPSnJNgYTBiRUB2H335zKfJJzChIKRUakruY/24XA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", "@wordpress/autop": "^3.2.3", "@wordpress/blob": "^3.2.2", - "@wordpress/block-editor": "^8.0.15", + "@wordpress/block-editor": "^8.0.16", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", @@ -3825,7 +3825,7 @@ "@wordpress/keycodes": "^3.2.4", "@wordpress/notices": "^3.2.8", "@wordpress/primitives": "^3.0.4", - "@wordpress/reusable-blocks": "^3.0.21", + "@wordpress/reusable-blocks": "^3.0.22", "@wordpress/rich-text": "^5.0.8", "@wordpress/server-side-render": "^3.0.19", "@wordpress/url": "^3.3.1", @@ -3978,14 +3978,14 @@ } }, "@wordpress/customize-widgets": { - "version": "2.0.25", - "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.25.tgz", - "integrity": "sha512-ykwcTCsIJ+Kh+VYy31CUvG9YBzMgEj5UF8Dy1kVZOcVQlgjvAaOUl/4D2C50oekGMDDAz3P5jyy35D68dqTSvg==", + "version": "2.0.26", + "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.26.tgz", + "integrity": "sha512-8BKJ3rasSD+H0utiieSoW6YsirPVdzSgyn3Q23d+iHioCNWkbaiaPiSDONFqHxhC3Lb2tc4cJ4WiGb/ucP7sGA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/block-editor": "^8.0.15", - "@wordpress/block-library": "^6.0.24", + "@wordpress/block-editor": "^8.0.16", + "@wordpress/block-library": "^6.0.25", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", @@ -4001,7 +4001,7 @@ "@wordpress/keyboard-shortcuts": "^3.0.7", "@wordpress/keycodes": "^3.2.4", "@wordpress/media-utils": "^3.0.5", - "@wordpress/widgets": "^2.0.21", + "@wordpress/widgets": "^2.0.22", "classnames": "^2.3.1", "lodash": "^4.17.21" } @@ -4130,22 +4130,22 @@ } }, "@wordpress/edit-post": { - "version": "5.0.25", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.25.tgz", - "integrity": "sha512-jvIeHOHxh5FO57chGvsbnEBA3qokcLu/nsf67vENZvZvM6JBliBh+v3YX39SmorcD2fQW+wHaOcVQcXDj3MrPQ==", + "version": "5.0.26", + "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.26.tgz", + "integrity": "sha512-KCws7pLvjxaOnPjMtEgmxEt3+bZt2qu1GdtP3LaPpQVBuvYVZUtHf3KLZcwlBJscBony/4XZBdvmGSvlUX050Q==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.15", - "@wordpress/block-library": "^6.0.24", + "@wordpress/block-editor": "^8.0.16", + "@wordpress/block-library": "^6.0.25", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", "@wordpress/data-controls": "^2.2.8", - "@wordpress/editor": "^12.0.19", + "@wordpress/editor": "^12.0.20", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/i18n": "^4.2.4", @@ -4175,22 +4175,22 @@ } }, "@wordpress/edit-site": { - "version": "3.0.25", - "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.25.tgz", - "integrity": "sha512-hprneaagDZbVPhWmpQ6e0/RU33/7NkyLS3vKPRsFhnC0Lo5dcTxJIILI92eKliUzq1OI7zCDZYYHOjbFOrhk/g==", + "version": "3.0.26", + "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.26.tgz", + "integrity": "sha512-KqpImFUS3cBT9gOcJENCm1j7vPpmQ+0k/zybZk+sYIWIR6hCcWo1HuKIJCfYTcBuQZG45r8ggtDeebrthjaT8Q==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.15", - "@wordpress/block-library": "^6.0.24", + "@wordpress/block-editor": "^8.0.16", + "@wordpress/block-library": "^6.0.25", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.9", "@wordpress/data": "^6.1.5", "@wordpress/data-controls": "^2.2.8", - "@wordpress/editor": "^12.0.19", + "@wordpress/editor": "^12.0.20", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/html-entities": "^3.2.3", @@ -4203,7 +4203,7 @@ "@wordpress/notices": "^3.2.8", "@wordpress/plugins": "^4.0.7", "@wordpress/primitives": "^3.0.4", - "@wordpress/reusable-blocks": "^3.0.21", + "@wordpress/reusable-blocks": "^3.0.22", "@wordpress/url": "^3.3.1", "@wordpress/viewport": "^4.0.7", "classnames": "^2.3.1", @@ -4216,15 +4216,15 @@ } }, "@wordpress/edit-widgets": { - "version": "3.1.20", - "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.20.tgz", - "integrity": "sha512-alGB2l5AJAZmw4UL/LJ1slGnU85FQ2fsIArm9AWLstYSU+Y51jYxgZgdrqOK30BJ9pHizsU81CtKb0xUtS9Eyg==", + "version": "3.1.21", + "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.21.tgz", + "integrity": "sha512-5jQ6XMmMgKP8dbp0ts29OHOFg0b2f+2hwvSij2lWH1dPogQ29oDfDdFkUu+3+8n2hJU7K2ShGq/xhMhT0+fTkw==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.15", - "@wordpress/block-library": "^6.0.24", + "@wordpress/block-editor": "^8.0.16", + "@wordpress/block-library": "^6.0.25", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", @@ -4241,10 +4241,10 @@ "@wordpress/media-utils": "^3.0.5", "@wordpress/notices": "^3.2.8", "@wordpress/plugins": "^4.0.7", - "@wordpress/reusable-blocks": "^3.0.21", + "@wordpress/reusable-blocks": "^3.0.22", "@wordpress/server-side-render": "^3.0.19", "@wordpress/url": "^3.3.1", - "@wordpress/widgets": "^2.0.21", + "@wordpress/widgets": "^2.0.22", "classnames": "^2.3.1", "lodash": "^4.17.21", "rememo": "^3.0.0", @@ -4252,16 +4252,16 @@ } }, "@wordpress/editor": { - "version": "12.0.19", - "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.19.tgz", - "integrity": "sha512-JTEL0RJm8Zamcw/M/sQcZdmHpfvxo/JWuwvMQi9ct0uczm8TDtHoBJlUHOqXYiy48VknQuOWreCCMEnoooTO3g==", + "version": "12.0.20", + "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.20.tgz", + "integrity": "sha512-+b1WiBKv2ZTcPcJTbxsvLYjAe8pG2aZvFoW4rt7jqXvyV4sf1cgJeVSeGEuydNuGPIuMGo1jLWsQiU+otEjGLA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.6", "@wordpress/autop": "^3.2.3", "@wordpress/blob": "^3.2.2", - "@wordpress/block-editor": "^8.0.15", + "@wordpress/block-editor": "^8.0.16", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", @@ -4280,7 +4280,7 @@ "@wordpress/keycodes": "^3.2.4", "@wordpress/media-utils": "^3.0.5", "@wordpress/notices": "^3.2.8", - "@wordpress/reusable-blocks": "^3.0.21", + "@wordpress/reusable-blocks": "^3.0.22", "@wordpress/rich-text": "^5.0.8", "@wordpress/server-side-render": "^3.0.19", "@wordpress/url": "^3.3.1", @@ -4369,13 +4369,13 @@ } }, "@wordpress/format-library": { - "version": "3.0.21", - "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.21.tgz", - "integrity": "sha512-CXuRBlwOHV8JvsrdhROAAVjcHZ3QVKaP5XdffYLOhLuQ+CvV6WF57r8E30HOo7V2Qndpu9066+3C2QRzj2eY1w==", + "version": "3.0.22", + "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.22.tgz", + "integrity": "sha512-lVVPW7w78Ip/6wOf+yXOmLnusnZ7pXioqKRoxeJCVnwq/xKb9O5vmiB2Izc7lZjPYxyKnC2LK+qEaZEctJwN/A==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/block-editor": "^8.0.15", + "@wordpress/block-editor": "^8.0.16", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", "@wordpress/data": "^6.1.5", @@ -4709,11 +4709,11 @@ } }, "@wordpress/reusable-blocks": { - "version": "3.0.21", - "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.21.tgz", - "integrity": "sha512-t/wI2yKL9UgWktfANAV5wVkgb1LCiave0fqsudPxKRA2UIuRu+H1ARex37TG35QI1rw4YPl+VS8Me7RFJKaYmg==", + "version": "3.0.22", + "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.22.tgz", + "integrity": "sha512-LFCElCO/y0u2XK6J/iZsTcnHdR77E37YCphecSVXHZ71v+PhRotTAvjMD9+4vQ7fLvsfLG4Zd94KI2TGz4IoOg==", "requires": { - "@wordpress/block-editor": "^8.0.15", + "@wordpress/block-editor": "^8.0.16", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", @@ -5757,13 +5757,13 @@ "integrity": "sha512-iG1Hq56RK3N6AJqAD1sRLWRIJatfYn+NrPyrfqRNZNYXHM8Vj/s7ABNMbIU0Y99vXkBE83rvCdbMkugNoI2jXA==" }, "@wordpress/widgets": { - "version": "2.0.21", - "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.21.tgz", - "integrity": "sha512-IQkdtCo7Hd2aI0AK/uL1II1EmieLUiISzVfJSBUZhRrQGcqzznfOY2PQDTpxIpY8iDJ0m5kmcyx0KQHW2cMFkQ==", + "version": "2.0.22", + "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.22.tgz", + "integrity": "sha512-6aMNxq3tbzcC5vqxCZSvTeo64mlN2ri4BX1kZNHkE+tSMhnzWwDQKSRFDZbH9k5U+KAIXrUA+HzbcjHrDiWpEg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.15", + "@wordpress/block-editor": "^8.0.16", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.2", "@wordpress/compose": "^5.0.7", diff --git a/package.json b/package.json index 77b9ce4c61e55..5d4aa49806a5f 100644 --- a/package.json +++ b/package.json @@ -82,28 +82,28 @@ "@wordpress/api-fetch": "5.2.6", "@wordpress/autop": "3.2.3", "@wordpress/blob": "3.2.2", - "@wordpress/block-directory": "3.0.25", - "@wordpress/block-editor": "8.0.15", - "@wordpress/block-library": "6.0.24", + "@wordpress/block-directory": "3.0.26", + "@wordpress/block-editor": "8.0.16", + "@wordpress/block-library": "6.0.25", "@wordpress/block-serialization-default-parser": "4.2.3", "@wordpress/blocks": "11.1.5", "@wordpress/components": "19.2.2", "@wordpress/compose": "5.0.7", "@wordpress/core-data": "4.0.9", - "@wordpress/customize-widgets": "2.0.25", + "@wordpress/customize-widgets": "2.0.26", "@wordpress/data": "6.1.5", "@wordpress/data-controls": "2.2.8", "@wordpress/date": "4.2.3", "@wordpress/deprecated": "3.2.3", "@wordpress/dom": "3.2.7", "@wordpress/dom-ready": "3.2.3", - "@wordpress/edit-post": "5.0.25", - "@wordpress/edit-site": "3.0.25", - "@wordpress/edit-widgets": "3.1.20", - "@wordpress/editor": "12.0.19", + "@wordpress/edit-post": "5.0.26", + "@wordpress/edit-site": "3.0.26", + "@wordpress/edit-widgets": "3.1.21", + "@wordpress/editor": "12.0.20", "@wordpress/element": "4.0.4", "@wordpress/escape-html": "2.2.3", - "@wordpress/format-library": "3.0.21", + "@wordpress/format-library": "3.0.22", "@wordpress/hooks": "3.2.2", "@wordpress/html-entities": "3.2.3", "@wordpress/i18n": "4.2.4", @@ -120,7 +120,7 @@ "@wordpress/primitives": "3.0.4", "@wordpress/priority-queue": "2.2.3", "@wordpress/redux-routine": "4.2.2", - "@wordpress/reusable-blocks": "3.0.21", + "@wordpress/reusable-blocks": "3.0.22", "@wordpress/rich-text": "5.0.8", "@wordpress/server-side-render": "3.0.19", "@wordpress/shortcode": "3.2.3", @@ -128,7 +128,7 @@ "@wordpress/url": "3.3.1", "@wordpress/viewport": "4.0.7", "@wordpress/warning": "2.2.2", - "@wordpress/widgets": "2.0.21", + "@wordpress/widgets": "2.0.22", "@wordpress/wordcount": "3.2.3", "backbone": "1.4.0", "clipboard": "2.0.8", diff --git a/src/wp-includes/assets/script-loader-packages.php b/src/wp-includes/assets/script-loader-packages.php index f496d071851d2..94a0f500f741f 100644 --- a/src/wp-includes/assets/script-loader-packages.php +++ b/src/wp-includes/assets/script-loader-packages.php @@ -1 +1 @@ - array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'fa03f246887237d01c383e85ff6f107c'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'acd6ed75d460d0d3781e1ef6c12cf2aa'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '59f6dbf5a1d9a141515c25411bc4f01e'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e65166da67ee5d5ff66d36ab14532b3b'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b8855b04f6a52a7bca89f8d945d46866'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'a8ff26eaaddf949aee8669d14277aec3'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => 'ac5d9a484dc6727f0ad9b0fd4e3c8d6d'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '9121ba79f9f6bd15c1b4cd17907c86b3'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cc8e5d0e23cf68bb9944bf2a7a016e52'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'a32036d432544d670dbd252aafb343aa'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '8bc601986111961e36a4626e9187202b'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1491dea52ef44b12c4130dc7fe00ea20'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '15ee57b1f0ac2f25cdee181ee369950a'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'a4ae79ff9d722a302a31b7af5478e6b7'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '93e547cee9fc74070215d5c1ce324bf6'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'a6b5897d9fe0799f7c5167a4a9fb3fc2'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'be8358e0f87d66f2bec405069f113602'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '64e8de35a014ff611a39da7042d361dd'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7d156934b7b48d00965baf08e162ab91'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '7ad174e925c73007ee5b17358242e7d9'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => '1a6df337153da0478216f4b1f58bb3ec'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => 'dde8b7509907e7be17e474892a0acf90'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '66e504d030a7022e8ff7b58a56042f3a'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => 'ef2feccbd53a82ba328a9f678e261049'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '32e0abe121ab85a88acb6472274ad136'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4f03d9c45a01df8191f6833373fe1cfa'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '638b31b2e32bdc443afa62d9aa251d8a'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fee9af3abfeb76b497fd074608dca647'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '9ddfa7e364f034c04939567c6c6079d5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '78a4020b31c5ae28f7e97405b83d5027'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '57a448b50bb24e264205e448e0b19ea2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '411699046747b4d90f82c5b2547ff43c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'ab2c70450229febbbb0a87e88074db07'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b9e78ffafe025c455d9ccf2c1a78d1de'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'feee5fbb3df2a20c6dc4653f33d12e13'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '76d0e1ad216a273ab1359db9aaab1809'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ec5aecfc61b399ed5c8fa2de6b175942'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f4483156a9bae90512f894dbd867b929'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '436b8be211e4f30893de92b1faad8984'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '855cfaa16e1e86346cdf24239800bcaf'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'c8b79b06e8a76272ee868b17b6a9d37b'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '0e7a194ec8387c92e8d2c2b3755c3c9b'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'a50777df914543c1a77067959d6b3fbf'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'd99eea3ea07b8acf242f75a06a2c49ff'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '67406a236d2370eedc90db2dfdcb46bd'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5ebe2df53cf3c74ebffc7e2d3e76184c'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '3dd8fa0fcd8381649603b755437d9be1'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007')); \ No newline at end of file + array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'fa03f246887237d01c383e85ff6f107c'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'acd6ed75d460d0d3781e1ef6c12cf2aa'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '59f6dbf5a1d9a141515c25411bc4f01e'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e65166da67ee5d5ff66d36ab14532b3b'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b8855b04f6a52a7bca89f8d945d46866'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'a8ff26eaaddf949aee8669d14277aec3'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => '85aa1b380c2c41a1ab8a56731690f7a1'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '9121ba79f9f6bd15c1b4cd17907c86b3'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cc8e5d0e23cf68bb9944bf2a7a016e52'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'a32036d432544d670dbd252aafb343aa'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '8bc601986111961e36a4626e9187202b'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1491dea52ef44b12c4130dc7fe00ea20'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '15ee57b1f0ac2f25cdee181ee369950a'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'a4ae79ff9d722a302a31b7af5478e6b7'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '93e547cee9fc74070215d5c1ce324bf6'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'a6b5897d9fe0799f7c5167a4a9fb3fc2'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'be8358e0f87d66f2bec405069f113602'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '64e8de35a014ff611a39da7042d361dd'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7d156934b7b48d00965baf08e162ab91'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '7ad174e925c73007ee5b17358242e7d9'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => '1a6df337153da0478216f4b1f58bb3ec'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => 'dde8b7509907e7be17e474892a0acf90'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '66e504d030a7022e8ff7b58a56042f3a'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => 'ef2feccbd53a82ba328a9f678e261049'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '32e0abe121ab85a88acb6472274ad136'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4f03d9c45a01df8191f6833373fe1cfa'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '638b31b2e32bdc443afa62d9aa251d8a'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fee9af3abfeb76b497fd074608dca647'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '9ddfa7e364f034c04939567c6c6079d5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '78a4020b31c5ae28f7e97405b83d5027'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '57a448b50bb24e264205e448e0b19ea2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '411699046747b4d90f82c5b2547ff43c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'ab2c70450229febbbb0a87e88074db07'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b9e78ffafe025c455d9ccf2c1a78d1de'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'feee5fbb3df2a20c6dc4653f33d12e13'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '76d0e1ad216a273ab1359db9aaab1809'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ec5aecfc61b399ed5c8fa2de6b175942'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f4483156a9bae90512f894dbd867b929'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '436b8be211e4f30893de92b1faad8984'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '855cfaa16e1e86346cdf24239800bcaf'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'c8b79b06e8a76272ee868b17b6a9d37b'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '0e7a194ec8387c92e8d2c2b3755c3c9b'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'a50777df914543c1a77067959d6b3fbf'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'd99eea3ea07b8acf242f75a06a2c49ff'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '67406a236d2370eedc90db2dfdcb46bd'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5ebe2df53cf3c74ebffc7e2d3e76184c'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '3dd8fa0fcd8381649603b755437d9be1'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007')); \ No newline at end of file From cce7fa72739c2dd902e13debdf8f81c4e5975949 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 24 Jan 2022 16:32:34 +0000 Subject: [PATCH 038/161] WordPress 5.9 RC4. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52635 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php index abcb157ca522c..05f9ea6b221e4 100644 --- a/src/wp-includes/version.php +++ b/src/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-RC3-52601-src'; +$wp_version = '5.9-RC4-src'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. From ff8f9751565099ba9c0a1b269530235df87b846e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 24 Jan 2022 17:00:35 +0000 Subject: [PATCH 039/161] Post WordPress 5.9 RC4 version bump. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52636 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php index 05f9ea6b221e4..0cda5889c2fe7 100644 --- a/src/wp-includes/version.php +++ b/src/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-RC4-src'; +$wp_version = '5.9-RC4-52636-src'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. From 3374dd709a3139d6207d45851c3763f8a4a2cd38 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 24 Jan 2022 18:33:06 +0000 Subject: [PATCH 040/161] Upgrade/Install: Update `$_old_files` for 5.9. Props davidbaumwald, hellofromTonya, SergeyBiryukov. Merges [52637] to the 5.9 branch. Fixes #54894. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52638 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/update-core.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/wp-admin/includes/update-core.php b/src/wp-admin/includes/update-core.php index 63538751ae5c7..b7666c6719b1e 100644 --- a/src/wp-admin/includes/update-core.php +++ b/src/wp-admin/includes/update-core.php @@ -826,6 +826,23 @@ 'wp-includes/css/dist/editor/editor-styles.min.css', 'wp-includes/css/dist/editor/editor-styles-rtl.css', 'wp-includes/css/dist/editor/editor-styles-rtl.min.css', + // 5.9 + 'wp-includes/blocks/heading/editor.css', + 'wp-includes/blocks/heading/editor.min.css', + 'wp-includes/blocks/heading/editor-rtl.css', + 'wp-includes/blocks/heading/editor-rtl.min.css', + 'wp-includes/blocks/post-content/editor.css', + 'wp-includes/blocks/post-content/editor.min.css', + 'wp-includes/blocks/post-content/editor-rtl.css', + 'wp-includes/blocks/post-content/editor-rtl.min.css', + 'wp-includes/blocks/query-title/editor.css', + 'wp-includes/blocks/query-title/editor.min.css', + 'wp-includes/blocks/query-title/editor-rtl.css', + 'wp-includes/blocks/query-title/editor-rtl.min.css', + 'wp-includes/blocks/tag-cloud/editor.css', + 'wp-includes/blocks/tag-cloud/editor.min.css', + 'wp-includes/blocks/tag-cloud/editor-rtl.css', + 'wp-includes/blocks/tag-cloud/editor-rtl.min.css', ); /** From c97dfaeeb3842e03e7a8f4f4c053f1c7adfedb43 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 25 Jan 2022 19:46:36 +0000 Subject: [PATCH 041/161] WordPress 5.9. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52641 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php index 0cda5889c2fe7..17cd9c6364bd5 100644 --- a/src/wp-includes/version.php +++ b/src/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-RC4-52636-src'; +$wp_version = '5.9-src'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. From 7c346cf7b4613fd726af573eba8f45275b2c5fe8 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 25 Jan 2022 21:30:10 +0000 Subject: [PATCH 042/161] Post WordPress 5.9 version bump. The 5.9 branch is now 5.9.1-alpha. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52643 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 2 +- package.json | 2 +- src/wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 32de4e459887f..a5e615a8b53ef 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "WordPress", - "version": "5.9.0", + "version": "5.9.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 5d4aa49806a5f..e05078fa0646c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "WordPress", - "version": "5.9.0", + "version": "5.9.1", "description": "WordPress is open source software you can use to create a beautiful website, blog, or app.", "repository": { "type": "svn", diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php index 17cd9c6364bd5..d3e265462599d 100644 --- a/src/wp-includes/version.php +++ b/src/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9-src'; +$wp_version = '5.9.1-alpha-52643-src'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. From dd1c0af37cfbb4d0d0b5c34d0066ca2339a1b8b0 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Wed, 2 Feb 2022 23:24:40 +0000 Subject: [PATCH 043/161] Upgrade: Prevent warnings upgrading cron array. An unvisited site may have an undefined cron array, resulting in `_get_cron_array()` returning the value `false`. Previously this would trigger warning in `upgrade_590()` as the function assumed `_get_cron_array()` would alway return an array. No database version change is required as the upgrade routine was successful on sites with a cron array during 5.9.0. On sites without a cron array, the error has already been thrown if they are running db version 51917. This fix is only required for new sites or those upgrading that have skipped 5.9.0. Follow up to [51917]. Props chrisvanpatten, kapilpaul, SergeyBiryukov, audrasjb. Merges [52656] and [52662] to the 5.9 branch. Fixes #54906. See #53940. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52663 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/upgrade.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index fb1427260d552..aee7beb69b208 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -2269,9 +2269,12 @@ function upgrade_590() { if ( $wp_current_db_version < 51917 ) { $crons = _get_cron_array(); - // Remove errant `false` values, see #53950. - $crons = array_filter( $crons ); - _set_cron_array( $crons ); + + if ( $crons && is_array( $crons ) ) { + // Remove errant `false` values, see #53950, #54906. + $crons = array_filter( $crons ); + _set_cron_array( $crons ); + } } } From f8ce6e2da0c2f67a32331e489aaa3384043f0382 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Thu, 3 Feb 2022 00:02:28 +0000 Subject: [PATCH 044/161] External libraries: Update jQuery UI to 1.13.1 Some regressions happened alongside the release of jQuery UI 1.13.0, this brings the fixes from 1.13.1 downstream to WordPress, notably relating to Widget, Autocomplete, Sortable, and Tooltip modules. See the changelog between version 1.13.0 and 1.13.1 at https://github.com/jquery/jquery-ui/compare/1.13.0...1.13.1 Props blogaid, linux4me2, mgol, Clorith. Merges [52648] to the 5.9 branch. Fixes #54902. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52665 602fd350-edb4-49c9-b593-d223f7449a82 --- .../_enqueues/vendor/jquery/ui/accordion.js | 96 +++--- .../vendor/jquery/ui/autocomplete.js | 141 ++++----- src/js/_enqueues/vendor/jquery/ui/button.js | 10 +- .../vendor/jquery/ui/checkboxradio.js | 4 +- .../vendor/jquery/ui/controlgroup.js | 4 +- src/js/_enqueues/vendor/jquery/ui/core.js | 49 +-- .../_enqueues/vendor/jquery/ui/datepicker.js | 278 +++++++++--------- src/js/_enqueues/vendor/jquery/ui/dialog.js | 10 +- .../_enqueues/vendor/jquery/ui/draggable.js | 78 ++--- .../_enqueues/vendor/jquery/ui/droppable.js | 66 ++--- .../vendor/jquery/ui/effect-blind.js | 2 +- .../vendor/jquery/ui/effect-bounce.js | 2 +- .../_enqueues/vendor/jquery/ui/effect-clip.js | 2 +- .../_enqueues/vendor/jquery/ui/effect-drop.js | 2 +- .../vendor/jquery/ui/effect-explode.js | 32 +- .../_enqueues/vendor/jquery/ui/effect-fade.js | 2 +- .../_enqueues/vendor/jquery/ui/effect-fold.js | 2 +- .../vendor/jquery/ui/effect-highlight.js | 2 +- .../_enqueues/vendor/jquery/ui/effect-puff.js | 2 +- .../vendor/jquery/ui/effect-pulsate.js | 2 +- .../vendor/jquery/ui/effect-scale.js | 2 +- .../vendor/jquery/ui/effect-shake.js | 2 +- .../_enqueues/vendor/jquery/ui/effect-size.js | 2 +- .../vendor/jquery/ui/effect-slide.js | 2 +- .../vendor/jquery/ui/effect-transfer.js | 2 +- src/js/_enqueues/vendor/jquery/ui/effect.js | 92 +++--- src/js/_enqueues/vendor/jquery/ui/menu.js | 178 +++++------ src/js/_enqueues/vendor/jquery/ui/mouse.js | 10 +- .../_enqueues/vendor/jquery/ui/progressbar.js | 4 +- .../_enqueues/vendor/jquery/ui/resizable.js | 84 +++--- .../_enqueues/vendor/jquery/ui/selectable.js | 8 +- .../_enqueues/vendor/jquery/ui/selectmenu.js | 102 +++---- src/js/_enqueues/vendor/jquery/ui/slider.js | 8 +- src/js/_enqueues/vendor/jquery/ui/sortable.js | 225 +++++++------- src/js/_enqueues/vendor/jquery/ui/spinner.js | 42 +-- src/js/_enqueues/vendor/jquery/ui/tabs.js | 90 +++--- src/js/_enqueues/vendor/jquery/ui/tooltip.js | 11 +- src/wp-includes/script-loader.php | 80 ++--- 38 files changed, 870 insertions(+), 860 deletions(-) diff --git a/src/js/_enqueues/vendor/jquery/ui/accordion.js b/src/js/_enqueues/vendor/jquery/ui/accordion.js index 0c1035d82e21d..f77d2d4ff74f4 100644 --- a/src/js/_enqueues/vendor/jquery/ui/accordion.js +++ b/src/js/_enqueues/vendor/jquery/ui/accordion.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Accordion 1.13.0 + * jQuery UI Accordion 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -37,7 +37,7 @@ "use strict"; return $.widget( "ui.accordion", { - version: "1.13.0", + version: "1.13.1", options: { active: 0, animate: {}, @@ -204,24 +204,24 @@ return $.widget( "ui.accordion", { toFocus = false; switch ( event.keyCode ) { - case keyCode.RIGHT: - case keyCode.DOWN: - toFocus = this.headers[ ( currentIndex + 1 ) % length ]; - break; - case keyCode.LEFT: - case keyCode.UP: - toFocus = this.headers[ ( currentIndex - 1 + length ) % length ]; - break; - case keyCode.SPACE: - case keyCode.ENTER: - this._eventHandler( event ); - break; - case keyCode.HOME: - toFocus = this.headers[ 0 ]; - break; - case keyCode.END: - toFocus = this.headers[ length - 1 ]; - break; + case keyCode.RIGHT: + case keyCode.DOWN: + toFocus = this.headers[ ( currentIndex + 1 ) % length ]; + break; + case keyCode.LEFT: + case keyCode.UP: + toFocus = this.headers[ ( currentIndex - 1 + length ) % length ]; + break; + case keyCode.SPACE: + case keyCode.ENTER: + this._eventHandler( event ); + break; + case keyCode.HOME: + toFocus = this.headers[ 0 ]; + break; + case keyCode.END: + toFocus = this.headers[ length - 1 ]; + break; } if ( toFocus ) { @@ -244,15 +244,15 @@ return $.widget( "ui.accordion", { // Was collapsed or no panel if ( ( options.active === false && options.collapsible === true ) || - !this.headers.length ) { + !this.headers.length ) { options.active = false; this.active = $(); - // active false only when collapsible is true + // active false only when collapsible is true } else if ( options.active === false ) { this._activate( 0 ); - // was active, but active panel is gone + // was active, but active panel is gone } else if ( this.active.length && !$.contains( this.element[ 0 ], this.active[ 0 ] ) ) { // all remaining panel are disabled @@ -260,12 +260,12 @@ return $.widget( "ui.accordion", { options.active = false; this.active = $(); - // activate previous panel + // activate previous panel } else { this._activate( Math.max( 0, options.active - 1 ) ); } - // was active, active panel still exists + // was active, active panel still exists } else { // make sure active index is correct @@ -322,20 +322,20 @@ return $.widget( "ui.accordion", { panel.attr( "aria-labelledby", headerId ); } ) .next() - .attr( "role", "tabpanel" ); + .attr( "role", "tabpanel" ); this.headers .not( this.active ) - .attr( { - "aria-selected": "false", - "aria-expanded": "false", - tabIndex: -1 - } ) - .next() - .attr( { - "aria-hidden": "true" - } ) - .hide(); + .attr( { + "aria-selected": "false", + "aria-expanded": "false", + tabIndex: -1 + } ) + .next() + .attr( { + "aria-hidden": "true" + } ) + .hide(); // Make sure at least one header is in the tab order if ( !this.active.length ) { @@ -347,9 +347,9 @@ return $.widget( "ui.accordion", { tabIndex: 0 } ) .next() - .attr( { - "aria-hidden": "false" - } ); + .attr( { + "aria-hidden": "false" + } ); } this._createIcons(); @@ -454,11 +454,11 @@ return $.widget( "ui.accordion", { if ( - // click on active header, but not collapsible - ( clickedIsActive && !options.collapsible ) || + // click on active header, but not collapsible + ( clickedIsActive && !options.collapsible ) || - // allow canceling activation - ( this._trigger( "beforeActivate", event, eventData ) === false ) ) { + // allow canceling activation + ( this._trigger( "beforeActivate", event, eventData ) === false ) ) { return; } @@ -534,11 +534,11 @@ return $.widget( "ui.accordion", { toShow .attr( "aria-hidden", "false" ) .prev() - .attr( { - "aria-selected": "true", - "aria-expanded": "true", - tabIndex: 0 - } ); + .attr( { + "aria-selected": "true", + "aria-expanded": "true", + tabIndex: 0 + } ); }, _animate: function( toShow, toHide, data ) { diff --git a/src/js/_enqueues/vendor/jquery/ui/autocomplete.js b/src/js/_enqueues/vendor/jquery/ui/autocomplete.js index 7116629005d8c..a8cfbfb4aa50d 100644 --- a/src/js/_enqueues/vendor/jquery/ui/autocomplete.js +++ b/src/js/_enqueues/vendor/jquery/ui/autocomplete.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Autocomplete 1.13.0 + * jQuery UI Autocomplete 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -36,7 +36,7 @@ "use strict"; $.widget( "ui.autocomplete", { - version: "1.13.0", + version: "1.13.1", defaultElement: "", options: { appendTo: null, @@ -62,6 +62,7 @@ $.widget( "ui.autocomplete", { requestIndex: 0, pending: 0, + liveRegionTimer: null, _create: function() { @@ -103,58 +104,58 @@ $.widget( "ui.autocomplete", { suppressKeyPressRepeat = false; var keyCode = $.ui.keyCode; switch ( event.keyCode ) { - case keyCode.PAGE_UP: - suppressKeyPress = true; - this._move( "previousPage", event ); - break; - case keyCode.PAGE_DOWN: - suppressKeyPress = true; - this._move( "nextPage", event ); - break; - case keyCode.UP: - suppressKeyPress = true; - this._keyEvent( "previous", event ); - break; - case keyCode.DOWN: - suppressKeyPress = true; - this._keyEvent( "next", event ); - break; - case keyCode.ENTER: - - // when menu is open and has focus - if ( this.menu.active ) { - - // #6055 - Opera still allows the keypress to occur - // which causes forms to submit + case keyCode.PAGE_UP: suppressKeyPress = true; - event.preventDefault(); - this.menu.select( event ); - } - break; - case keyCode.TAB: - if ( this.menu.active ) { - this.menu.select( event ); - } - break; - case keyCode.ESCAPE: - if ( this.menu.element.is( ":visible" ) ) { - if ( !this.isMultiLine ) { - this._value( this.term ); + this._move( "previousPage", event ); + break; + case keyCode.PAGE_DOWN: + suppressKeyPress = true; + this._move( "nextPage", event ); + break; + case keyCode.UP: + suppressKeyPress = true; + this._keyEvent( "previous", event ); + break; + case keyCode.DOWN: + suppressKeyPress = true; + this._keyEvent( "next", event ); + break; + case keyCode.ENTER: + + // when menu is open and has focus + if ( this.menu.active ) { + + // #6055 - Opera still allows the keypress to occur + // which causes forms to submit + suppressKeyPress = true; + event.preventDefault(); + this.menu.select( event ); } - this.close( event ); - - // Different browsers have different default behavior for escape - // Single press can mean undo or clear - // Double press in IE means clear the whole form - event.preventDefault(); - } - break; - default: - suppressKeyPressRepeat = true; + break; + case keyCode.TAB: + if ( this.menu.active ) { + this.menu.select( event ); + } + break; + case keyCode.ESCAPE: + if ( this.menu.element.is( ":visible" ) ) { + if ( !this.isMultiLine ) { + this._value( this.term ); + } + this.close( event ); + + // Different browsers have different default behavior for escape + // Single press can mean undo or clear + // Double press in IE means clear the whole form + event.preventDefault(); + } + break; + default: + suppressKeyPressRepeat = true; - // search timeout should be triggered before the input value is changed - this._searchTimeout( event ); - break; + // search timeout should be triggered before the input value is changed + this._searchTimeout( event ); + break; } }, keypress: function( event ) { @@ -172,18 +173,18 @@ $.widget( "ui.autocomplete", { // Replicate some key handlers to allow them to repeat in Firefox and Opera var keyCode = $.ui.keyCode; switch ( event.keyCode ) { - case keyCode.PAGE_UP: - this._move( "previousPage", event ); - break; - case keyCode.PAGE_DOWN: - this._move( "nextPage", event ); - break; - case keyCode.UP: - this._keyEvent( "previous", event ); - break; - case keyCode.DOWN: - this._keyEvent( "next", event ); - break; + case keyCode.PAGE_UP: + this._move( "previousPage", event ); + break; + case keyCode.PAGE_DOWN: + this._move( "nextPage", event ); + break; + case keyCode.UP: + this._keyEvent( "previous", event ); + break; + case keyCode.DOWN: + this._keyEvent( "next", event ); + break; } }, input: function( event ) { @@ -263,8 +264,10 @@ $.widget( "ui.autocomplete", { // Announce the value in the liveRegion label = ui.item.attr( "aria-label" ) || item.value; if ( label && String.prototype.trim.call( label ).length ) { - this.liveRegion.children().hide(); - $( "
    " ).text( label ).appendTo( this.liveRegion ); + clearTimeout( this.liveRegionTimer ); + this.liveRegionTimer = this._delay( function() { + this.liveRegion.html( $( "
    " ).text( label ) ); + }, 100 ); } }, menuselect: function( event, ui ) { @@ -574,7 +577,7 @@ $.widget( "ui.autocomplete", { return; } if ( this.menu.isFirstItem() && /^previous/.test( direction ) || - this.menu.isLastItem() && /^next/.test( direction ) ) { + this.menu.isLastItem() && /^next/.test( direction ) ) { if ( !this.isMultiLine ) { this._value( this.term ); @@ -659,8 +662,10 @@ $.widget( "ui.autocomplete", $.ui.autocomplete, { } else { message = this.options.messages.noResults; } - this.liveRegion.children().hide(); - $( "
    " ).text( message ).appendTo( this.liveRegion ); + clearTimeout( this.liveRegionTimer ); + this.liveRegionTimer = this._delay( function() { + this.liveRegion.html( $( "
    " ).text( message ) ); + }, 100 ); } } ); diff --git a/src/js/_enqueues/vendor/jquery/ui/button.js b/src/js/_enqueues/vendor/jquery/ui/button.js index cb9c8c0c6bbd9..71013ee4c8ea0 100644 --- a/src/js/_enqueues/vendor/jquery/ui/button.js +++ b/src/js/_enqueues/vendor/jquery/ui/button.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Button 1.13.0 + * jQuery UI Button 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -41,7 +41,7 @@ "use strict"; $.widget( "ui.button", { - version: "1.13.0", + version: "1.13.1", defaultElement: "
    " + - ( ( numMonths[ 0 ] > 0 && col === numMonths[ 1 ] - 1 ) ? "
    " : "" ) : "" ); + ( ( numMonths[ 0 ] > 0 && col === numMonths[ 1 ] - 1 ) ? "
    " : "" ) : "" ); group += calender; } html += group; @@ -1956,7 +1956,7 @@ $.extend( Datepicker.prototype, { /* Generate the month and year header. */ _generateMonthYearHeader: function( inst, drawMonth, drawYear, minDate, maxDate, - secondary, monthNames, monthNamesShort ) { + secondary, monthNames, monthNamesShort ) { var inMinYear, inMaxYear, month, years, thisYear, determineYear, year, endYear, changeMonth = this._get( inst, "changeMonth" ), @@ -2001,7 +2001,7 @@ $.extend( Datepicker.prototype, { determineYear = function( value ) { var year = ( value.match( /c[+\-].*/ ) ? drawYear + parseInt( value.substring( 1 ), 10 ) : ( value.match( /[+\-].*/ ) ? thisYear + parseInt( value, 10 ) : - parseInt( value, 10 ) ) ); + parseInt( value, 10 ) ) ); return ( isNaN( year ) ? thisYear : year ); }; year = determineYear( years[ 0 ] ); @@ -2086,7 +2086,7 @@ $.extend( Datepicker.prototype, { _canAdjustMonth: function( inst, offset, curYear, curMonth ) { var numMonths = this._getNumberOfMonths( inst ), date = this._daylightSavingAdjust( new Date( curYear, - curMonth + ( offset < 0 ? offset : numMonths[ 0 ] * numMonths[ 1 ] ), 1 ) ); + curMonth + ( offset < 0 ? offset : numMonths[ 0 ] * numMonths[ 1 ] ), 1 ) ); if ( offset < 0 ) { date.setDate( this._getDaysInMonth( date.getFullYear(), date.getMonth() ) ); @@ -2102,18 +2102,18 @@ $.extend( Datepicker.prototype, { minYear = null, maxYear = null, years = this._get( inst, "yearRange" ); - if ( years ) { - yearSplit = years.split( ":" ); - currentYear = new Date().getFullYear(); - minYear = parseInt( yearSplit[ 0 ], 10 ); - maxYear = parseInt( yearSplit[ 1 ], 10 ); - if ( yearSplit[ 0 ].match( /[+\-].*/ ) ) { - minYear += currentYear; - } - if ( yearSplit[ 1 ].match( /[+\-].*/ ) ) { - maxYear += currentYear; - } + if ( years ) { + yearSplit = years.split( ":" ); + currentYear = new Date().getFullYear(); + minYear = parseInt( yearSplit[ 0 ], 10 ); + maxYear = parseInt( yearSplit[ 1 ], 10 ); + if ( yearSplit[ 0 ].match( /[+\-].*/ ) ) { + minYear += currentYear; } + if ( yearSplit[ 1 ].match( /[+\-].*/ ) ) { + maxYear += currentYear; + } + } return ( ( !minDate || date.getTime() >= minDate.getTime() ) && ( !maxDate || date.getTime() <= maxDate.getTime() ) && @@ -2139,7 +2139,7 @@ $.extend( Datepicker.prototype, { inst.currentYear = inst.selectedYear; } var date = ( day ? ( typeof day === "object" ? day : - this._daylightSavingAdjust( new Date( year, month, day ) ) ) : + this._daylightSavingAdjust( new Date( year, month, day ) ) ) : this._daylightSavingAdjust( new Date( inst.currentYear, inst.currentMonth, inst.currentDay ) ) ); return this.formatDate( this._get( inst, "dateFormat" ), date, this._getFormatConfig( inst ) ); } @@ -2153,14 +2153,14 @@ $.extend( Datepicker.prototype, { function datepicker_bindHover( dpDiv ) { var selector = "button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a"; return dpDiv.on( "mouseout", selector, function() { - $( this ).removeClass( "ui-state-hover" ); - if ( this.className.indexOf( "ui-datepicker-prev" ) !== -1 ) { - $( this ).removeClass( "ui-datepicker-prev-hover" ); - } - if ( this.className.indexOf( "ui-datepicker-next" ) !== -1 ) { - $( this ).removeClass( "ui-datepicker-next-hover" ); - } - } ) + $( this ).removeClass( "ui-state-hover" ); + if ( this.className.indexOf( "ui-datepicker-prev" ) !== -1 ) { + $( this ).removeClass( "ui-datepicker-prev-hover" ); + } + if ( this.className.indexOf( "ui-datepicker-next" ) !== -1 ) { + $( this ).removeClass( "ui-datepicker-next-hover" ); + } + } ) .on( "mouseover", selector, datepicker_handleMouseover ); } @@ -2213,11 +2213,11 @@ $.fn.datepicker = function( options ) { var otherArgs = Array.prototype.slice.call( arguments, 1 ); if ( typeof options === "string" && ( options === "isDisabled" || options === "getDate" || options === "widget" ) ) { return $.datepicker[ "_" + options + "Datepicker" ]. - apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) ); + apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) ); } if ( options === "option" && arguments.length === 2 && typeof arguments[ 1 ] === "string" ) { return $.datepicker[ "_" + options + "Datepicker" ]. - apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) ); + apply( $.datepicker, [ this[ 0 ] ].concat( otherArgs ) ); } return this.each( function() { if ( typeof options === "string" ) { @@ -2232,7 +2232,7 @@ $.fn.datepicker = function( options ) { $.datepicker = new Datepicker(); // singleton instance $.datepicker.initialized = false; $.datepicker.uuid = new Date().getTime(); -$.datepicker.version = "1.13.0"; +$.datepicker.version = "1.13.1"; return $.datepicker; diff --git a/src/js/_enqueues/vendor/jquery/ui/dialog.js b/src/js/_enqueues/vendor/jquery/ui/dialog.js index 4d6483746daed..7687bc0f03e8d 100644 --- a/src/js/_enqueues/vendor/jquery/ui/dialog.js +++ b/src/js/_enqueues/vendor/jquery/ui/dialog.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Dialog 1.13.0 + * jQuery UI Dialog 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -39,7 +39,7 @@ "use strict"; $.widget( "ui.dialog", { - version: "1.13.0", + version: "1.13.1", options: { appendTo: "body", autoOpen: true, @@ -354,7 +354,7 @@ $.widget( "ui.dialog", { this._on( this.uiDialog, { keydown: function( event ) { if ( this.options.closeOnEscape && !event.isDefaultPrevented() && event.keyCode && - event.keyCode === $.ui.keyCode.ESCAPE ) { + event.keyCode === $.ui.keyCode.ESCAPE ) { event.preventDefault(); this.close( event ); return; @@ -369,13 +369,13 @@ $.widget( "ui.dialog", { last = tabbables.last(); if ( ( event.target === last[ 0 ] || event.target === this.uiDialog[ 0 ] ) && - !event.shiftKey ) { + !event.shiftKey ) { this._delay( function() { first.trigger( "focus" ); } ); event.preventDefault(); } else if ( ( event.target === first[ 0 ] || - event.target === this.uiDialog[ 0 ] ) && event.shiftKey ) { + event.target === this.uiDialog[ 0 ] ) && event.shiftKey ) { this._delay( function() { last.trigger( "focus" ); } ); diff --git a/src/js/_enqueues/vendor/jquery/ui/draggable.js b/src/js/_enqueues/vendor/jquery/ui/draggable.js index 63875f0c5942c..91327578ad687 100644 --- a/src/js/_enqueues/vendor/jquery/ui/draggable.js +++ b/src/js/_enqueues/vendor/jquery/ui/draggable.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Draggable 1.13.0 + * jQuery UI Draggable 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -34,7 +34,7 @@ "use strict"; $.widget( "ui.draggable", $.ui.mouse, { - version: "1.13.0", + version: "1.13.1", widgetEventPrefix: "drag", options: { addClasses: true, @@ -102,7 +102,7 @@ $.widget( "ui.draggable", $.ui.mouse, { // Among others, prevent a drag on a resizable-handle if ( this.helper || o.disabled || - $( event.target ).closest( ".ui-resizable-handle" ).length > 0 ) { + $( event.target ).closest( ".ui-resizable-handle" ).length > 0 ) { return false; } @@ -185,8 +185,8 @@ $.widget( "ui.draggable", $.ui.mouse, { this.scrollParent = this.helper.scrollParent( true ); this.offsetParent = this.helper.offsetParent(); this.hasFixedAncestor = this.helper.parents().filter( function() { - return $( this ).css( "position" ) === "fixed"; - } ).length > 0; + return $( this ).css( "position" ) === "fixed"; + } ).length > 0; //The element's absolute position on the page minus margins this.positionAbs = this.element.offset(); @@ -294,8 +294,8 @@ $.widget( "ui.draggable", $.ui.mouse, { } if ( ( this.options.revert === "invalid" && !dropped ) || - ( this.options.revert === "valid" && dropped ) || - this.options.revert === true || ( typeof this.options.revert === "function" && + ( this.options.revert === "valid" && dropped ) || + this.options.revert === true || ( typeof this.options.revert === "function" && this.options.revert.call( this.element, dropped ) ) ) { $( this.helper ).animate( @@ -388,7 +388,7 @@ $.widget( "ui.draggable", $.ui.mouse, { } if ( helper[ 0 ] !== this.element[ 0 ] && - !( /(fixed|absolute)/ ).test( helper.css( "position" ) ) ) { + !( /(fixed|absolute)/ ).test( helper.css( "position" ) ) ) { helper.css( "position", "absolute" ); } @@ -441,7 +441,7 @@ $.widget( "ui.draggable", $.ui.mouse, { // the document, which means that the scroll is included in the initial calculation of the // offset of the parent, and never recalculated upon drag if ( this.cssPosition === "absolute" && this.scrollParent[ 0 ] !== document && - $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) { + $.contains( this.scrollParent[ 0 ], this.offsetParent[ 0 ] ) ) { po.left += this.scrollParent.scrollLeft(); po.top += this.scrollParent.scrollTop(); } @@ -508,10 +508,10 @@ $.widget( "ui.draggable", $.ui.mouse, { $( window ).scrollLeft() - this.offset.relative.left - this.offset.parent.left, $( window ).scrollTop() - this.offset.relative.top - this.offset.parent.top, $( window ).scrollLeft() + $( window ).width() - - this.helperProportions.width - this.margins.left, + this.helperProportions.width - this.margins.left, $( window ).scrollTop() + - ( $( window ).height() || document.body.parentNode.scrollHeight ) - - this.helperProportions.height - this.margins.top + ( $( window ).height() || document.body.parentNode.scrollHeight ) - + this.helperProportions.height - this.margins.top ]; return; } @@ -522,7 +522,7 @@ $.widget( "ui.draggable", $.ui.mouse, { 0, $( document ).width() - this.helperProportions.width - this.margins.left, ( $( document ).height() || document.body.parentNode.scrollHeight ) - - this.helperProportions.height - this.margins.top + this.helperProportions.height - this.margins.top ]; return; } @@ -547,21 +547,21 @@ $.widget( "ui.draggable", $.ui.mouse, { this.containment = [ ( parseInt( c.css( "borderLeftWidth" ), 10 ) || 0 ) + - ( parseInt( c.css( "paddingLeft" ), 10 ) || 0 ), + ( parseInt( c.css( "paddingLeft" ), 10 ) || 0 ), ( parseInt( c.css( "borderTopWidth" ), 10 ) || 0 ) + - ( parseInt( c.css( "paddingTop" ), 10 ) || 0 ), + ( parseInt( c.css( "paddingTop" ), 10 ) || 0 ), ( isUserScrollable ? Math.max( ce.scrollWidth, ce.offsetWidth ) : ce.offsetWidth ) - - ( parseInt( c.css( "borderRightWidth" ), 10 ) || 0 ) - - ( parseInt( c.css( "paddingRight" ), 10 ) || 0 ) - - this.helperProportions.width - - this.margins.left - - this.margins.right, + ( parseInt( c.css( "borderRightWidth" ), 10 ) || 0 ) - + ( parseInt( c.css( "paddingRight" ), 10 ) || 0 ) - + this.helperProportions.width - + this.margins.left - + this.margins.right, ( isUserScrollable ? Math.max( ce.scrollHeight, ce.offsetHeight ) : ce.offsetHeight ) - - ( parseInt( c.css( "borderBottomWidth" ), 10 ) || 0 ) - - ( parseInt( c.css( "paddingBottom" ), 10 ) || 0 ) - - this.helperProportions.height - - this.margins.top - - this.margins.bottom + ( parseInt( c.css( "borderBottomWidth" ), 10 ) || 0 ) - + ( parseInt( c.css( "paddingBottom" ), 10 ) || 0 ) - + this.helperProportions.height - + this.margins.top - + this.margins.bottom ]; this.relativeContainer = c; }, @@ -666,18 +666,18 @@ $.widget( "ui.draggable", $.ui.mouse, { this.originalPageY ) / o.grid[ 1 ] ) * o.grid[ 1 ] : this.originalPageY; pageY = containment ? ( ( top - this.offset.click.top >= containment[ 1 ] || top - this.offset.click.top > containment[ 3 ] ) ? - top : - ( ( top - this.offset.click.top >= containment[ 1 ] ) ? - top - o.grid[ 1 ] : top + o.grid[ 1 ] ) ) : top; + top : + ( ( top - this.offset.click.top >= containment[ 1 ] ) ? + top - o.grid[ 1 ] : top + o.grid[ 1 ] ) ) : top; left = o.grid[ 0 ] ? this.originalPageX + Math.round( ( pageX - this.originalPageX ) / o.grid[ 0 ] ) * o.grid[ 0 ] : this.originalPageX; pageX = containment ? ( ( left - this.offset.click.left >= containment[ 0 ] || left - this.offset.click.left > containment[ 2 ] ) ? - left : - ( ( left - this.offset.click.left >= containment[ 0 ] ) ? - left - o.grid[ 0 ] : left + o.grid[ 0 ] ) ) : left; + left : + ( ( left - this.offset.click.left >= containment[ 0 ] ) ? + left - o.grid[ 0 ] : left + o.grid[ 0 ] ) ) : left; } if ( o.axis === "y" ) { @@ -851,8 +851,8 @@ $.ui.plugin.add( "draggable", "connectToSortable", { this.offset.click = draggable.offset.click; if ( this !== sortable && - this._intersectsWith( this.containerCache ) && - $.contains( sortable.element[ 0 ], this.element[ 0 ] ) ) { + this._intersectsWith( this.containerCache ) && + $.contains( sortable.element[ 0 ], this.element[ 0 ] ) ) { innermostIntersecting = false; } @@ -1012,7 +1012,7 @@ $.ui.plugin.add( "draggable", "scroll", { } if ( i.scrollParentNotHidden[ 0 ] !== i.document[ 0 ] && - i.scrollParentNotHidden[ 0 ].tagName !== "HTML" ) { + i.scrollParentNotHidden[ 0 ].tagName !== "HTML" ) { i.overflowOffset = i.scrollParentNotHidden.offset(); } }, @@ -1026,7 +1026,7 @@ $.ui.plugin.add( "draggable", "scroll", { if ( scrollParent !== document && scrollParent.tagName !== "HTML" ) { if ( !o.axis || o.axis !== "x" ) { if ( ( i.overflowOffset.top + scrollParent.offsetHeight ) - event.pageY < - o.scrollSensitivity ) { + o.scrollSensitivity ) { scrollParent.scrollTop = scrolled = scrollParent.scrollTop + o.scrollSpeed; } else if ( event.pageY - i.overflowOffset.top < o.scrollSensitivity ) { scrollParent.scrollTop = scrolled = scrollParent.scrollTop - o.scrollSpeed; @@ -1035,7 +1035,7 @@ $.ui.plugin.add( "draggable", "scroll", { if ( !o.axis || o.axis !== "y" ) { if ( ( i.overflowOffset.left + scrollParent.offsetWidth ) - event.pageX < - o.scrollSensitivity ) { + o.scrollSensitivity ) { scrollParent.scrollLeft = scrolled = scrollParent.scrollLeft + o.scrollSpeed; } else if ( event.pageX - i.overflowOffset.left < o.scrollSensitivity ) { scrollParent.scrollLeft = scrolled = scrollParent.scrollLeft - o.scrollSpeed; @@ -1048,7 +1048,7 @@ $.ui.plugin.add( "draggable", "scroll", { if ( event.pageY - $( document ).scrollTop() < o.scrollSensitivity ) { scrolled = $( document ).scrollTop( $( document ).scrollTop() - o.scrollSpeed ); } else if ( $( window ).height() - ( event.pageY - $( document ).scrollTop() ) < - o.scrollSensitivity ) { + o.scrollSensitivity ) { scrolled = $( document ).scrollTop( $( document ).scrollTop() + o.scrollSpeed ); } } @@ -1059,7 +1059,7 @@ $.ui.plugin.add( "draggable", "scroll", { $( document ).scrollLeft() - o.scrollSpeed ); } else if ( $( window ).width() - ( event.pageX - $( document ).scrollLeft() ) < - o.scrollSensitivity ) { + o.scrollSensitivity ) { scrolled = $( document ).scrollLeft( $( document ).scrollLeft() + o.scrollSpeed ); @@ -1112,7 +1112,7 @@ $.ui.plugin.add( "draggable", "snap", { b = t + inst.snapElements[ i ].height; if ( x2 < l - d || x1 > r + d || y2 < t - d || y1 > b + d || - !$.contains( inst.snapElements[ i ].item.ownerDocument, + !$.contains( inst.snapElements[ i ].item.ownerDocument, inst.snapElements[ i ].item ) ) { if ( inst.snapElements[ i ].snapping ) { if ( inst.options.snap.release ) { diff --git a/src/js/_enqueues/vendor/jquery/ui/droppable.js b/src/js/_enqueues/vendor/jquery/ui/droppable.js index 05db6c8d09671..17aca5e721ce5 100644 --- a/src/js/_enqueues/vendor/jquery/ui/droppable.js +++ b/src/js/_enqueues/vendor/jquery/ui/droppable.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Droppable 1.13.0 + * jQuery UI Droppable 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -34,7 +34,7 @@ "use strict"; $.widget( "ui.droppable", { - version: "1.13.0", + version: "1.13.1", widgetEventPrefix: "drop", options: { accept: "*", @@ -150,12 +150,12 @@ $.widget( "ui.droppable", { // Bail if draggable and droppable are same element if ( !draggable || ( draggable.currentItem || - draggable.element )[ 0 ] === this.element[ 0 ] ) { + draggable.element )[ 0 ] === this.element[ 0 ] ) { return; } if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem || - draggable.element ) ) ) { + draggable.element ) ) ) { this._addHoverClass(); this._trigger( "over", event, this.ui( draggable ) ); } @@ -168,12 +168,12 @@ $.widget( "ui.droppable", { // Bail if draggable and droppable are same element if ( !draggable || ( draggable.currentItem || - draggable.element )[ 0 ] === this.element[ 0 ] ) { + draggable.element )[ 0 ] === this.element[ 0 ] ) { return; } if ( this.accept.call( this.element[ 0 ], ( draggable.currentItem || - draggable.element ) ) ) { + draggable.element ) ) ) { this._removeHoverClass(); this._trigger( "out", event, this.ui( draggable ) ); } @@ -187,7 +187,7 @@ $.widget( "ui.droppable", { // Bail if draggable and droppable are same element if ( !draggable || ( draggable.currentItem || - draggable.element )[ 0 ] === this.element[ 0 ] ) { + draggable.element )[ 0 ] === this.element[ 0 ] ) { return false; } @@ -218,7 +218,7 @@ $.widget( "ui.droppable", { } if ( this.accept.call( this.element[ 0 ], - ( draggable.currentItem || draggable.element ) ) ) { + ( draggable.currentItem || draggable.element ) ) ) { this._removeActiveClass(); this._removeHoverClass(); @@ -281,28 +281,28 @@ $.ui.intersect = ( function() { b = t + droppable.proportions().height; switch ( toleranceMode ) { - case "fit": - return ( l <= x1 && x2 <= r && t <= y1 && y2 <= b ); - case "intersect": - return ( l < x1 + ( draggable.helperProportions.width / 2 ) && // Right Half - x2 - ( draggable.helperProportions.width / 2 ) < r && // Left Half - t < y1 + ( draggable.helperProportions.height / 2 ) && // Bottom Half - y2 - ( draggable.helperProportions.height / 2 ) < b ); // Top Half - case "pointer": - return isOverAxis( event.pageY, t, droppable.proportions().height ) && - isOverAxis( event.pageX, l, droppable.proportions().width ); - case "touch": - return ( - ( y1 >= t && y1 <= b ) || // Top edge touching - ( y2 >= t && y2 <= b ) || // Bottom edge touching - ( y1 < t && y2 > b ) // Surrounded vertically - ) && ( - ( x1 >= l && x1 <= r ) || // Left edge touching - ( x2 >= l && x2 <= r ) || // Right edge touching - ( x1 < l && x2 > r ) // Surrounded horizontally - ); - default: - return false; + case "fit": + return ( l <= x1 && x2 <= r && t <= y1 && y2 <= b ); + case "intersect": + return ( l < x1 + ( draggable.helperProportions.width / 2 ) && // Right Half + x2 - ( draggable.helperProportions.width / 2 ) < r && // Left Half + t < y1 + ( draggable.helperProportions.height / 2 ) && // Bottom Half + y2 - ( draggable.helperProportions.height / 2 ) < b ); // Top Half + case "pointer": + return isOverAxis( event.pageY, t, droppable.proportions().height ) && + isOverAxis( event.pageX, l, droppable.proportions().width ); + case "touch": + return ( + ( y1 >= t && y1 <= b ) || // Top edge touching + ( y2 >= t && y2 <= b ) || // Bottom edge touching + ( y1 < t && y2 > b ) // Surrounded vertically + ) && ( + ( x1 >= l && x1 <= r ) || // Left edge touching + ( x2 >= l && x2 <= r ) || // Right edge touching + ( x1 < l && x2 > r ) // Surrounded horizontally + ); + default: + return false; } }; } )(); @@ -324,7 +324,7 @@ $.ui.ddmanager = { // No disabled and non-accepted if ( m[ i ].options.disabled || ( t && !m[ i ].accept.call( m[ i ].element[ 0 ], - ( t.currentItem || t.element ) ) ) ) { + ( t.currentItem || t.element ) ) ) ) { continue; } @@ -366,12 +366,12 @@ $.ui.ddmanager = { return; } if ( !this.options.disabled && this.visible && - $.ui.intersect( draggable, this, this.options.tolerance, event ) ) { + $.ui.intersect( draggable, this, this.options.tolerance, event ) ) { dropped = this._drop.call( this, event ) || dropped; } if ( !this.options.disabled && this.visible && this.accept.call( this.element[ 0 ], - ( draggable.currentItem || draggable.element ) ) ) { + ( draggable.currentItem || draggable.element ) ) ) { this.isout = true; this.isover = false; this._deactivate.call( this, event ); diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-blind.js b/src/js/_enqueues/vendor/jquery/ui/effect-blind.js index b74dea4bdfcea..7d9da99807d74 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-blind.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-blind.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Blind 1.13.0 + * jQuery UI Effects Blind 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-bounce.js b/src/js/_enqueues/vendor/jquery/ui/effect-bounce.js index b8ee5042f2303..682ca2cd37d18 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-bounce.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-bounce.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Bounce 1.13.0 + * jQuery UI Effects Bounce 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-clip.js b/src/js/_enqueues/vendor/jquery/ui/effect-clip.js index b54415605bf33..2c32aec629bbe 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-clip.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-clip.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Clip 1.13.0 + * jQuery UI Effects Clip 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-drop.js b/src/js/_enqueues/vendor/jquery/ui/effect-drop.js index 4e7dd86561019..0acd95d4b22e0 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-drop.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-drop.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Drop 1.13.0 + * jQuery UI Effects Drop 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-explode.js b/src/js/_enqueues/vendor/jquery/ui/effect-explode.js index ec4529284c5a6..598a40a6d7cf7 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-explode.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-explode.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Explode 1.13.0 + * jQuery UI Effects Explode 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -83,21 +83,21 @@ return $.effects.define( "explode", "hide", function( options, done ) { // Select the wrapper - make it overflow: hidden and absolute positioned based on // where the original was located +left and +top equal to the size of pieces .parent() - .addClass( "ui-effects-explode" ) - .css( { - position: "absolute", - overflow: "hidden", - width: width, - height: height, - left: left + ( show ? mx * width : 0 ), - top: top + ( show ? my * height : 0 ), - opacity: show ? 0 : 1 - } ) - .animate( { - left: left + ( show ? 0 : mx * width ), - top: top + ( show ? 0 : my * height ), - opacity: show ? 1 : 0 - }, options.duration || 500, options.easing, childComplete ); + .addClass( "ui-effects-explode" ) + .css( { + position: "absolute", + overflow: "hidden", + width: width, + height: height, + left: left + ( show ? mx * width : 0 ), + top: top + ( show ? my * height : 0 ), + opacity: show ? 0 : 1 + } ) + .animate( { + left: left + ( show ? 0 : mx * width ), + top: top + ( show ? 0 : my * height ), + opacity: show ? 1 : 0 + }, options.duration || 500, options.easing, childComplete ); } } diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-fade.js b/src/js/_enqueues/vendor/jquery/ui/effect-fade.js index b0de90b500ca7..4622b7d221b55 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-fade.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-fade.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Fade 1.13.0 + * jQuery UI Effects Fade 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-fold.js b/src/js/_enqueues/vendor/jquery/ui/effect-fold.js index 26c382b6d80ba..b28d2fa1ee341 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-fold.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-fold.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Fold 1.13.0 + * jQuery UI Effects Fold 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-highlight.js b/src/js/_enqueues/vendor/jquery/ui/effect-highlight.js index 36f0e9a721b94..4143c9bb7ff7e 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-highlight.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-highlight.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Highlight 1.13.0 + * jQuery UI Effects Highlight 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-puff.js b/src/js/_enqueues/vendor/jquery/ui/effect-puff.js index 7a7f0e96dc08d..85bd1218c5c34 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-puff.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-puff.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Puff 1.13.0 + * jQuery UI Effects Puff 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-pulsate.js b/src/js/_enqueues/vendor/jquery/ui/effect-pulsate.js index ad1495d550af7..69469dc168f07 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-pulsate.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-pulsate.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Pulsate 1.13.0 + * jQuery UI Effects Pulsate 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-scale.js b/src/js/_enqueues/vendor/jquery/ui/effect-scale.js index f7a5a84155783..2ac88b04db82a 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-scale.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-scale.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Scale 1.13.0 + * jQuery UI Effects Scale 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-shake.js b/src/js/_enqueues/vendor/jquery/ui/effect-shake.js index ab942c0d0713b..84f4734e7e8ee 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-shake.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-shake.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Shake 1.13.0 + * jQuery UI Effects Shake 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-size.js b/src/js/_enqueues/vendor/jquery/ui/effect-size.js index 7e2c8874ba8f0..97c6bf910ee3d 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-size.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-size.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Size 1.13.0 + * jQuery UI Effects Size 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-slide.js b/src/js/_enqueues/vendor/jquery/ui/effect-slide.js index d19b80e75b5b4..51fda6b37488c 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-slide.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-slide.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Slide 1.13.0 + * jQuery UI Effects Slide 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect-transfer.js b/src/js/_enqueues/vendor/jquery/ui/effect-transfer.js index 9c0540259aae6..8d2e173c4bcc9 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect-transfer.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect-transfer.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Transfer 1.13.0 + * jQuery UI Effects Transfer 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff --git a/src/js/_enqueues/vendor/jquery/ui/effect.js b/src/js/_enqueues/vendor/jquery/ui/effect.js index e8c7ca0089bf5..2e39261a854ca 100644 --- a/src/js/_enqueues/vendor/jquery/ui/effect.js +++ b/src/js/_enqueues/vendor/jquery/ui/effect.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects 1.13.0 + * jQuery UI Effects 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -32,7 +32,7 @@ // Include version.js $.ui = $.ui || {}; -$.ui.version = "1.13.0"; +$.ui.version = "1.13.1"; // Source: jquery-var-for-color.js // Create a local jQuery because jQuery Color relies on it and the @@ -812,7 +812,7 @@ function getElementStyles( elem ) { } } - // Support: Opera, IE <9 + // Support: Opera, IE <9 } else { for ( key in style ) { if ( typeof style[ key ] === "string" ) { @@ -1119,7 +1119,7 @@ if ( $.uiBackCompat !== false ) { } $.extend( $.effects, { - version: "1.13.0", + version: "1.13.1", define: function( name, mode, effect ) { if ( !effect ) { @@ -1201,31 +1201,31 @@ $.extend( $.effects, { var y, x; switch ( origin[ 0 ] ) { - case "top": - y = 0; - break; - case "middle": - y = 0.5; - break; - case "bottom": - y = 1; - break; - default: - y = origin[ 0 ] / original.height; + case "top": + y = 0; + break; + case "middle": + y = 0.5; + break; + case "bottom": + y = 1; + break; + default: + y = origin[ 0 ] / original.height; } switch ( origin[ 1 ] ) { - case "left": - x = 0; - break; - case "center": - x = 0.5; - break; - case "right": - x = 1; - break; - default: - x = origin[ 1 ] / original.width; + case "left": + x = 0; + break; + case "center": + x = 0.5; + break; + case "right": + x = 1; + break; + default: + x = origin[ 1 ] / original.width; } return { @@ -1250,8 +1250,8 @@ $.extend( $.effects, { marginLeft: element.css( "marginLeft" ), marginRight: element.css( "marginRight" ) } ) - .outerWidth( element.outerWidth() ) - .outerHeight( element.outerHeight() ); + .outerWidth( element.outerWidth() ) + .outerHeight( element.outerHeight() ); if ( /^(static|relative)/.test( cssPosition ) ) { cssPosition = "absolute"; @@ -1272,9 +1272,9 @@ $.extend( $.effects, { marginRight: element.css( "marginRight" ), "float": element.css( "float" ) } ) - .outerWidth( element.outerWidth() ) - .outerHeight( element.outerHeight() ) - .addClass( "ui-effects-placeholder" ); + .outerWidth( element.outerWidth() ) + .outerHeight( element.outerHeight() ) + .addClass( "ui-effects-placeholder" ); element.data( dataSpace + "placeholder", placeholder ); } @@ -1290,7 +1290,7 @@ $.extend( $.effects, { removePlaceholder: function( element ) { var dataKey = dataSpace + "placeholder", - placeholder = element.data( dataKey ); + placeholder = element.data( dataKey ); if ( placeholder ) { placeholder.remove(); @@ -1362,8 +1362,8 @@ function _normalizeArguments( effect, options, speed, callback ) { speed = speed || options.duration; effect.duration = $.fx.off ? 0 : typeof speed === "number" ? speed : - speed in $.fx.speeds ? $.fx.speeds[ speed ] : - $.fx.speeds._default; + speed in $.fx.speeds ? $.fx.speeds[ speed ] : + $.fx.speeds._default; effect.complete = callback || options.complete; @@ -1420,7 +1420,7 @@ $.fn.extend( { // See $.uiBackCompat inside of run() for removal of defaultMode in 1.14 if ( defaultMode && ( normalizedMode === "show" || - ( normalizedMode === defaultMode && normalizedMode === "hide" ) ) ) { + ( normalizedMode === defaultMode && normalizedMode === "hide" ) ) ) { el.show(); } @@ -1598,17 +1598,17 @@ $.fn.extend( { } ); function parseClip( str, element ) { - var outerWidth = element.outerWidth(), - outerHeight = element.outerHeight(), - clipRegex = /^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/, - values = clipRegex.exec( str ) || [ "", 0, outerWidth, outerHeight, 0 ]; - - return { - top: parseFloat( values[ 1 ] ) || 0, - right: values[ 2 ] === "auto" ? outerWidth : parseFloat( values[ 2 ] ), - bottom: values[ 3 ] === "auto" ? outerHeight : parseFloat( values[ 3 ] ), - left: parseFloat( values[ 4 ] ) || 0 - }; + var outerWidth = element.outerWidth(), + outerHeight = element.outerHeight(), + clipRegex = /^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/, + values = clipRegex.exec( str ) || [ "", 0, outerWidth, outerHeight, 0 ]; + + return { + top: parseFloat( values[ 1 ] ) || 0, + right: values[ 2 ] === "auto" ? outerWidth : parseFloat( values[ 2 ] ), + bottom: values[ 3 ] === "auto" ? outerHeight : parseFloat( values[ 3 ] ), + left: parseFloat( values[ 4 ] ) || 0 + }; } $.fx.step.clip = function( fx ) { diff --git a/src/js/_enqueues/vendor/jquery/ui/menu.js b/src/js/_enqueues/vendor/jquery/ui/menu.js index 1e43abd09fbb1..18e71c9bd9589 100644 --- a/src/js/_enqueues/vendor/jquery/ui/menu.js +++ b/src/js/_enqueues/vendor/jquery/ui/menu.js @@ -1,5 +1,5 @@ /*! - * jQuery UI Menu 1.13.0 + * jQuery UI Menu 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -35,7 +35,7 @@ "use strict"; return $.widget( "ui.menu", { - version: "1.13.0", + version: "1.13.1", defaultElement: "
    +
    +
    +

    +

    + Version %1$s addressed %2$s bug.', + 'Version %1$s addressed %2$s bugs.', + 82 + ), + '5.9.1', + number_format_i18n( 82 ) + ); + ?> + the release notes.' ), + sprintf( + /* translators: %s: WordPress version. */ + esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), + sanitize_title( '5.9.1' ) + ) + ); + ?> +

    +
    +
    +
    From 35cd881c6646eb4fde9aacd85e80c774e2310a23 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 22 Feb 2022 15:15:08 +0000 Subject: [PATCH 086/161] WordPress 5.9.1. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52786 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php index 1a79d86fb2228..f5b3de9a905ff 100644 --- a/src/wp-includes/version.php +++ b/src/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9.1-RC1-52770-src'; +$wp_version = '5.9.1-src'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. From 67d7e5040786bd8eb69410afe867c016cda3b10d Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 22 Feb 2022 16:05:13 +0000 Subject: [PATCH 087/161] Post WordPress 5.9.1 version bump. The 5.9 branch is now 5.9.2-alpha. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52788 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 2 +- package.json | 2 +- src/wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 28c047eec356b..a0b796c6cabee 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "WordPress", - "version": "5.9.1", + "version": "5.9.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 49a802d34f118..f9c336498908b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "WordPress", - "version": "5.9.1", + "version": "5.9.2", "description": "WordPress is open source software you can use to create a beautiful website, blog, or app.", "repository": { "type": "svn", diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php index f5b3de9a905ff..6ad4af0ba2ced 100644 --- a/src/wp-includes/version.php +++ b/src/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9.1-src'; +$wp_version = '5.9.2-alpha-52788-src'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. From 8cc9e53847f8a46258d9e42c29f8d524ec0af592 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sat, 26 Feb 2022 08:27:50 +0000 Subject: [PATCH 088/161] Themes: Remove the Live Preview link when installing a block theme from a zip archive. This changeset removes the Live Preview link for block-based themes when installing for a zip archive, since the customizer is disabled by default for block themes. Follow-up to [52353]. Props alanjacobmathew, hellofromTonya, antonvlasenko, ironprogrammer. Fixes #54578. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52803 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-theme-installer-skin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-theme-installer-skin.php b/src/wp-admin/includes/class-theme-installer-skin.php index 46d4c22d8c18b..4c140ba66ea85 100644 --- a/src/wp-admin/includes/class-theme-installer-skin.php +++ b/src/wp-admin/includes/class-theme-installer-skin.php @@ -115,7 +115,7 @@ public function after() { $install_actions = array(); - if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { + if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) && ! $theme_info->is_block_theme() ) { $customize_url = add_query_arg( array( 'theme' => urlencode( $stylesheet ), From 0709236f2b13612d70a586b67fee55edb57ba1da Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 10 Mar 2022 19:18:24 +0000 Subject: [PATCH 089/161] External Librairies: Update jQuery.query to version 2.2.3. This updates the "jquery-query" library from version 2.1.7 to 2.2.3. Props jorbin, peterwilsoncc, xknown, audrasjb, jorgefilipecosta. Merges [52844] to the 5.9 branch. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52845 602fd350-edb4-49c9-b593-d223f7449a82 --- src/js/_enqueues/vendor/jquery/jquery.query.js | 4 ++-- src/wp-includes/script-loader.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/_enqueues/vendor/jquery/jquery.query.js b/src/js/_enqueues/vendor/jquery/jquery.query.js index ea5801ff2b820..62ef72c1242d3 100644 --- a/src/js/_enqueues/vendor/jquery/jquery.query.js +++ b/src/js/_enqueues/vendor/jquery/jquery.query.js @@ -5,7 +5,7 @@ * Date: 2009/8/13 * * @author Blair Mitchelmore - * @version 2.1.7 + * @version 2.2.3 * **/ -new function(e){var d=e.separator||"&";var c=e.spaces===false?false:true;var a=e.suffix===false?"":"[]";var g=e.prefix===false?false:true;var b=g?e.hash===true?"#":"?":"";var f=e.numbers===false?false:true;jQuery.query=new function(){var h=function(m,l){return m!=undefined&&m!==null&&(!!l?m.constructor==l:true)};var i=function(r){var l,q=/\[([^[]*)\]/g,n=/^([^[]+)(\[.*\])?$/.exec(r),o=n[1],p=[];while(l=q.exec(n[2])){p.push(l[1])}return[o,p]};var k=function(s,r,q){var t,p=r.shift();if(typeof s!="object"){s=null}if(p===""){if(!s){s=[]}if(h(s,Array)){s.push(r.length==0?q:k(null,r.slice(0),q))}else{if(h(s,Object)){var n=0;while(s[n++]!=null){}s[--n]=r.length==0?q:k(s[n],r.slice(0),q)}else{s=[];s.push(r.length==0?q:k(null,r.slice(0),q))}}}else{if(p&&p.match(/^\s*[0-9]+\s*$/)){var m=parseInt(p,10);if(!s){s=[]}s[m]=r.length==0?q:k(s[m],r.slice(0),q)}else{if(p){var m=p.replace(/^\s*|\s*$/g,"");if(!s){s={}}if(h(s,Array)){var l={};for(var n=0;n0){r.push(b)}r.push(q.join(d));return r.join("")}};return new j(location.search,location.hash)}}(jQuery.query||{}); +!function(e){var t=e.separator||"&",l=!1!==e.spaces,n=(e.suffix,!1!==e.prefix?!0===e.hash?"#":"?":""),i=!1!==e.numbers;jQuery.query=new function(){function c(e,t){return null!=e&&null!==e&&(!t||e.constructor==t)}function u(e){for(var t,n=/\[([^[]*)\]/g,r=/^([^[]+)(\[.*\])?$/.exec(e),e=r[1],u=[];t=n.exec(r[2]);)u.push(t[1]);return[e,u]}function o(e,t,n){var r=t.shift();if("object"!=typeof e&&(e=null),""===r)if(c(e=e||[],Array))e.push(0==t.length?n:o(null,t.slice(0),n));else if(c(e,Object)){for(var u=0;null!=e[u++];);e[--u]=0==t.length?n:o(e[u],t.slice(0),n)}else(e=[]).push(0==t.length?n:o(null,t.slice(0),n));else if(r&&r.match(/^\s*[0-9]+\s*$/))(e=e||[])[i=parseInt(r,10)]=0==t.length?n:o(e[i],t.slice(0),n);else{if(!r)return n;var i=r.replace(/^\s*|\s*$/g,"");if(c(e=e||{},Array)){for(var s={},u=0;uadd( 'jquery-color', '/wp-includes/js/jquery/jquery.color.min.js', array( 'jquery' ), '2.1.2', 1 ); $scripts->add( 'schedule', '/wp-includes/js/jquery/jquery.schedule.js', array( 'jquery' ), '20m', 1 ); - $scripts->add( 'jquery-query', '/wp-includes/js/jquery/jquery.query.js', array( 'jquery' ), '2.1.7', 1 ); + $scripts->add( 'jquery-query', '/wp-includes/js/jquery/jquery.query.js', array( 'jquery' ), '2.2.3', 1 ); $scripts->add( 'jquery-serialize-object', '/wp-includes/js/jquery/jquery.serialize-object.js', array( 'jquery' ), '0.2-wp', 1 ); $scripts->add( 'jquery-hotkeys', "/wp-includes/js/jquery/jquery.hotkeys$suffix.js", array( 'jquery' ), '0.0.2m', 1 ); $scripts->add( 'jquery-table-hotkeys', "/wp-includes/js/jquery/jquery.table-hotkeys$suffix.js", array( 'jquery', 'jquery-hotkeys' ), false, 1 ); From 1b34d901830b6f0585377b15f5258185ff4b92e5 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 10 Mar 2022 22:00:39 +0000 Subject: [PATCH 090/161] WordPress 5.9.2. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52874 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 27 ++++++++++++++++++++++++++- src/wp-includes/version.php | 2 +- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 8df421250e2bf..ed986fec3c0cb 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -41,7 +41,32 @@
    -

    +

    +

    + Version %1$s addressed some security issues and fixed %2$s bug.', + 'Version %1$s addressed some security issues and fixed %2$s bugs.', + 1 + ), + '5.9.2', + number_format_i18n( 1 ) + ); + ?> + the release notes.' ), + sprintf( + /* translators: %s: WordPress version. */ + esc_url( __( 'https://wordpress.org/support/wordpress-version/version-%s/' ) ), + sanitize_title( '5.9.2' ) + ) + ); + ?> +

    Date: Thu, 10 Mar 2022 23:01:12 +0000 Subject: [PATCH 091/161] Update WordPress packages. Updates the WordPress packages to their most recent patch versions. Props xknown, sergey, audrasjb. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52894 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 266 +++++++++--------- package.json | 38 +-- .../assets/script-loader-packages.php | 2 +- 3 files changed, 153 insertions(+), 153 deletions(-) diff --git a/package-lock.json b/package-lock.json index a0b796c6cabee..5b367ac2a0872 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3632,13 +3632,13 @@ } }, "@wordpress/api-fetch": { - "version": "5.2.6", - "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-5.2.6.tgz", - "integrity": "sha512-AG8KdCHwtYJWR38AAU7nEI+UbumUSqSBthQj3rShLUVyFbYGkQdpwXJJG6vFj7FjIp41zljiyj3K1Fh3cqdaAw==", + "version": "5.2.7", + "resolved": "https://registry.npmjs.org/@wordpress/api-fetch/-/api-fetch-5.2.7.tgz", + "integrity": "sha512-r8dxJ8ScyKJ9yqHqwybJe2ANAyEZTKcjalp8bdMIZc7lJXgRa5f9kTvulE6hItkSVgBe38u6rx0T7UrlXNrUTw==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/i18n": "^4.2.4", - "@wordpress/url": "^3.3.1" + "@wordpress/url": "^3.3.2" } }, "@wordpress/autop": { @@ -3723,21 +3723,21 @@ } }, "@wordpress/block-directory": { - "version": "3.0.27", - "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.27.tgz", - "integrity": "sha512-VlwlossLCt2FS4hPbj5lBbPp9lRRODpZaTyomvebg2LymTZa9Dff8JzkxyEjGmpy+tkCUJ2EC9WOR74UTltxMQ==", + "version": "3.0.28", + "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.28.tgz", + "integrity": "sha512-YvE5lesqqnJB7vX6xHM7ETwqtuWd5BGTPnZn64BHNTZT1PEZGqLZklCfKkaTQ5EQryaZG9vgFDE3VBi6zMdQ0w==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.17", + "@wordpress/api-fetch": "^5.2.7", + "@wordpress/block-editor": "^8.0.18", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", - "@wordpress/core-data": "^4.0.10", + "@wordpress/core-data": "^4.0.11", "@wordpress/data": "^6.1.5", - "@wordpress/edit-post": "^5.0.27", - "@wordpress/editor": "^12.0.21", + "@wordpress/edit-post": "^5.0.28", + "@wordpress/editor": "^12.0.22", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/html-entities": "^3.2.3", @@ -3745,19 +3745,19 @@ "@wordpress/icons": "^6.1.1", "@wordpress/notices": "^3.2.8", "@wordpress/plugins": "^4.0.7", - "@wordpress/url": "^3.3.1", + "@wordpress/url": "^3.3.2", "lodash": "^4.17.21" } }, "@wordpress/block-editor": { - "version": "8.0.17", - "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.17.tgz", - "integrity": "sha512-483FmoMD4gwUBxslZByL0Ukk3EioF8PjWCt5kbsmmciANXqpKjKPqnsXIK1GedPhe0XKkPcXy1cPqC3Tt9UhIA==", + "version": "8.0.18", + "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.18.tgz", + "integrity": "sha512-/y+0AmO8xDxxATZfzBubUvP0SSpZjR/ovrlAd5/q2vor+7Mn+gMOSm3zWpLPuS93nNnBRo+Giugp6rx/gNCMFA==", "requires": { "@babel/runtime": "^7.16.0", "@react-spring/web": "^9.2.4", "@wordpress/a11y": "^3.2.4", - "@wordpress/api-fetch": "^5.2.6", + "@wordpress/api-fetch": "^5.2.7", "@wordpress/blob": "^3.2.2", "@wordpress/block-serialization-default-parser": "^4.2.3", "@wordpress/blocks": "^11.1.5", @@ -3778,7 +3778,7 @@ "@wordpress/rich-text": "^5.0.8", "@wordpress/shortcode": "^3.2.3", "@wordpress/token-list": "^2.2.2", - "@wordpress/url": "^3.3.1", + "@wordpress/url": "^3.3.2", "@wordpress/warning": "^2.2.2", "@wordpress/wordcount": "^3.2.3", "classnames": "^2.3.1", @@ -3797,20 +3797,20 @@ } }, "@wordpress/block-library": { - "version": "6.0.26", - "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.26.tgz", - "integrity": "sha512-zGtkkXYQobdqSCVfeEDCWmSjak/5XXT9SptuVCTpThut2BQd4U8CNtmilYSBX8TA6gXnmOOc3bInRvYt9cbKOw==", + "version": "6.0.27", + "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.27.tgz", + "integrity": "sha512-E6gOMjdYKbXO5WpsGMqAYov8LC8po/8TS3VuWvAAFCGJXLNvxL/G5j5b+uj3FqxEYJNYZvCfwtjE8WeoKWYVDg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/api-fetch": "^5.2.6", + "@wordpress/api-fetch": "^5.2.7", "@wordpress/autop": "^3.2.3", "@wordpress/blob": "^3.2.2", - "@wordpress/block-editor": "^8.0.17", + "@wordpress/block-editor": "^8.0.18", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", - "@wordpress/core-data": "^4.0.10", + "@wordpress/core-data": "^4.0.11", "@wordpress/data": "^6.1.5", "@wordpress/date": "^4.2.3", "@wordpress/deprecated": "^3.2.3", @@ -3825,10 +3825,10 @@ "@wordpress/keycodes": "^3.2.4", "@wordpress/notices": "^3.2.8", "@wordpress/primitives": "^3.0.4", - "@wordpress/reusable-blocks": "^3.0.23", + "@wordpress/reusable-blocks": "^3.0.24", "@wordpress/rich-text": "^5.0.8", - "@wordpress/server-side-render": "^3.0.20", - "@wordpress/url": "^3.3.1", + "@wordpress/server-side-render": "^3.0.21", + "@wordpress/url": "^3.3.2", "@wordpress/viewport": "^4.0.7", "classnames": "^2.3.1", "colord": "^2.7.0", @@ -3948,12 +3948,12 @@ } }, "@wordpress/core-data": { - "version": "4.0.10", - "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-4.0.10.tgz", - "integrity": "sha512-QyGBUuTD/31Pk5Q8qxpdiBk5iDb/1jp9q1bkqop7yEXRp2SVaFhIasptjPAxKZw//no+fsUL4Ix2YFZz4x9Axw==", + "version": "4.0.11", + "resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-4.0.11.tgz", + "integrity": "sha512-D3tAzzpYIAlfILEwjI8f980/Enp4sMaDry6lUR+8NSwJmAdqMDSexF9tPhCO3B+ENGjub3gOIZqyGdO4jklOMQ==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/api-fetch": "^5.2.6", + "@wordpress/api-fetch": "^5.2.7", "@wordpress/blocks": "^11.1.5", "@wordpress/data": "^6.1.5", "@wordpress/deprecated": "^3.2.3", @@ -3961,7 +3961,7 @@ "@wordpress/html-entities": "^3.2.3", "@wordpress/i18n": "^4.2.4", "@wordpress/is-shallow-equal": "^4.2.1", - "@wordpress/url": "^3.3.1", + "@wordpress/url": "^3.3.2", "equivalent-key-map": "^0.2.2", "lodash": "^4.17.21", "rememo": "^3.0.0", @@ -3978,18 +3978,18 @@ } }, "@wordpress/customize-widgets": { - "version": "2.0.27", - "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.27.tgz", - "integrity": "sha512-mwZ9MY5DMzk6qx7R+H9qHBFv2avhJtmnvtjSJwreZBZ5P81x4eN+fVyaLa7GmGLGJzz2OQD4ZDk/1YsU2Q1z9g==", + "version": "2.0.28", + "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.28.tgz", + "integrity": "sha512-YE29hGdN9HiROGGh7BuPVMWCgON8HnHyrr4KtR9+NhWrkNHaushG6p/DNp1X4cqF197C0VyNMXv788/LefSzAg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/block-editor": "^8.0.17", - "@wordpress/block-library": "^6.0.26", + "@wordpress/block-editor": "^8.0.18", + "@wordpress/block-library": "^6.0.27", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", - "@wordpress/core-data": "^4.0.10", + "@wordpress/core-data": "^4.0.11", "@wordpress/data": "^6.1.5", "@wordpress/dom": "^3.2.7", "@wordpress/element": "^4.0.4", @@ -4000,8 +4000,8 @@ "@wordpress/is-shallow-equal": "^4.2.1", "@wordpress/keyboard-shortcuts": "^3.0.7", "@wordpress/keycodes": "^3.2.4", - "@wordpress/media-utils": "^3.0.5", - "@wordpress/widgets": "^2.0.23", + "@wordpress/media-utils": "^3.0.6", + "@wordpress/widgets": "^2.0.24", "classnames": "^2.3.1", "lodash": "^4.17.21" } @@ -4027,12 +4027,12 @@ } }, "@wordpress/data-controls": { - "version": "2.2.8", - "resolved": "https://registry.npmjs.org/@wordpress/data-controls/-/data-controls-2.2.8.tgz", - "integrity": "sha512-hoaYLeZEmgUBJvHsv5SeGUKx433HfQfJ5sPu/8PiouUK/vr+8rMGM02ydTye6saWAMOHxvOxa08rzIWvWnZg/w==", + "version": "2.2.9", + "resolved": "https://registry.npmjs.org/@wordpress/data-controls/-/data-controls-2.2.9.tgz", + "integrity": "sha512-zBI3ZmxGHQribikLbVsf4dY8bcNKH6EYJMUgCvoNA2BV7kkFKK4eXLP5+ZVAVzON5op4/ACZvHdVGmlRiRgI9A==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/api-fetch": "^5.2.6", + "@wordpress/api-fetch": "^5.2.7", "@wordpress/data": "^6.1.5", "@wordpress/deprecated": "^3.2.3" } @@ -4102,15 +4102,15 @@ } }, "@wordpress/e2e-test-utils": { - "version": "5.4.10", - "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils/-/e2e-test-utils-5.4.10.tgz", - "integrity": "sha512-JRp1f7uQ9INpN3t0x4X07P3uBMwaitou9lvYWpDwVsHRcDn21NyFpVYbsX/T63ADIpvcqIhql58RnkVJRUWYxg==", + "version": "5.4.11", + "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils/-/e2e-test-utils-5.4.11.tgz", + "integrity": "sha512-I068Kj1tBVyeV8rvanh/TlHzkr3YwAuXHXoLNS/O6zx7jMLkfEeAnsgh2uiyvCzdywk4MOQZDJ9yZ1+RSTjkqA==", "dev": true, "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/api-fetch": "^5.2.6", + "@wordpress/api-fetch": "^5.2.7", "@wordpress/keycodes": "^3.2.4", - "@wordpress/url": "^3.3.1", + "@wordpress/url": "^3.3.2", "form-data": "^4.0.0", "lodash": "^4.17.21", "node-fetch": "^2.6.0" @@ -4130,22 +4130,22 @@ } }, "@wordpress/edit-post": { - "version": "5.0.27", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.27.tgz", - "integrity": "sha512-U5JtdVR4byohCBgqkZq8Xl7LisiDzdCjE4LD5b5e292ALhSdQUOFX8cjAXCM1dfXw3MMbpsNcy4hOBtEbBRTOA==", + "version": "5.0.28", + "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.28.tgz", + "integrity": "sha512-H+o2l/DoChrfOifxmiCxtK1HKWndMUeTExMiNpdV8ltY4owoojcoffxU9N4PyeeJ+mi++bY61KWvm+DB2HeDtg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.17", - "@wordpress/block-library": "^6.0.26", + "@wordpress/api-fetch": "^5.2.7", + "@wordpress/block-editor": "^8.0.18", + "@wordpress/block-library": "^6.0.27", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", - "@wordpress/core-data": "^4.0.10", + "@wordpress/core-data": "^4.0.11", "@wordpress/data": "^6.1.5", - "@wordpress/data-controls": "^2.2.8", - "@wordpress/editor": "^12.0.21", + "@wordpress/data-controls": "^2.2.9", + "@wordpress/editor": "^12.0.22", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/i18n": "^4.2.4", @@ -4153,11 +4153,11 @@ "@wordpress/interface": "^4.1.18", "@wordpress/keyboard-shortcuts": "^3.0.7", "@wordpress/keycodes": "^3.2.4", - "@wordpress/media-utils": "^3.0.5", + "@wordpress/media-utils": "^3.0.6", "@wordpress/notices": "^3.2.8", "@wordpress/plugins": "^4.0.7", "@wordpress/primitives": "^3.0.4", - "@wordpress/url": "^3.3.1", + "@wordpress/url": "^3.3.2", "@wordpress/viewport": "^4.0.7", "@wordpress/warning": "^2.2.2", "classnames": "^2.3.1", @@ -4175,22 +4175,22 @@ } }, "@wordpress/edit-site": { - "version": "3.0.27", - "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.27.tgz", - "integrity": "sha512-qu+nMeh/krQytkOMNS76KfhIY4c+fsQpRUsz5nDqQwPUN4m3W5pnccvb9pMDdEsfebSwERcOkPs/RzH1+deElw==", + "version": "3.0.28", + "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.28.tgz", + "integrity": "sha512-u3A7CIV2iRlYQ4Iywnt58ahf3I+Quk38m3spi/Nurht2w1IWWHVwKoravezf53XK0ZrP05F5JmHmuKDVddgVHw==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.17", - "@wordpress/block-library": "^6.0.26", + "@wordpress/api-fetch": "^5.2.7", + "@wordpress/block-editor": "^8.0.18", + "@wordpress/block-library": "^6.0.27", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", - "@wordpress/core-data": "^4.0.10", + "@wordpress/core-data": "^4.0.11", "@wordpress/data": "^6.1.5", - "@wordpress/data-controls": "^2.2.8", - "@wordpress/editor": "^12.0.21", + "@wordpress/data-controls": "^2.2.9", + "@wordpress/editor": "^12.0.22", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", "@wordpress/html-entities": "^3.2.3", @@ -4199,12 +4199,12 @@ "@wordpress/interface": "^4.1.18", "@wordpress/keyboard-shortcuts": "^3.0.7", "@wordpress/keycodes": "^3.2.4", - "@wordpress/media-utils": "^3.0.5", + "@wordpress/media-utils": "^3.0.6", "@wordpress/notices": "^3.2.8", "@wordpress/plugins": "^4.0.7", "@wordpress/primitives": "^3.0.4", - "@wordpress/reusable-blocks": "^3.0.23", - "@wordpress/url": "^3.3.1", + "@wordpress/reusable-blocks": "^3.0.24", + "@wordpress/url": "^3.3.2", "@wordpress/viewport": "^4.0.7", "classnames": "^2.3.1", "downloadjs": "^1.4.7", @@ -4216,19 +4216,19 @@ } }, "@wordpress/edit-widgets": { - "version": "3.1.22", - "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.22.tgz", - "integrity": "sha512-c4oUWCyIve/Gn8uA6r5xxRunV74FirCXZSdb/uXgFK/RZRlCEvU2SuYOcpE61//woFjBC/O5Zb2urR7uYKxVtQ==", + "version": "3.1.23", + "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.23.tgz", + "integrity": "sha512-YwQu4EV5H961iLwMtLSagoawtCbRwg5rh81RDs892oetXHBE65S9PLzhxR/bq7yJFQi/iRJgyXUnawkpR54krA==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.17", - "@wordpress/block-library": "^6.0.26", + "@wordpress/api-fetch": "^5.2.7", + "@wordpress/block-editor": "^8.0.18", + "@wordpress/block-library": "^6.0.27", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", - "@wordpress/core-data": "^4.0.10", + "@wordpress/core-data": "^4.0.11", "@wordpress/data": "^6.1.5", "@wordpress/dom": "^3.2.7", "@wordpress/element": "^4.0.4", @@ -4238,13 +4238,13 @@ "@wordpress/interface": "^4.1.18", "@wordpress/keyboard-shortcuts": "^3.0.7", "@wordpress/keycodes": "^3.2.4", - "@wordpress/media-utils": "^3.0.5", + "@wordpress/media-utils": "^3.0.6", "@wordpress/notices": "^3.2.8", "@wordpress/plugins": "^4.0.7", - "@wordpress/reusable-blocks": "^3.0.23", - "@wordpress/server-side-render": "^3.0.20", - "@wordpress/url": "^3.3.1", - "@wordpress/widgets": "^2.0.23", + "@wordpress/reusable-blocks": "^3.0.24", + "@wordpress/server-side-render": "^3.0.21", + "@wordpress/url": "^3.3.2", + "@wordpress/widgets": "^2.0.24", "classnames": "^2.3.1", "lodash": "^4.17.21", "rememo": "^3.0.0", @@ -4252,22 +4252,22 @@ } }, "@wordpress/editor": { - "version": "12.0.21", - "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.21.tgz", - "integrity": "sha512-av970T/oUgyJYgsBMBrPXG0HaQpilCuoKkWnzmdz43ISD0OPzE280hnK/CNrPFI6CKw4nJ3HwGuEJzV0TljCRg==", + "version": "12.0.22", + "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.22.tgz", + "integrity": "sha512-sIld795Y2Vvy+Z+DZbDbMT/vaxrzoqmPcUuDC95lFF0FIxpZVp6Oxx3uLp1Uk1RLcSPd+kbzs6/OqiVFI951jQ==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/api-fetch": "^5.2.6", + "@wordpress/api-fetch": "^5.2.7", "@wordpress/autop": "^3.2.3", "@wordpress/blob": "^3.2.2", - "@wordpress/block-editor": "^8.0.17", + "@wordpress/block-editor": "^8.0.18", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", - "@wordpress/core-data": "^4.0.10", + "@wordpress/core-data": "^4.0.11", "@wordpress/data": "^6.1.5", - "@wordpress/data-controls": "^2.2.8", + "@wordpress/data-controls": "^2.2.9", "@wordpress/date": "^4.2.3", "@wordpress/deprecated": "^3.2.3", "@wordpress/element": "^4.0.4", @@ -4278,12 +4278,12 @@ "@wordpress/is-shallow-equal": "^4.2.1", "@wordpress/keyboard-shortcuts": "^3.0.7", "@wordpress/keycodes": "^3.2.4", - "@wordpress/media-utils": "^3.0.5", + "@wordpress/media-utils": "^3.0.6", "@wordpress/notices": "^3.2.8", - "@wordpress/reusable-blocks": "^3.0.23", + "@wordpress/reusable-blocks": "^3.0.24", "@wordpress/rich-text": "^5.0.8", - "@wordpress/server-side-render": "^3.0.20", - "@wordpress/url": "^3.3.1", + "@wordpress/server-side-render": "^3.0.21", + "@wordpress/url": "^3.3.2", "@wordpress/wordcount": "^3.2.3", "classnames": "^2.3.1", "lodash": "^4.17.21", @@ -4369,13 +4369,13 @@ } }, "@wordpress/format-library": { - "version": "3.0.23", - "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.23.tgz", - "integrity": "sha512-kqVLkMUWL9QZ9Oy55g7nFpXfHRyI+d/eE2t+ciyL6OsT/t6pNvwoj8vSUaNSL3Gp4sfIRDM8oWezzmhEQr53Cw==", + "version": "3.0.24", + "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.24.tgz", + "integrity": "sha512-Y3gIcA6Bc1mxF5KrlLom4rx77/LoRJuWGPlnW0XgwpH1DTZw9Mykf+/VI2y7ixHEY/0y+rFnjOUD8lcjQYM4ow==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", - "@wordpress/block-editor": "^8.0.17", + "@wordpress/block-editor": "^8.0.18", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", "@wordpress/data": "^6.1.5", @@ -4386,7 +4386,7 @@ "@wordpress/icons": "^6.1.1", "@wordpress/keycodes": "^3.2.4", "@wordpress/rich-text": "^5.0.8", - "@wordpress/url": "^3.3.1", + "@wordpress/url": "^3.3.2", "lodash": "^4.17.21" } }, @@ -4535,12 +4535,12 @@ } }, "@wordpress/list-reusable-blocks": { - "version": "3.0.20", - "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-3.0.20.tgz", - "integrity": "sha512-5l++ivaweY2Fuee7hxVUv2it34RsD1pycCR5z5FQbNobH7TU10i3KuGv1kkmA0rs6gh3umGnH4ucG78imvh/Lg==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-3.0.21.tgz", + "integrity": "sha512-5ucAKN52yirrkYxVL0W88VKD5x0D060dggu8wZZb1QPVSJVub5dnTbBvtUiMJxCCHOH3lstXX39mcDVeE5JZaQ==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/api-fetch": "^5.2.6", + "@wordpress/api-fetch": "^5.2.7", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", "@wordpress/element": "^4.0.4", @@ -4549,12 +4549,12 @@ } }, "@wordpress/media-utils": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/@wordpress/media-utils/-/media-utils-3.0.5.tgz", - "integrity": "sha512-BshnzzBECsH8JuxU/qgJkRCBoPNPQ/z9PeWzTFMY3hPYtbd23hMtZpPqc9EGkjU+Ovs1AF8qEjNr9wPOCDq3nA==", + "version": "3.0.6", + "resolved": "https://registry.npmjs.org/@wordpress/media-utils/-/media-utils-3.0.6.tgz", + "integrity": "sha512-10UQO6SEMdu4ROXxYT8K5eP7CXUb6kykGn03O1kqzVohNvEKVJFVUWuOc6ULkDEhzA11ZMxp+p25rwDSwMhXPA==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/api-fetch": "^5.2.6", + "@wordpress/api-fetch": "^5.2.7", "@wordpress/blob": "^3.2.2", "@wordpress/element": "^4.0.4", "@wordpress/i18n": "^4.2.4", @@ -4709,21 +4709,21 @@ } }, "@wordpress/reusable-blocks": { - "version": "3.0.23", - "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.23.tgz", - "integrity": "sha512-/L4U+0RUpI4RsjHgKlG0xauFCp39r0EwBBRnW8T0GWZPUPTN8bsUAct2bfcWPYTf6hmT/eoxHhwcjuQ15tWR0A==", + "version": "3.0.24", + "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.24.tgz", + "integrity": "sha512-jDopywKele6dAC1KJ+CGBwh10qjC4XfvzlP6sUXCrbKjaSkop3yErQNWexYv5vnJ/ZuBCVoQM3QKlHkqwkYYOw==", "requires": { - "@wordpress/block-editor": "^8.0.17", + "@wordpress/block-editor": "^8.0.18", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", - "@wordpress/core-data": "^4.0.10", + "@wordpress/core-data": "^4.0.11", "@wordpress/data": "^6.1.5", "@wordpress/element": "^4.0.4", "@wordpress/i18n": "^4.2.4", "@wordpress/icons": "^6.1.1", "@wordpress/notices": "^3.2.8", - "@wordpress/url": "^3.3.1", + "@wordpress/url": "^3.3.2", "lodash": "^4.17.21" } }, @@ -5684,12 +5684,12 @@ } }, "@wordpress/server-side-render": { - "version": "3.0.20", - "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-3.0.20.tgz", - "integrity": "sha512-EzMI9tW/bJ0yBOte1xPC5yDeABi2B/vVdi+NV8iVAy+NRCbEoKnMJOlSA/3W6QzZEMXWgG6XMRbP6HHOCguBgA==", + "version": "3.0.21", + "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-3.0.21.tgz", + "integrity": "sha512-Baw5CrSyJDDXtlYWMOgbSnQBrOiemOrZraIQnj1+T4DayzbChZDtoFgN4bHse2MZNxfcr3UqsqguC/70dQpsBw==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/api-fetch": "^5.2.6", + "@wordpress/api-fetch": "^5.2.7", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", @@ -5697,7 +5697,7 @@ "@wordpress/deprecated": "^3.2.3", "@wordpress/element": "^4.0.4", "@wordpress/i18n": "^4.2.4", - "@wordpress/url": "^3.3.1", + "@wordpress/url": "^3.3.2", "lodash": "^4.17.21" } }, @@ -5732,9 +5732,9 @@ } }, "@wordpress/url": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.3.1.tgz", - "integrity": "sha512-lEuvkNjPoVuzYy0zn6n9gfMdNlHJW36EsPI2yDzMICjIAV5lRv1/uOg2Ls3lbDaRR2vm1FAiMpB2RAMzfR8Nfg==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/@wordpress/url/-/url-3.3.2.tgz", + "integrity": "sha512-9fSWz2AhCakucqj+kltW05fHfMzaN7trWBz3PxC+5Gdxa4uwt8D0lAl2yKyS3ApxcpEOXgHTJUNzlYebXj6ZJQ==", "requires": { "@babel/runtime": "^7.16.0", "lodash": "^4.17.21" @@ -5757,23 +5757,23 @@ "integrity": "sha512-iG1Hq56RK3N6AJqAD1sRLWRIJatfYn+NrPyrfqRNZNYXHM8Vj/s7ABNMbIU0Y99vXkBE83rvCdbMkugNoI2jXA==" }, "@wordpress/widgets": { - "version": "2.0.23", - "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.23.tgz", - "integrity": "sha512-gbJwYcs+RUXKUqjj5VTN5cS0dXeZVNOCt45bcEh2aLMp3l8xkcD/f7y3ZGycjmr7gHVdzjTB1jeKvey8hBXOnA==", + "version": "2.0.24", + "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.24.tgz", + "integrity": "sha512-eIKXwQt023HYnRnPt7+Nk2lMrGEWQHrNuogdHRXCqC0D3iPVNyBjjxY92NCSxUjgxe6ArAdAVmwoozVinTzIBw==", "requires": { "@babel/runtime": "^7.16.0", - "@wordpress/api-fetch": "^5.2.6", - "@wordpress/block-editor": "^8.0.17", + "@wordpress/api-fetch": "^5.2.7", + "@wordpress/block-editor": "^8.0.18", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", - "@wordpress/core-data": "^4.0.10", + "@wordpress/core-data": "^4.0.11", "@wordpress/data": "^6.1.5", "@wordpress/element": "^4.0.4", "@wordpress/i18n": "^4.2.4", "@wordpress/icons": "^6.1.1", "@wordpress/notices": "^3.2.8", - "@wordpress/url": "^3.3.1", + "@wordpress/url": "^3.3.2", "classnames": "^2.3.1", "lodash": "^4.17.21" } @@ -7747,7 +7747,7 @@ }, "browserify-aes": { "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", "dev": true, "requires": { @@ -14163,9 +14163,9 @@ "integrity": "sha512-BXUKIkUuh6cmmxzi5OIbUJxrG8OAk2MqoL1DtO3Wo9D2faJg2ph5ntyuQeLqaHJmzER6H5tllCDA9ZnNe9BVGg==" }, "history": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/history/-/history-5.2.0.tgz", - "integrity": "sha512-uPSF6lAJb3nSePJ43hN3eKj1dTWpN9gMod0ZssbFTIsen+WehTmEadgL+kg78xLJFdRfrrC//SavDzmRVdE+Ig==", + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/history/-/history-5.3.0.tgz", + "integrity": "sha512-ZqaKwjjrAYUYfLG+htGaIIZ4nioX2L70ZUMIFysS3xvBsSG4x/n1V6TXV3N8ZYNuFGlDirFg32T7B6WOUPDYcQ==", "requires": { "@babel/runtime": "^7.7.6" } diff --git a/package.json b/package.json index f9c336498908b..86a2bc1c3d33e 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@wordpress/babel-preset-default": "6.4.1", "@wordpress/custom-templated-path-webpack-plugin": "2.1.0", "@wordpress/dependency-extraction-webpack-plugin": "3.2.1", - "@wordpress/e2e-test-utils": "5.4.10", + "@wordpress/e2e-test-utils": "5.4.11", "@wordpress/library-export-default-webpack-plugin": "2.2.0", "@wordpress/scripts": "19.2.4", "autoprefixer": "^9.8.8", @@ -79,31 +79,31 @@ "dependencies": { "@wordpress/a11y": "3.2.4", "@wordpress/annotations": "2.2.9", - "@wordpress/api-fetch": "5.2.6", + "@wordpress/api-fetch": "5.2.7", "@wordpress/autop": "3.2.3", "@wordpress/blob": "3.2.2", - "@wordpress/block-directory": "3.0.27", - "@wordpress/block-editor": "8.0.17", - "@wordpress/block-library": "6.0.26", + "@wordpress/block-directory": "3.0.28", + "@wordpress/block-editor": "8.0.18", + "@wordpress/block-library": "6.0.27", "@wordpress/block-serialization-default-parser": "4.2.3", "@wordpress/blocks": "11.1.5", "@wordpress/components": "19.2.3", "@wordpress/compose": "5.0.7", - "@wordpress/core-data": "4.0.10", - "@wordpress/customize-widgets": "2.0.27", + "@wordpress/core-data": "4.0.11", + "@wordpress/customize-widgets": "2.0.28", "@wordpress/data": "6.1.5", - "@wordpress/data-controls": "2.2.8", + "@wordpress/data-controls": "2.2.9", "@wordpress/date": "4.2.3", "@wordpress/deprecated": "3.2.3", "@wordpress/dom": "3.2.7", "@wordpress/dom-ready": "3.2.3", - "@wordpress/edit-post": "5.0.27", - "@wordpress/edit-site": "3.0.27", - "@wordpress/edit-widgets": "3.1.22", - "@wordpress/editor": "12.0.21", + "@wordpress/edit-post": "5.0.28", + "@wordpress/edit-site": "3.0.28", + "@wordpress/edit-widgets": "3.1.23", + "@wordpress/editor": "12.0.22", "@wordpress/element": "4.0.4", "@wordpress/escape-html": "2.2.3", - "@wordpress/format-library": "3.0.23", + "@wordpress/format-library": "3.0.24", "@wordpress/hooks": "3.2.2", "@wordpress/html-entities": "3.2.3", "@wordpress/i18n": "4.2.4", @@ -112,23 +112,23 @@ "@wordpress/is-shallow-equal": "4.2.1", "@wordpress/keyboard-shortcuts": "3.0.7", "@wordpress/keycodes": "3.2.4", - "@wordpress/list-reusable-blocks": "3.0.20", - "@wordpress/media-utils": "3.0.5", + "@wordpress/list-reusable-blocks": "3.0.21", + "@wordpress/media-utils": "3.0.6", "@wordpress/notices": "3.2.8", "@wordpress/nux": "5.0.20", "@wordpress/plugins": "4.0.7", "@wordpress/primitives": "3.0.4", "@wordpress/priority-queue": "2.2.3", "@wordpress/redux-routine": "4.2.2", - "@wordpress/reusable-blocks": "3.0.23", + "@wordpress/reusable-blocks": "3.0.24", "@wordpress/rich-text": "5.0.8", - "@wordpress/server-side-render": "3.0.20", + "@wordpress/server-side-render": "3.0.21", "@wordpress/shortcode": "3.2.3", "@wordpress/token-list": "2.2.2", - "@wordpress/url": "3.3.1", + "@wordpress/url": "3.3.2", "@wordpress/viewport": "4.0.7", "@wordpress/warning": "2.2.2", - "@wordpress/widgets": "2.0.23", + "@wordpress/widgets": "2.0.24", "@wordpress/wordcount": "3.2.3", "backbone": "1.4.0", "clipboard": "2.0.8", diff --git a/src/wp-includes/assets/script-loader-packages.php b/src/wp-includes/assets/script-loader-packages.php index 29fca6eaef940..0ccadb8ddc9d5 100644 --- a/src/wp-includes/assets/script-loader-packages.php +++ b/src/wp-includes/assets/script-loader-packages.php @@ -1 +1 @@ - array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'fa03f246887237d01c383e85ff6f107c'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'acd6ed75d460d0d3781e1ef6c12cf2aa'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '59f6dbf5a1d9a141515c25411bc4f01e'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e65166da67ee5d5ff66d36ab14532b3b'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b8855b04f6a52a7bca89f8d945d46866'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'a8ff26eaaddf949aee8669d14277aec3'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => 'f2aa66e525b142523ccf4a3f45798fe0'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'd81febfadbdc8ef206bd8df146d3829d'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cc8e5d0e23cf68bb9944bf2a7a016e52'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'a32036d432544d670dbd252aafb343aa'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '194bb4ad7b702ec1158fae8c39f4055f'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1491dea52ef44b12c4130dc7fe00ea20'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '97c06a5195fcd3e5fe3c5d2422c7d76b'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'a4ae79ff9d722a302a31b7af5478e6b7'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '93e547cee9fc74070215d5c1ce324bf6'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'a6b5897d9fe0799f7c5167a4a9fb3fc2'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'be8358e0f87d66f2bec405069f113602'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '64e8de35a014ff611a39da7042d361dd'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7d156934b7b48d00965baf08e162ab91'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '7ad174e925c73007ee5b17358242e7d9'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => 'd1f7eff1711bbd5a12e7a5b393f59854'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => '3cd3728580691764903e3341d99eabce'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '66e504d030a7022e8ff7b58a56042f3a'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '01fb613918bcc66701ddcfd70da3f247'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '32e0abe121ab85a88acb6472274ad136'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4f03d9c45a01df8191f6833373fe1cfa'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '638b31b2e32bdc443afa62d9aa251d8a'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fee9af3abfeb76b497fd074608dca647'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '9ddfa7e364f034c04939567c6c6079d5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '78a4020b31c5ae28f7e97405b83d5027'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '57a448b50bb24e264205e448e0b19ea2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '411699046747b4d90f82c5b2547ff43c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'ab2c70450229febbbb0a87e88074db07'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b9e78ffafe025c455d9ccf2c1a78d1de'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'feee5fbb3df2a20c6dc4653f33d12e13'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '76d0e1ad216a273ab1359db9aaab1809'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ec5aecfc61b399ed5c8fa2de6b175942'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f4483156a9bae90512f894dbd867b929'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '436b8be211e4f30893de92b1faad8984'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '855cfaa16e1e86346cdf24239800bcaf'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'c8b79b06e8a76272ee868b17b6a9d37b'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '0e7a194ec8387c92e8d2c2b3755c3c9b'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'a50777df914543c1a77067959d6b3fbf'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'd99eea3ea07b8acf242f75a06a2c49ff'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '67406a236d2370eedc90db2dfdcb46bd'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5ebe2df53cf3c74ebffc7e2d3e76184c'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '3dd8fa0fcd8381649603b755437d9be1'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007')); \ No newline at end of file + array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'fa03f246887237d01c383e85ff6f107c'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'acd6ed75d460d0d3781e1ef6c12cf2aa'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '59f6dbf5a1d9a141515c25411bc4f01e'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e65166da67ee5d5ff66d36ab14532b3b'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b8855b04f6a52a7bca89f8d945d46866'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'a8ff26eaaddf949aee8669d14277aec3'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => 'f2aa66e525b142523ccf4a3f45798fe0'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'd81febfadbdc8ef206bd8df146d3829d'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cc8e5d0e23cf68bb9944bf2a7a016e52'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'a32036d432544d670dbd252aafb343aa'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '194bb4ad7b702ec1158fae8c39f4055f'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1491dea52ef44b12c4130dc7fe00ea20'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '97c06a5195fcd3e5fe3c5d2422c7d76b'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'a4ae79ff9d722a302a31b7af5478e6b7'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '93e547cee9fc74070215d5c1ce324bf6'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'a6b5897d9fe0799f7c5167a4a9fb3fc2'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'be8358e0f87d66f2bec405069f113602'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '64e8de35a014ff611a39da7042d361dd'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7d156934b7b48d00965baf08e162ab91'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '7ad174e925c73007ee5b17358242e7d9'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => 'd1f7eff1711bbd5a12e7a5b393f59854'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => 'e77dc1e4020d72da3ec40ae04699a207'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '66e504d030a7022e8ff7b58a56042f3a'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '01fb613918bcc66701ddcfd70da3f247'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '32e0abe121ab85a88acb6472274ad136'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4f03d9c45a01df8191f6833373fe1cfa'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '638b31b2e32bdc443afa62d9aa251d8a'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fee9af3abfeb76b497fd074608dca647'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '9ddfa7e364f034c04939567c6c6079d5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '78a4020b31c5ae28f7e97405b83d5027'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '57a448b50bb24e264205e448e0b19ea2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '411699046747b4d90f82c5b2547ff43c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'ab2c70450229febbbb0a87e88074db07'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b9e78ffafe025c455d9ccf2c1a78d1de'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'feee5fbb3df2a20c6dc4653f33d12e13'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '76d0e1ad216a273ab1359db9aaab1809'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ec5aecfc61b399ed5c8fa2de6b175942'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f4483156a9bae90512f894dbd867b929'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '436b8be211e4f30893de92b1faad8984'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '855cfaa16e1e86346cdf24239800bcaf'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'c8b79b06e8a76272ee868b17b6a9d37b'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '0e7a194ec8387c92e8d2c2b3755c3c9b'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'a50777df914543c1a77067959d6b3fbf'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'e029ff5c5e00571a18b21763c840e8fe'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '67406a236d2370eedc90db2dfdcb46bd'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5ebe2df53cf3c74ebffc7e2d3e76184c'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '3dd8fa0fcd8381649603b755437d9be1'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007')); \ No newline at end of file From 27d3af825b7ab86a9941421073d667d20312ece6 Mon Sep 17 00:00:00 2001 From: Jorge Costa Date: Thu, 10 Mar 2022 23:36:14 +0000 Subject: [PATCH 092/161] Block Editor: Improve Global Styles filtering order. From the conceptual point it makes sense to execute global styles filters before post filters. So the post filters are always the last. Props xknown, sergey, audrasjb, vortfu, oandregal, get_dave. Merges [52895] to the 5.9 branch. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52896 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/kses.php | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/wp-includes/kses.php b/src/wp-includes/kses.php index 5ad504602bc7d..cca5af29a3935 100644 --- a/src/wp-includes/kses.php +++ b/src/wp-includes/kses.php @@ -2201,12 +2201,14 @@ function kses_init_filters() { add_filter( 'pre_comment_content', 'wp_filter_kses' ); } + // Global Styles filtering: Global Styles filters should be executed before normal post_kses HTML filters. + add_filter( 'content_save_pre', 'wp_filter_global_styles_post', 9 ); + add_filter( 'content_filtered_save_pre', 'wp_filter_global_styles_post', 9 ); + // Post filtering. add_filter( 'content_save_pre', 'wp_filter_post_kses' ); - add_filter( 'content_save_pre', 'wp_filter_global_styles_post' ); add_filter( 'excerpt_save_pre', 'wp_filter_post_kses' ); add_filter( 'content_filtered_save_pre', 'wp_filter_post_kses' ); - add_filter( 'content_filtered_save_pre', 'wp_filter_global_styles_post' ); } /** @@ -2229,12 +2231,14 @@ function kses_remove_filters() { remove_filter( 'pre_comment_content', 'wp_filter_post_kses' ); remove_filter( 'pre_comment_content', 'wp_filter_kses' ); + // Global Styles filtering. + remove_filter( 'content_save_pre', 'wp_filter_global_styles_post', 9 ); + remove_filter( 'content_filtered_save_pre', 'wp_filter_global_styles_post', 9 ); + // Post filtering. remove_filter( 'content_save_pre', 'wp_filter_post_kses' ); - remove_filter( 'content_save_pre', 'wp_filter_global_styles_post' ); remove_filter( 'excerpt_save_pre', 'wp_filter_post_kses' ); remove_filter( 'content_filtered_save_pre', 'wp_filter_post_kses' ); - remove_filter( 'content_filtered_save_pre', 'wp_filter_global_styles_post' ); } /** From 0b800e21c311e302824e4a025946a6fdb4f6c794 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 11 Mar 2022 02:31:20 +0000 Subject: [PATCH 093/161] Post WordPress 5.9.2 version bump. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@52920 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 2 +- package.json | 2 +- src/wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5b367ac2a0872..5bfc068f96665 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "WordPress", - "version": "5.9.2", + "version": "5.9.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 86a2bc1c3d33e..46825bbcf4c16 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "WordPress", - "version": "5.9.2", + "version": "5.9.3", "description": "WordPress is open source software you can use to create a beautiful website, blog, or app.", "repository": { "type": "svn", diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php index 7486290d141f5..05f1352bd7d10 100644 --- a/src/wp-includes/version.php +++ b/src/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '5.9.2-src'; +$wp_version = '5.9.3-alpha-52920-src'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. From 1f2b9ce4f9484f758d3d5afee3b0b8746a150cae Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 28 Mar 2022 20:29:09 +0000 Subject: [PATCH 094/161] Editor: Optimize preload paths for post and site editors. This patch optimizes preload paths in post and site editors so that they match the real requests: - Remove the `/` preload as the payload is very big and the response is not needed on any critical path. - Modify the preloaded path for `/wp/v2/taxonomies` so that it corresponds to what `loadTaxonomyEntities` requests. After Gutenberg PR 37685 was merged to core, these preloads need to be modified to use `context=view` instead of `context=edit`. - Modify the `/wp/v2/users/me` path so that it matches the real request (no query params). - Add a preload of `/wp/v2/settings` because it is requested on critical path (editor boot). Site editor already preloads this, the changeset is only adding it to the post editor. This is related to Gutenberg PR 39256 which introduces compatibility code to modify the preload paths with a filter, when the Gutenberg plugin is active. See https://github.com/WordPress/gutenberg/pull/39256. Props jsnajdr, noisysocks. Merges [52995] to the 5.9 branch. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53005 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/edit-form-blocks.php | 6 +++--- src/wp-admin/site-editor.php | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/edit-form-blocks.php b/src/wp-admin/edit-form-blocks.php index 0268bc8ae8c82..9d683b2afd2f5 100644 --- a/src/wp-admin/edit-form-blocks.php +++ b/src/wp-admin/edit-form-blocks.php @@ -57,16 +57,16 @@ static function( $classes ) { // Preload common data. $preload_paths = array( - '/', '/wp/v2/types?context=edit', - '/wp/v2/taxonomies?per_page=-1&context=edit', + '/wp/v2/taxonomies?context=edit', '/wp/v2/themes?status=active', add_query_arg( 'context', 'edit', $rest_path ), sprintf( '/wp/v2/types/%s?context=edit', $post_type ), - sprintf( '/wp/v2/users/me?post_type=%s&context=edit', $post_type ), + '/wp/v2/users/me', array( rest_get_route_for_post_type_items( 'attachment' ), 'OPTIONS' ), array( rest_get_route_for_post_type_items( 'wp_block' ), 'OPTIONS' ), sprintf( '%s/autosaves?context=edit', $rest_path ), + '/wp/v2/settings', ); block_editor_rest_api_preload( $preload_paths, $block_editor_context ); diff --git a/src/wp-admin/site-editor.php b/src/wp-admin/site-editor.php index cbbf38e7ea2c9..71779f307a190 100644 --- a/src/wp-admin/site-editor.php +++ b/src/wp-admin/site-editor.php @@ -72,7 +72,6 @@ static function( $classes ) { $active_theme = wp_get_theme()->get_stylesheet(); $preload_paths = array( array( '/wp/v2/media', 'OPTIONS' ), - '/', '/wp/v2/types?context=edit', '/wp/v2/types/wp_template?context=edit', '/wp/v2/types/wp_template-part?context=edit', From e258cac7bc3e52a0822436310edbe5cf3548418e Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Mon, 28 Mar 2022 20:51:00 +0000 Subject: [PATCH 095/161] Media: Make `get_post_galleries()` only return galleries. This change makes sure only gallery content is returned by `get_post_galleries()`. It fixes an issue where non gallery block content was also returned by the function. Props BinaryMoon, costdev, glendaviesnz. Merges [52797] to the 5.9 branch. Fixes #55203. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53006 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/media.php | 9 ++- .../phpunit/tests/media/getPostGalleries.php | 76 +++++++++++++++++++ 2 files changed, 82 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php index 0daff31b37010..28dc7b80b92b7 100644 --- a/src/wp-includes/media.php +++ b/src/wp-includes/media.php @@ -4779,9 +4779,12 @@ function get_post_galleries( $post, $html = true ) { continue; } - // All blocks nested inside non-Gallery blocks should be in the root array. - if ( $has_inner_blocks && 'core/gallery' !== $block['blockName'] ) { - array_push( $post_blocks, ...$block['innerBlocks'] ); + // Skip non-Gallery blocks. + if ( 'core/gallery' !== $block['blockName'] ) { + // Move inner blocks into the root array before skipping. + if ( $has_inner_blocks ) { + array_push( $post_blocks, ...$block['innerBlocks'] ); + } continue; } diff --git a/tests/phpunit/tests/media/getPostGalleries.php b/tests/phpunit/tests/media/getPostGalleries.php index bd114b899f3b0..d42dce59150af 100644 --- a/tests/phpunit/tests/media/getPostGalleries.php +++ b/tests/phpunit/tests/media/getPostGalleries.php @@ -41,6 +41,82 @@ public function test_returns_empty_array_with_post_with_no_gallery() { $this->assertEmpty( $galleries ); } + /** + * Test that only galleries are returned. + * + * @dataProvider data_returns_only_galleries + * + * @ticket 55203 + * + * @param string $content The content of the post. + * @param string $needle The content of a non-gallery block. + */ + public function test_returns_only_galleries( $content, $needle ) { + $image_id = $this->factory->attachment->create_object( + array( + 'file' => 'test.jpg', + 'post_parent' => 0, + 'post_mime_type' => 'image/jpeg', + 'post_type' => 'attachment', + ) + ); + + $image_url = 'http://' . WP_TESTS_DOMAIN . '/wp-content/uploads/test.jpg'; + + $content = str_replace( + array( 'IMAGE_ID', 'IMAGE_URL' ), + array( $image_id, $image_url ), + $content + ); + + $post_id = $this->factory->post->create( + array( + 'post_content' => $content, + ) + ); + + $galleries = get_post_galleries( $post_id ); + $actual = implode( '', $galleries ); + + $this->assertStringNotContainsString( $needle, $actual ); + } + + /** + * Data provider. + * + * @return array + */ + public function data_returns_only_galleries() { + $gallery = ' + +

    + + '; + + return array( + 'a paragraph before a gallery' => array( + 'content' => '

    A paragraph before a gallery.

    ' . $gallery, + 'needle' => 'A paragraph before a gallery.', + ), + 'a paragraph after a gallery' => array( + 'content' => $gallery . '

    A paragraph after a gallery.

    ', + 'needle' => 'A paragraph after a gallery.', + ), + ); + } + /** * Test that no srcs are returned for a shortcode gallery * in a post with no attached images. From 5963fa56941abba91959aca433cb0b37a49503e8 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 29 Mar 2022 08:53:31 +0000 Subject: [PATCH 096/161] Themes: Hide block themes live preview link following installation. Prevent the Customizer/Live Preview button from showing for installed block themes when on the theme installation page. Props antonvlasenko, costdev, ironprogrammer. Merges [52819] to the 5.9 branch. Fixes #54878. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53008 602fd350-edb4-49c9-b593-d223f7449a82 --- src/js/_enqueues/wp/theme.js | 3 +++ src/wp-admin/includes/ajax-actions.php | 25 ++++++++++++++++++++++++- src/wp-admin/theme-install.php | 11 +++++++---- 3 files changed, 34 insertions(+), 5 deletions(-) diff --git a/src/js/_enqueues/wp/theme.js b/src/js/_enqueues/wp/theme.js index 818c20149688b..b3821246d9859 100644 --- a/src/js/_enqueues/wp/theme.js +++ b/src/js/_enqueues/wp/theme.js @@ -622,6 +622,9 @@ themes.view.Theme = wp.Backbone.View.extend({ if ( _this.model.get( 'id' ) === response.slug ) { _this.model.set( { 'installed': true } ); } + if ( response.blockTheme ) { + _this.model.set( { 'block_theme': true } ); + } } ); wp.updates.installTheme( { diff --git a/src/wp-admin/includes/ajax-actions.php b/src/wp-admin/includes/ajax-actions.php index 191e5b54ddd8b..ecea22366733e 100644 --- a/src/wp-admin/includes/ajax-actions.php +++ b/src/wp-admin/includes/ajax-actions.php @@ -3568,6 +3568,19 @@ function wp_ajax_query_themes() { $update_php = network_admin_url( 'update.php?action=install-theme' ); + $installed_themes = search_theme_directories(); + + if ( false === $installed_themes ) { + $installed_themes = array(); + } + + foreach ( $installed_themes as $theme_slug => $theme_data ) { + // Ignore child themes. + if ( str_contains( $theme_slug, '/' ) ) { + unset( $installed_themes[ $theme_slug ] ); + } + } + foreach ( $api->themes as &$theme ) { $theme->install_url = add_query_arg( array( @@ -3599,12 +3612,19 @@ function wp_ajax_query_themes() { } } + $is_theme_installed = array_key_exists( $theme->slug, $installed_themes ); + + // We only care about installed themes. + $theme->block_theme = $is_theme_installed && wp_get_theme( $theme->slug )->is_block_theme(); + if ( ! is_multisite() && current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { + $customize_url = $theme->block_theme ? admin_url( 'site-editor.php' ) : wp_customize_url( $theme->slug ); + $theme->customize_url = add_query_arg( array( 'return' => urlencode( network_admin_url( 'theme-install.php', 'relative' ) ), ), - wp_customize_url( $theme->slug ) + $customize_url ); } @@ -4139,6 +4159,9 @@ function wp_ajax_install_theme() { } } + $theme = wp_get_theme( $slug ); + $status['blockTheme'] = $theme->is_block_theme(); + if ( ! is_multisite() && current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { $status['customizeUrl'] = add_query_arg( array( diff --git a/src/wp-admin/theme-install.php b/src/wp-admin/theme-install.php index cd3a607ea91fd..7d592dda6500d 100644 --- a/src/wp-admin/theme-install.php +++ b/src/wp-admin/theme-install.php @@ -35,9 +35,10 @@ $installed_themes = array(); } -foreach ( $installed_themes as $k => $v ) { - if ( false !== strpos( $k, '/' ) ) { - unset( $installed_themes[ $k ] ); +foreach ( $installed_themes as $theme_slug => $theme_data ) { + // Ignore child themes. + if ( str_contains( $theme_slug, '/' ) ) { + unset( $installed_themes[ $theme_slug ] ); } } @@ -373,7 +374,9 @@ <# } #> <# if ( data.customize_url ) { #> <# if ( ! data.active ) { #> - + <# if ( ! data.block_theme ) { #> + + <# } #> <# } else { #> <# } #> From 930b56bd367a6c1476c0d8fcd9a80cd6b077cc09 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 29 Mar 2022 09:10:55 +0000 Subject: [PATCH 097/161] Themes: Avoid undefined variable warning on `get_svg_filters()`. This change fixes an undefined variable warning thrown when `duotone` color setting was set to null in Block Themes `theme.json` file. Follow-up to [52768]. Props aliakseyenkaihar, audrasjb, rafiahmedd. Merges [52791] to the 5.9 branch. Fixes #55241. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53009 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-theme-json.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/class-wp-theme-json.php b/src/wp-includes/class-wp-theme-json.php index d98a2379cafb1..34893ffb785c3 100644 --- a/src/wp-includes/class-wp-theme-json.php +++ b/src/wp-includes/class-wp-theme-json.php @@ -1598,6 +1598,7 @@ public function get_svg_filters( $origins ) { $blocks_metadata = static::get_blocks_metadata(); $setting_nodes = static::get_setting_nodes( $this->theme_json, $blocks_metadata ); + $filters = ''; foreach ( $setting_nodes as $metadata ) { $node = _wp_array_get( $this->theme_json, $metadata['path'], array() ); if ( empty( $node['color']['duotone'] ) ) { @@ -1606,7 +1607,6 @@ public function get_svg_filters( $origins ) { $duotone_presets = $node['color']['duotone']; - $filters = ''; foreach ( $origins as $origin ) { if ( ! isset( $duotone_presets[ $origin ] ) ) { continue; From f4837d7b6297ec47dc12035de813b5801ce514fd Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 29 Mar 2022 13:07:07 +0000 Subject: [PATCH 098/161] Editor: Use `wp_unique_id()` instead of `uniqid()` to generate CSS class names. Backports changes from https://github.com/WordPress/gutenberg/pull/38891. See https://github.com/WordPress/gutenberg/issues/38889. Props westonruter, mamaduka. Merges [53012] to the 5.9 branch. See #55474. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53013 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/block-supports/duotone.php | 2 +- src/wp-includes/block-supports/elements.php | 2 +- src/wp-includes/block-supports/layout.php | 8 ++++---- tests/phpunit/tests/block-supports/elements.php | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/wp-includes/block-supports/duotone.php b/src/wp-includes/block-supports/duotone.php index 6589f4d1506e9..0911636c43c19 100644 --- a/src/wp-includes/block-supports/duotone.php +++ b/src/wp-includes/block-supports/duotone.php @@ -520,7 +520,7 @@ function wp_render_duotone_support( $block_content, $block ) { } $filter_preset = array( - 'slug' => uniqid(), + 'slug' => wp_unique_id( sanitize_key( implode( '-', $block['attrs']['style']['color']['duotone'] ) . '-' ) ), 'colors' => $block['attrs']['style']['color']['duotone'], ); $filter_property = wp_get_duotone_filter_property( $filter_preset ); diff --git a/src/wp-includes/block-supports/elements.php b/src/wp-includes/block-supports/elements.php index 44a22424ae913..ccc21860fffed 100644 --- a/src/wp-includes/block-supports/elements.php +++ b/src/wp-includes/block-supports/elements.php @@ -36,7 +36,7 @@ function wp_render_elements_support( $block_content, $block ) { return $block_content; } - $class_name = 'wp-elements-' . uniqid(); + $class_name = wp_unique_id( 'wp-elements-' ); if ( strpos( $link_color, 'var:preset|color|' ) !== false ) { // Get the name from the string and add proper styles. diff --git a/src/wp-includes/block-supports/layout.php b/src/wp-includes/block-supports/layout.php index 65e5910decc8b..c0a52a163b41c 100644 --- a/src/wp-includes/block-supports/layout.php +++ b/src/wp-includes/block-supports/layout.php @@ -159,18 +159,18 @@ function wp_render_layout_support_flag( $block_content, $block ) { $used_layout = $default_layout; } - $id = uniqid(); - $gap_value = _wp_array_get( $block, array( 'attrs', 'style', 'spacing', 'blockGap' ) ); + $class_name = wp_unique_id( 'wp-container-' ); + $gap_value = _wp_array_get( $block, array( 'attrs', 'style', 'spacing', 'blockGap' ) ); // Skip if gap value contains unsupported characters. // Regex for CSS value borrowed from `safecss_filter_attr`, and used here // because we only want to match against the value, not the CSS attribute. $gap_value = preg_match( '%[\\\(&=}]|/\*%', $gap_value ) ? null : $gap_value; - $style = wp_get_layout_style( ".wp-container-$id", $used_layout, $has_block_gap_support, $gap_value ); + $style = wp_get_layout_style( ".$class_name", $used_layout, $has_block_gap_support, $gap_value ); // This assumes the hook only applies to blocks with a single wrapper. // I think this is a reasonable limitation for that particular hook. $content = preg_replace( '/' . preg_quote( 'class="', '/' ) . '/', - 'class="wp-container-' . $id . ' ', + 'class="' . esc_attr( $class_name ) . ' ', $block_content, 1 ); diff --git a/tests/phpunit/tests/block-supports/elements.php b/tests/phpunit/tests/block-supports/elements.php index 84e7446f14e4e..ae524ac7679d9 100644 --- a/tests/phpunit/tests/block-supports/elements.php +++ b/tests/phpunit/tests/block-supports/elements.php @@ -11,7 +11,7 @@ class Tests_Block_Supports_Elements extends WP_UnitTestCase { * @return string String where the unique id classes were replaced with "wp-elements-1". */ private static function make_unique_id_one( $string ) { - return preg_replace( '/wp-elements-.{13}/', 'wp-elements-1', $string ); + return preg_replace( '/wp-elements-\d+/', 'wp-elements-1', $string ); } /** From 99e04b155cef7164d52d00829d8d5eb436e93486 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 29 Mar 2022 13:47:15 +0000 Subject: [PATCH 099/161] Editor: Change location of block support styles in `wp_head`. Backports changes from https://github.com/WordPress/gutenberg/pull/39164. Props ndiego, alexstine, cbravobernal, mamaduka. Merges [53015] to the 5.9 branch. See #55474. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53017 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/script-loader.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 88324131e419f..6b2a08b42f456 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -2925,8 +2925,8 @@ function wp_enqueue_global_styles_css_custom_properties() { * * For block themes, it's loaded in the head. * For classic ones, it's loaded in the body - * because the wp_head action (and wp_enqueue_scripts) - * happens before the render_block. + * because the wp_head action happens before + * the render_block. * * @link https://core.trac.wordpress.org/ticket/53494. * @@ -2935,7 +2935,7 @@ function wp_enqueue_global_styles_css_custom_properties() { function wp_enqueue_block_support_styles( $style ) { $action_hook_name = 'wp_footer'; if ( wp_is_block_theme() ) { - $action_hook_name = 'wp_enqueue_scripts'; + $action_hook_name = 'wp_head'; } add_action( $action_hook_name, From 8cbd8c0c7bb5daef87213ea65f9865099dd84216 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 29 Mar 2022 15:41:42 +0000 Subject: [PATCH 100/161] Editor: Fix broken asset URLs when using WP outside of the regular directory Both CSS and JS URLs were totally broken for some of the newer blocks (e.g. the navigation block in the 2022 theme) when WP core is outside of the current directory using a different prefix. Props gziolo, SergeyBiryukov, pgpagely, Mamaduka. Merges [52939] to the 5.9 branch. Fixes #55311. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53019 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/blocks.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/blocks.php b/src/wp-includes/blocks.php index 5669bbf7b61cf..cca0c81730c41 100644 --- a/src/wp-includes/blocks.php +++ b/src/wp-includes/blocks.php @@ -103,7 +103,7 @@ function register_block_script_handle( $metadata, $field_name ) { return false; } // Path needs to be normalized to work in Windows env. - $wpinc_path_norm = wp_normalize_path( ABSPATH . WPINC ); + $wpinc_path_norm = wp_normalize_path( realpath( ABSPATH . WPINC ) ); $script_path_norm = wp_normalize_path( realpath( dirname( $metadata['file'] ) . '/' . $script_path ) ); $is_core_block = isset( $metadata['file'] ) && 0 === strpos( $metadata['file'], $wpinc_path_norm ); @@ -145,7 +145,7 @@ function register_block_style_handle( $metadata, $field_name ) { if ( empty( $metadata[ $field_name ] ) ) { return false; } - $wpinc_path_norm = wp_normalize_path( ABSPATH . WPINC ); + $wpinc_path_norm = wp_normalize_path( realpath( ABSPATH . WPINC ) ); $is_core_block = isset( $metadata['file'] ) && 0 === strpos( $metadata['file'], $wpinc_path_norm ); if ( $is_core_block && ! wp_should_load_separate_core_block_assets() ) { return false; @@ -239,7 +239,7 @@ function register_block_type_from_metadata( $file_or_folder, $args = array() ) { if ( ! is_array( $metadata ) || empty( $metadata['name'] ) ) { return false; } - $metadata['file'] = wp_normalize_path( $metadata_file ); + $metadata['file'] = wp_normalize_path( realpath( $metadata_file ) ); /** * Filters the metadata provided for registering a block type. From aae08058cfc1b76bb27db8ab1a910f831650c953 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 29 Mar 2022 16:22:29 +0000 Subject: [PATCH 101/161] Administration: Do not specify menu order for the Widgets menu when the active theme is a block theme. When using a block theme that declares Widgets support, it's better to not specify a menu order for the Widgets menu to avoid conflicts between menu items order. Props Rufus87, ironprogrammer, audrasjb, hellofromTonya, davidbaumwald. Merges [53020] to the 5.9 branch. Fixes #54916. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53021 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 7a46a7f34ada5..93078c70a23f2 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -5185,6 +5185,7 @@ function wp_maybe_load_widgets() { * Append the Widgets menu to the themes main menu. * * @since 2.2.0 + * @since 5.9.3 Don't specify menu order when the active theme is a block theme. * * @global array $submenu */ @@ -5195,7 +5196,13 @@ function wp_widgets_add_menu() { return; } - $submenu['themes.php'][7] = array( __( 'Widgets' ), 'edit_theme_options', 'widgets.php' ); + $menu_name = __( 'Widgets' ); + if ( wp_is_block_theme() ) { + $submenu['themes.php'][] = array( $menu_name, 'edit_theme_options', 'widgets.php' ); + } else { + $submenu['themes.php'][7] = array( $menu_name, 'edit_theme_options', 'widgets.php' ); + } + ksort( $submenu['themes.php'], SORT_NUMERIC ); } From 7a6a2ec3bb656b4e57b87f75d6c912bbb8642d6d Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 29 Mar 2022 16:28:45 +0000 Subject: [PATCH 102/161] Filesystem API: Include the `ssh-ed25519` public key signature algorithm as an alternative to `ssh-rsa`. The `ssh-rsa` signature algorithm is disabled by default as of OpenSSH 8.8, which breaks SSH2 uploads in WordPress on modern systems. `ssh-ed25519` is one of the suggested alternatives, supported since OpenSSH 6.5. References: - OpenSSH 8.2 release notes - OpenSSH 8.7 release notes - OpenSSH 8.8 release notes Follow-up to [8865]. Props richybkreckel, dd32, SergeyBiryukov. Merges [52807] to the 5.9 branch. Fixes #52409. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53022 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-filesystem-ssh2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/class-wp-filesystem-ssh2.php b/src/wp-admin/includes/class-wp-filesystem-ssh2.php index 7687d2d75082a..b3337160e0d26 100644 --- a/src/wp-admin/includes/class-wp-filesystem-ssh2.php +++ b/src/wp-admin/includes/class-wp-filesystem-ssh2.php @@ -88,7 +88,7 @@ public function __construct( $opt = '' ) { $this->options['public_key'] = $opt['public_key']; $this->options['private_key'] = $opt['private_key']; - $this->options['hostkey'] = array( 'hostkey' => 'ssh-rsa' ); + $this->options['hostkey'] = array( 'hostkey' => 'ssh-rsa,ssh-ed25519' ); $this->keys = true; } elseif ( empty( $opt['username'] ) ) { From 1a569f3e87e24e9eb17dc1ed5bbfc1ff9fac4f26 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Tue, 29 Mar 2022 20:16:36 +0000 Subject: [PATCH 103/161] Customizer: When a block theme is active, add an information about Site Editor in the Customizer. This change adds an information notice to the customizer when a block theme is active and the customizer is also available (for example when a plugin activates it), to encourage people to use the Site Editor for the best full site customization experience. Props ironprogrammer, antonvlasenko, Clorith, audrasjb, psmits1567, tobifjellner, costdev, webcommsat, joedolson, pbiron. Merges [53024] and [53025] to the 5.9 branch. Fixes #54939. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53026 602fd350-edb4-49c9-b593-d223f7449a82 --- src/js/_enqueues/wp/customize/controls.js | 31 +++++++++++++++++++++++ src/wp-admin/css/customize-controls.css | 6 +++++ src/wp-admin/customize.php | 4 +-- src/wp-includes/script-loader.php | 10 ++++++++ 4 files changed, 49 insertions(+), 2 deletions(-) diff --git a/src/js/_enqueues/wp/customize/controls.js b/src/js/_enqueues/wp/customize/controls.js index 00ec7e2599bb4..37a57fd8595fa 100644 --- a/src/js/_enqueues/wp/customize/controls.js +++ b/src/js/_enqueues/wp/customize/controls.js @@ -8334,6 +8334,33 @@ history.replaceState( {}, document.title, urlParser.href ); } + /** + * Displays a Site Editor notification when a block theme is activated. + * + * @since 4.9.0 + * + * @param {string} [notification] - A notification to display. + * @return {void} + */ + function addSiteEditorNotification( notification ) { + api.notifications.add( new api.Notification( 'site_editor_block_theme_notice', { + message: notification, + type: 'info', + dismissible: false, + render: function() { + var notification = api.Notification.prototype.render.call( this ), + button = notification.find( 'button.switch-to-editor' ); + + button.on( 'click', function( event ) { + event.preventDefault(); + location.assign( button.data( 'action' ) ); + } ); + + return notification; + } + } ) ); + } + /** * Dismiss autosave. * @@ -8408,6 +8435,10 @@ if ( api.settings.changeset.latestAutoDraftUuid || api.settings.changeset.hasAutosaveRevision ) { addAutosaveRestoreNotification(); } + var shouldDisplayBlockThemeNotification = !! parseInt( $( '#customize-info' ).data( 'block-theme' ), 10 ); + if (shouldDisplayBlockThemeNotification) { + addSiteEditorNotification( api.l10n.blockThemeNotification ); + } })(); // Check if preview url is valid and load the preview frame. diff --git a/src/wp-admin/css/customize-controls.css b/src/wp-admin/css/customize-controls.css index bdd28880c19f0..20596fa23cdec 100644 --- a/src/wp-admin/css/customize-controls.css +++ b/src/wp-admin/css/customize-controls.css @@ -1733,6 +1733,12 @@ p.customize-section-description { font-weight: 400; } +#customize-notifications-area .notification-message button.switch-to-editor { + display: block; + margin-top: 6px; + font-weight: 400; +} + #customize-theme-controls .control-panel-themes > .accordion-section-title:after { display: none; } diff --git a/src/wp-admin/customize.php b/src/wp-admin/customize.php index aed0646336faf..0df5d81ae571a 100644 --- a/src/wp-admin/customize.php +++ b/src/wp-admin/customize.php @@ -222,7 +222,7 @@
      -
      +

      diff --git a/src/wp-includes/script-loader.php b/src/wp-includes/script-loader.php index 6b2a08b42f456..81e6742bb00e0 100644 --- a/src/wp-includes/script-loader.php +++ b/src/wp-includes/script-loader.php @@ -1220,6 +1220,16 @@ function wp_default_scripts( $scripts ) { 'publishSettings' => __( 'Publish Settings' ), 'invalidDate' => __( 'Invalid date.' ), 'invalidValue' => __( 'Invalid value.' ), + 'blockThemeNotification' => sprintf( + /* translators: 1: Link to Site Editor documentation on HelpHub, 2: HTML button. */ + __( 'Hurray! Your theme supports Full Site Editing with blocks. Tell me more. %2$s' ), + __( 'https://wordpress.org/support/article/site-editor/' ), + sprintf( + '', + esc_url( admin_url( 'site-editor.php' ) ), + __( 'Use Site Editor' ) + ) + ), ) ); $scripts->add( 'customize-selective-refresh', "/wp-includes/js/customize-selective-refresh$suffix.js", array( 'jquery', 'wp-util', 'customize-preview' ), false, 1 ); From beb96fe351fc780b06f353e7769454e7bd7c8731 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 30 Mar 2022 11:28:30 +0000 Subject: [PATCH 104/161] Update WordPress packages for 5.9.3. Updated packages: - @wordpress/block-directory@3.0.29 - @wordpress/block-library@6.0.28 - @wordpress/customize-widgets@2.0.29 - @wordpress/edit-post@5.0.29 - @wordpress/edit-site@3.0.29 - @wordpress/edit-widgets@3.1.24 Props mamaduka, jorgefilipecosta. Fixes #55474. git-svn-id: https://develop.svn.wordpress.org/branches/5.9@53030 602fd350-edb4-49c9-b593-d223f7449a82 --- package-lock.json | 48 +++++++++---------- package.json | 12 ++--- .../assets/script-loader-packages.php | 2 +- src/wp-includes/blocks/archives.php | 2 +- src/wp-includes/blocks/navigation.php | 8 ++-- src/wp-includes/blocks/search.php | 9 ++-- 6 files changed, 42 insertions(+), 39 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5bfc068f96665..10befba246318 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3723,9 +3723,9 @@ } }, "@wordpress/block-directory": { - "version": "3.0.28", - "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.28.tgz", - "integrity": "sha512-YvE5lesqqnJB7vX6xHM7ETwqtuWd5BGTPnZn64BHNTZT1PEZGqLZklCfKkaTQ5EQryaZG9vgFDE3VBi6zMdQ0w==", + "version": "3.0.29", + "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.29.tgz", + "integrity": "sha512-cdxjnlynEL1R0GZevQLB3o7/A0KQaqmM/CIvDPLItHG8mC9IbKtpgzHJdHJnBipQCFnP63bL5ax/sqv/m+UNUg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", @@ -3736,7 +3736,7 @@ "@wordpress/compose": "^5.0.7", "@wordpress/core-data": "^4.0.11", "@wordpress/data": "^6.1.5", - "@wordpress/edit-post": "^5.0.28", + "@wordpress/edit-post": "^5.0.29", "@wordpress/editor": "^12.0.22", "@wordpress/element": "^4.0.4", "@wordpress/hooks": "^3.2.2", @@ -3797,9 +3797,9 @@ } }, "@wordpress/block-library": { - "version": "6.0.27", - "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.27.tgz", - "integrity": "sha512-E6gOMjdYKbXO5WpsGMqAYov8LC8po/8TS3VuWvAAFCGJXLNvxL/G5j5b+uj3FqxEYJNYZvCfwtjE8WeoKWYVDg==", + "version": "6.0.28", + "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.28.tgz", + "integrity": "sha512-GnHq4BiAq9+xABfQroJA0ScXBIuB+rWTblXjY6buf5TRIJQuB0S4Tzb4/JwySxVeaY1eTB0APjoErPCWKUpTkw==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", @@ -3978,14 +3978,14 @@ } }, "@wordpress/customize-widgets": { - "version": "2.0.28", - "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.28.tgz", - "integrity": "sha512-YE29hGdN9HiROGGh7BuPVMWCgON8HnHyrr4KtR9+NhWrkNHaushG6p/DNp1X4cqF197C0VyNMXv788/LefSzAg==", + "version": "2.0.29", + "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.29.tgz", + "integrity": "sha512-MdpD40AzVzjjNSvLHrAGuUA9MnMqyj13BmXkAJbzG5Xpeqcnm9o8lfcw9VA8kwurajvXheIpL7NpwEVvGcX8uQ==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/block-editor": "^8.0.18", - "@wordpress/block-library": "^6.0.27", + "@wordpress/block-library": "^6.0.28", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", @@ -4130,15 +4130,15 @@ } }, "@wordpress/edit-post": { - "version": "5.0.28", - "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.28.tgz", - "integrity": "sha512-H+o2l/DoChrfOifxmiCxtK1HKWndMUeTExMiNpdV8ltY4owoojcoffxU9N4PyeeJ+mi++bY61KWvm+DB2HeDtg==", + "version": "5.0.29", + "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.29.tgz", + "integrity": "sha512-46eymSJgDnYxkGF3cCVjNgRNmhit+F/sy6ct35Bro9bfWBEj4pj7LPnFuoXkESeT3xgdEjQi6hGPKrjCWVt1bg==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.7", "@wordpress/block-editor": "^8.0.18", - "@wordpress/block-library": "^6.0.27", + "@wordpress/block-library": "^6.0.28", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", @@ -4175,15 +4175,15 @@ } }, "@wordpress/edit-site": { - "version": "3.0.28", - "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.28.tgz", - "integrity": "sha512-u3A7CIV2iRlYQ4Iywnt58ahf3I+Quk38m3spi/Nurht2w1IWWHVwKoravezf53XK0ZrP05F5JmHmuKDVddgVHw==", + "version": "3.0.29", + "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.29.tgz", + "integrity": "sha512-HPVKSUMlPGi17Uu9QPVTKLPNi3kD5jVq6uwWrhQJxHaG41uObp2nXxvyJWfaRN8O0xHlcQZifyVO/63q3v0zEQ==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.7", "@wordpress/block-editor": "^8.0.18", - "@wordpress/block-library": "^6.0.27", + "@wordpress/block-library": "^6.0.28", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", @@ -4216,15 +4216,15 @@ } }, "@wordpress/edit-widgets": { - "version": "3.1.23", - "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.23.tgz", - "integrity": "sha512-YwQu4EV5H961iLwMtLSagoawtCbRwg5rh81RDs892oetXHBE65S9PLzhxR/bq7yJFQi/iRJgyXUnawkpR54krA==", + "version": "3.1.24", + "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.24.tgz", + "integrity": "sha512-HXSE8XcMKE90NDdHwHs7EdnrDJgcRhxhFPWxDwHu4nASXsv7scCvH/vI2lOeyX5X7iZE9ZXykGseG/2zZfl5Tw==", "requires": { "@babel/runtime": "^7.16.0", "@wordpress/a11y": "^3.2.4", "@wordpress/api-fetch": "^5.2.7", "@wordpress/block-editor": "^8.0.18", - "@wordpress/block-library": "^6.0.27", + "@wordpress/block-library": "^6.0.28", "@wordpress/blocks": "^11.1.5", "@wordpress/components": "^19.2.3", "@wordpress/compose": "^5.0.7", @@ -7747,7 +7747,7 @@ }, "browserify-aes": { "version": "1.2.0", - "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", + "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==", "dev": true, "requires": { diff --git a/package.json b/package.json index 46825bbcf4c16..22f23d7994485 100644 --- a/package.json +++ b/package.json @@ -82,24 +82,24 @@ "@wordpress/api-fetch": "5.2.7", "@wordpress/autop": "3.2.3", "@wordpress/blob": "3.2.2", - "@wordpress/block-directory": "3.0.28", + "@wordpress/block-directory": "3.0.29", "@wordpress/block-editor": "8.0.18", - "@wordpress/block-library": "6.0.27", + "@wordpress/block-library": "6.0.28", "@wordpress/block-serialization-default-parser": "4.2.3", "@wordpress/blocks": "11.1.5", "@wordpress/components": "19.2.3", "@wordpress/compose": "5.0.7", "@wordpress/core-data": "4.0.11", - "@wordpress/customize-widgets": "2.0.28", + "@wordpress/customize-widgets": "2.0.29", "@wordpress/data": "6.1.5", "@wordpress/data-controls": "2.2.9", "@wordpress/date": "4.2.3", "@wordpress/deprecated": "3.2.3", "@wordpress/dom": "3.2.7", "@wordpress/dom-ready": "3.2.3", - "@wordpress/edit-post": "5.0.28", - "@wordpress/edit-site": "3.0.28", - "@wordpress/edit-widgets": "3.1.23", + "@wordpress/edit-post": "5.0.29", + "@wordpress/edit-site": "3.0.29", + "@wordpress/edit-widgets": "3.1.24", "@wordpress/editor": "12.0.22", "@wordpress/element": "4.0.4", "@wordpress/escape-html": "2.2.3", diff --git a/src/wp-includes/assets/script-loader-packages.php b/src/wp-includes/assets/script-loader-packages.php index 0ccadb8ddc9d5..a893b69e81ae8 100644 --- a/src/wp-includes/assets/script-loader-packages.php +++ b/src/wp-includes/assets/script-loader-packages.php @@ -1 +1 @@ - array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'fa03f246887237d01c383e85ff6f107c'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'acd6ed75d460d0d3781e1ef6c12cf2aa'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '59f6dbf5a1d9a141515c25411bc4f01e'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e65166da67ee5d5ff66d36ab14532b3b'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b8855b04f6a52a7bca89f8d945d46866'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'a8ff26eaaddf949aee8669d14277aec3'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => 'f2aa66e525b142523ccf4a3f45798fe0'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => 'd81febfadbdc8ef206bd8df146d3829d'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cc8e5d0e23cf68bb9944bf2a7a016e52'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'a32036d432544d670dbd252aafb343aa'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '194bb4ad7b702ec1158fae8c39f4055f'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1491dea52ef44b12c4130dc7fe00ea20'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '97c06a5195fcd3e5fe3c5d2422c7d76b'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'a4ae79ff9d722a302a31b7af5478e6b7'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '93e547cee9fc74070215d5c1ce324bf6'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'a6b5897d9fe0799f7c5167a4a9fb3fc2'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'be8358e0f87d66f2bec405069f113602'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '64e8de35a014ff611a39da7042d361dd'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7d156934b7b48d00965baf08e162ab91'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '7ad174e925c73007ee5b17358242e7d9'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => 'd1f7eff1711bbd5a12e7a5b393f59854'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => 'e77dc1e4020d72da3ec40ae04699a207'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '66e504d030a7022e8ff7b58a56042f3a'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '01fb613918bcc66701ddcfd70da3f247'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '32e0abe121ab85a88acb6472274ad136'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4f03d9c45a01df8191f6833373fe1cfa'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '638b31b2e32bdc443afa62d9aa251d8a'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fee9af3abfeb76b497fd074608dca647'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '9ddfa7e364f034c04939567c6c6079d5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '78a4020b31c5ae28f7e97405b83d5027'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '57a448b50bb24e264205e448e0b19ea2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '411699046747b4d90f82c5b2547ff43c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'ab2c70450229febbbb0a87e88074db07'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b9e78ffafe025c455d9ccf2c1a78d1de'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'feee5fbb3df2a20c6dc4653f33d12e13'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '76d0e1ad216a273ab1359db9aaab1809'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ec5aecfc61b399ed5c8fa2de6b175942'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f4483156a9bae90512f894dbd867b929'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '436b8be211e4f30893de92b1faad8984'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '855cfaa16e1e86346cdf24239800bcaf'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'c8b79b06e8a76272ee868b17b6a9d37b'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '0e7a194ec8387c92e8d2c2b3755c3c9b'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'a50777df914543c1a77067959d6b3fbf'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'e029ff5c5e00571a18b21763c840e8fe'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '67406a236d2370eedc90db2dfdcb46bd'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5ebe2df53cf3c74ebffc7e2d3e76184c'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '3dd8fa0fcd8381649603b755437d9be1'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007')); \ No newline at end of file + array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => 'fa03f246887237d01c383e85ff6f107c'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => 'acd6ed75d460d0d3781e1ef6c12cf2aa'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '59f6dbf5a1d9a141515c25411bc4f01e'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'e65166da67ee5d5ff66d36ab14532b3b'), 'blob.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'b8855b04f6a52a7bca89f8d945d46866'), 'block-directory.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'a8ff26eaaddf949aee8669d14277aec3'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-a11y', 'wp-api-fetch', 'wp-blob', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-shortcode', 'wp-token-list', 'wp-url', 'wp-warning', 'wp-wordcount'), 'version' => 'f2aa66e525b142523ccf4a3f45798fe0'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'wp-a11y', 'wp-api-fetch', 'wp-autop', 'wp-blob', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '74b61789965bdd5c8ff15a73b255f2cd'), 'block-serialization-default-parser.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'cc8e5d0e23cf68bb9944bf2a7a016e52'), 'blocks.js' => array('dependencies' => array('lodash', 'wp-autop', 'wp-blob', 'wp-block-serialization-default-parser', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-shortcode'), 'version' => 'a32036d432544d670dbd252aafb343aa'), 'components.js' => array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wp-a11y', 'wp-compose', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-warning'), 'version' => '194bb4ad7b702ec1158fae8c39f4055f'), 'compose.js' => array('dependencies' => array('lodash', 'react', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-priority-queue'), 'version' => '1491dea52ef44b12c4130dc7fe00ea20'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '97c06a5195fcd3e5fe3c5d2422c7d76b'), 'customize-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-viewport', 'wp-widgets'), 'version' => 'a4ae79ff9d722a302a31b7af5478e6b7'), 'data.js' => array('dependencies' => array('lodash', 'react', 'wp-compose', 'wp-deprecated', 'wp-element', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-priority-queue', 'wp-redux-routine'), 'version' => '93e547cee9fc74070215d5c1ce324bf6'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'a6b5897d9fe0799f7c5167a4a9fb3fc2'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => 'be8358e0f87d66f2bec405069f113602'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '64e8de35a014ff611a39da7042d361dd'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7d156934b7b48d00965baf08e162ab91'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '7ad174e925c73007ee5b17358242e7d9'), 'edit-post.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport', 'wp-warning'), 'version' => 'b9324b54ef5e8e0c803f39f8db327ff4'), 'edit-site.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport'), 'version' => '423beca95ddc2fb9fee123d386e40762'), 'edit-widgets.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-block-library', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-url', 'wp-viewport', 'wp-widgets'), 'version' => '66e504d030a7022e8ff7b58a56042f3a'), 'editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-wordcount'), 'version' => '01fb613918bcc66701ddcfd70da3f247'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '32e0abe121ab85a88acb6472274ad136'), 'escape-html.js' => array('dependencies' => array('wp-polyfill'), 'version' => '4f03d9c45a01df8191f6833373fe1cfa'), 'format-library.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-block-editor', 'wp-components', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-rich-text', 'wp-url'), 'version' => '638b31b2e32bdc443afa62d9aa251d8a'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fee9af3abfeb76b497fd074608dca647'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '9ddfa7e364f034c04939567c6c6079d5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '78a4020b31c5ae28f7e97405b83d5027'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '57a448b50bb24e264205e448e0b19ea2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '411699046747b4d90f82c5b2547ff43c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'ab2c70450229febbbb0a87e88074db07'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b9e78ffafe025c455d9ccf2c1a78d1de'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'feee5fbb3df2a20c6dc4653f33d12e13'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '76d0e1ad216a273ab1359db9aaab1809'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ec5aecfc61b399ed5c8fa2de6b175942'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f4483156a9bae90512f894dbd867b929'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '436b8be211e4f30893de92b1faad8984'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => '855cfaa16e1e86346cdf24239800bcaf'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'c8b79b06e8a76272ee868b17b6a9d37b'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '0e7a194ec8387c92e8d2c2b3755c3c9b'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'a50777df914543c1a77067959d6b3fbf'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'e029ff5c5e00571a18b21763c840e8fe'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '67406a236d2370eedc90db2dfdcb46bd'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '5ebe2df53cf3c74ebffc7e2d3e76184c'), 'widgets.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives'), 'version' => '3dd8fa0fcd8381649603b755437d9be1'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007')); \ No newline at end of file diff --git a/src/wp-includes/blocks/archives.php b/src/wp-includes/blocks/archives.php index 2f4ad1045ad0c..da318a2dfda31 100644 --- a/src/wp-includes/blocks/archives.php +++ b/src/wp-includes/blocks/archives.php @@ -23,7 +23,7 @@ function render_block_core_archives( $attributes ) { $class .= ' wp-block-archives-dropdown'; - $dropdown_id = esc_attr( uniqid( 'wp-block-archives-' ) ); + $dropdown_id = wp_unique_id( 'wp-block-archives-' ); $title = __( 'Archives' ); /** This filter is documented in wp-includes/widgets/class-wp-widget-archives.php */ diff --git a/src/wp-includes/blocks/navigation.php b/src/wp-includes/blocks/navigation.php index 6cb6eeacf0e36..d141908425541 100644 --- a/src/wp-includes/blocks/navigation.php +++ b/src/wp-includes/blocks/navigation.php @@ -513,7 +513,7 @@ function render_block_core_navigation( $attributes, $content, $block ) { ) ); - $modal_unique_id = uniqid(); + $modal_unique_id = wp_unique_id( 'modal-' ); // Determine whether or not navigation elements should be wrapped in the markup required to make it responsive, // return early if they don't. @@ -538,12 +538,12 @@ function render_block_core_navigation( $attributes, $content, $block ) { ); $responsive_container_markup = sprintf( - ' -