Skip to content

Commit 98bee9b

Browse files
committed
Block Editor: Update WordPress Packages to solve PHP 5.2.2 parser incompatibility.
Updated: - @wordpress/block-library@2.2.16 - @wordpress/block-serialization-default-parser@2.0.5 - @wordpress/blocks@6.0.7 - @wordpress/edit-post@3.1.11 - @wordpress/editor@9.0.11 - @wordpress/format-library@1.2.14 Props pento. Fixes #46200. git-svn-id: https://develop.svn.wordpress.org/trunk@44729 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 1074530 commit 98bee9b

4 files changed

Lines changed: 44 additions & 44 deletions

File tree

package-lock.json

Lines changed: 31 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
"@wordpress/api-fetch": "^2.2.8",
6060
"@wordpress/autop": "^2.0.2",
6161
"@wordpress/blob": "^2.1.0",
62-
"@wordpress/block-library": "2.2.15",
63-
"@wordpress/block-serialization-default-parser": "^2.0.4",
64-
"@wordpress/blocks": "^6.0.6",
62+
"@wordpress/block-library": "2.2.16",
63+
"@wordpress/block-serialization-default-parser": "^2.0.5",
64+
"@wordpress/blocks": "^6.0.7",
6565
"@wordpress/components": "7.0.8",
6666
"@wordpress/compose": "^3.0.1",
6767
"@wordpress/core-data": "^2.0.17",
@@ -70,11 +70,11 @@
7070
"@wordpress/deprecated": "^2.0.5",
7171
"@wordpress/dom": "^2.0.8",
7272
"@wordpress/dom-ready": "^2.0.2",
73-
"@wordpress/edit-post": "3.1.10",
74-
"@wordpress/editor": "9.0.10",
73+
"@wordpress/edit-post": "3.1.11",
74+
"@wordpress/editor": "9.0.11",
7575
"@wordpress/element": "^2.1.9",
7676
"@wordpress/escape-html": "^1.0.1",
77-
"@wordpress/format-library": "1.2.13",
77+
"@wordpress/format-library": "1.2.14",
7878
"@wordpress/hooks": "^2.0.5",
7979
"@wordpress/html-entities": "^2.0.4",
8080
"@wordpress/i18n": "^3.1.1",

src/wp-includes/class-wp-block-parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ function next_token() {
410410
* match back in PHP to see which one it was.
411411
*/
412412
$has_match = preg_match(
413-
'/<!--\s+(?<closer>\/)?wp:(?<namespace>[a-z][a-z0-9_-]*\/)?(?<name>[a-z][a-z0-9_-]*)\s+(?<attrs>{(?:(?:[^}]+|}+(?=})|(?!}\s+\/?-->).)*+)?}\s+)?(?<void>\/)?-->/s',
413+
'/<!--\s+(?P<closer>\/)?wp:(?P<namespace>[a-z][a-z0-9_-]*\/)?(?P<name>[a-z][a-z0-9_-]*)\s+(?P<attrs>{(?:(?:[^}]+|}+(?=})|(?!}\s+\/?-->).)*+)?}\s+)?(?P<void>\/)?-->/s',
414414
$this->document,
415415
$matches,
416416
PREG_OFFSET_CAPTURE,

src/wp-includes/script-loader.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,9 @@ function wp_default_packages_scripts( &$scripts ) {
229229
'annotations' => '1.0.8',
230230
'autop' => '2.0.2',
231231
'blob' => '2.1.0',
232-
'block-library' => '2.2.15',
233-
'block-serialization-default-parser' => '2.0.4',
234-
'blocks' => '6.0.5',
232+
'block-library' => '2.2.16',
233+
'block-serialization-default-parser' => '2.0.5',
234+
'blocks' => '6.0.6',
235235
'components' => '7.0.8',
236236
'compose' => '3.0.1',
237237
'core-data' => '2.0.17',
@@ -240,11 +240,11 @@ function wp_default_packages_scripts( &$scripts ) {
240240
'deprecated' => '2.0.5',
241241
'dom' => '2.0.8',
242242
'dom-ready' => '2.0.2',
243-
'edit-post' => '3.1.10',
244-
'editor' => '9.0.10',
243+
'edit-post' => '3.1.11',
244+
'editor' => '9.0.11',
245245
'element' => '2.1.9',
246246
'escape-html' => '1.0.1',
247-
'format-library' => '1.2.13',
247+
'format-library' => '1.2.14',
248248
'hooks' => '2.0.5',
249249
'html-entities' => '2.0.4',
250250
'i18n' => '3.1.1',

0 commit comments

Comments
 (0)