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.

Built from https://develop.svn.wordpress.org/trunk@44729


git-svn-id: http://core.svn.wordpress.org/trunk@44560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
youknowriad 2019-02-07 09:02:49 +00:00
parent 95d5aa0e97
commit a89b6c042d
3 changed files with 8 additions and 8 deletions

View File

@ -410,7 +410,7 @@ class WP_Block_Parser {
* match back in PHP to see which one it was.
*/
$has_match = preg_match(
'/<!--\s+(?<closer>\/)?wp:(?<namespace>[a-z][a-z0-9_-]*\/)?(?<name>[a-z][a-z0-9_-]*)\s+(?<attrs>{(?:(?:[^}]+|}+(?=})|(?!}\s+\/?-->).)*+)?}\s+)?(?<void>\/)?-->/s',
'/<!--\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',
$this->document,
$matches,
PREG_OFFSET_CAPTURE,

View File

@ -229,9 +229,9 @@ function wp_default_packages_scripts( &$scripts ) {
'annotations' => '1.0.8',
'autop' => '2.0.2',
'blob' => '2.1.0',
'block-library' => '2.2.15',
'block-serialization-default-parser' => '2.0.4',
'blocks' => '6.0.5',
'block-library' => '2.2.16',
'block-serialization-default-parser' => '2.0.5',
'blocks' => '6.0.6',
'components' => '7.0.8',
'compose' => '3.0.1',
'core-data' => '2.0.17',
@ -240,11 +240,11 @@ function wp_default_packages_scripts( &$scripts ) {
'deprecated' => '2.0.5',
'dom' => '2.0.8',
'dom-ready' => '2.0.2',
'edit-post' => '3.1.10',
'editor' => '9.0.10',
'edit-post' => '3.1.11',
'editor' => '9.0.11',
'element' => '2.1.9',
'escape-html' => '1.0.1',
'format-library' => '1.2.13',
'format-library' => '1.2.14',
'hooks' => '2.0.5',
'html-entities' => '2.0.4',
'i18n' => '3.1.1',

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.1-beta3-44728';
$wp_version = '5.1-beta3-44729';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.