Make WordPress Core

Changeset 52103


Ignore:
Timestamp:
11/10/2021 05:59:55 AM (3 years ago)
Author:
noisysocks
Message:

Update @wordpress packages

Update packages to include these bug fixes from Gutenberg:

  • Force remount LinkControl when moving between links within same richtext block
  • Site Editor: Change ToolsMoreMenuGroup slot-fill name
  • Respect fields param for global styles REST API requests.
  • Try ensuring the item after post content clears floats
  • Fix submenus not opening on click
  • Apply i18n functions to Nav block menu drops when selecting existing Menu
  • Gallery: Make sure the mobile warning notice only runs when images are added to a new block
  • Prepare navigation php code for core patch
  • Address deprecation issues from Buttons flex layout PR.
  • Block Library: Fix incorrect attributes definitions
  • Fix Navigation accessibility issues

See #54337.

Location:
trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r52069 r52103  
    34373437        },
    34383438        "@wordpress/block-directory": {
    3439             "version": "3.0.5",
    3440             "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.5.tgz",
    3441             "integrity": "sha512-vinSWZJ9MQ4mgQCzKQCrjWi26OCOzKCacqgbQ3qm4DcGA6DkzNviXhJ6EeQrY1YZUlAOduiSFSQO30uboqBmWg==",
     3439            "version": "3.0.6",
     3440            "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.6.tgz",
     3441            "integrity": "sha512-6FAaUXNKMYXXWSf+glPKK80eTikOpu0v59JrX2zha4DQwVVHXhsxxNmfRDN6/zD3nX7//bPPNTxdCVPLahAWtA==",
    34423442            "requires": {
    34433443                "@babel/runtime": "^7.13.10",
    34443444                "@wordpress/a11y": "^3.2.3",
    34453445                "@wordpress/api-fetch": "^5.2.5",
    3446                 "@wordpress/block-editor": "^8.0.0",
     3446                "@wordpress/block-editor": "^8.0.1",
    34473447                "@wordpress/blocks": "^11.1.3",
    34483448                "@wordpress/components": "^19.0.1",
     
    34503450                "@wordpress/core-data": "^4.0.5",
    34513451                "@wordpress/data": "^6.1.3",
    3452                 "@wordpress/edit-post": "^5.0.5",
    3453                 "@wordpress/editor": "^12.0.2",
     3452                "@wordpress/edit-post": "^5.0.6",
     3453                "@wordpress/editor": "^12.0.3",
    34543454                "@wordpress/element": "^4.0.3",
    34553455                "@wordpress/hooks": "^3.2.1",
     
    34643464        },
    34653465        "@wordpress/block-editor": {
    3466             "version": "8.0.0",
    3467             "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.0.tgz",
    3468             "integrity": "sha512-POzr9e5QXEzBUMMMAqjDYrt+cITG1nRXjsOkh+f7RhEDex8ymiG8bE31WLlnlwQvbB0jFKO4H706TTUzCZ6AmA==",
     3466            "version": "8.0.1",
     3467            "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.1.tgz",
     3468            "integrity": "sha512-U/NCgbNzpwNOHoQTfGTGHgjHY86a7VqHVlHBIKUrPbevwZg8dlEq5yrQeRskJ5TzHLk9UWUkyLoStdVnb1SUQg==",
    34693469            "requires": {
    34703470                "@babel/runtime": "^7.13.10",
     
    35113511        },
    35123512        "@wordpress/block-library": {
    3513             "version": "6.0.3",
    3514             "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.3.tgz",
    3515             "integrity": "sha512-pnrr8XUtNne+GKAz+XR1VRos1RWuOEOtPfSM/uy/mMyKwM+mD941GGg+JdHIFnIzbgQec9ASJzi7a0kHJgIkJQ==",
     3513            "version": "6.0.4",
     3514            "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.4.tgz",
     3515            "integrity": "sha512-Iwoojqo13CCQ+XJZJGAD9QXPtuHGrTYzF3nlbzlyrki1LaCWZnwQ15KWe+ziINp5F6RYws1c6XJ+EfCHKnNHzg==",
    35163516            "requires": {
    35173517                "@babel/runtime": "^7.13.10",
     
    35203520                "@wordpress/autop": "^3.2.2",
    35213521                "@wordpress/blob": "^3.2.1",
    3522                 "@wordpress/block-editor": "^8.0.0",
     3522                "@wordpress/block-editor": "^8.0.1",
    35233523                "@wordpress/blocks": "^11.1.3",
    35243524                "@wordpress/components": "^19.0.1",
     
    35403540                "@wordpress/notices": "^3.2.6",
    35413541                "@wordpress/primitives": "^3.0.3",
    3542                 "@wordpress/reusable-blocks": "^3.0.5",
     3542                "@wordpress/reusable-blocks": "^3.0.6",
    35433543                "@wordpress/rich-text": "^5.0.5",
    35443544                "@wordpress/server-side-render": "^3.0.5",
     
    36933693        },
    36943694        "@wordpress/customize-widgets": {
    3695             "version": "2.0.5",
    3696             "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.5.tgz",
    3697             "integrity": "sha512-Pk5qDRuN4WBnKRFHXmgfVCqRKqXpCfvrKOGVMEf7fFYofE1URsQJee6R3sUmMWqM7NYYuex0b23Ul6v4bRywXA==",
     3695            "version": "2.0.6",
     3696            "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.6.tgz",
     3697            "integrity": "sha512-D2IV+e0uGHrbKafqZg0PI2Ss8fzc3IJEo07LIThdmxqKR2g78sDWnKNs4ywd8NBPO7AD1Ir2+0m1y6sQzt2k7A==",
    36983698            "requires": {
    36993699                "@babel/runtime": "^7.11.2",
    37003700                "@wordpress/a11y": "^3.2.3",
    3701                 "@wordpress/block-editor": "^8.0.0",
    3702                 "@wordpress/block-library": "^6.0.3",
     3701                "@wordpress/block-editor": "^8.0.1",
     3702                "@wordpress/block-library": "^6.0.4",
    37033703                "@wordpress/blocks": "^11.1.3",
    37043704                "@wordpress/components": "^19.0.1",
     
    37163716                "@wordpress/keycodes": "^3.2.3",
    37173717                "@wordpress/media-utils": "^3.0.4",
    3718                 "@wordpress/widgets": "^2.0.5",
     3718                "@wordpress/widgets": "^2.0.6",
    37193719                "classnames": "^2.3.1",
    37203720                "lodash": "^4.17.21"
     
    38453845        },
    38463846        "@wordpress/edit-post": {
    3847             "version": "5.0.5",
    3848             "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.5.tgz",
    3849             "integrity": "sha512-DvsRCnI5JaiYVcHExYjdk8LUApQpRD2aBnvHRymvJ0iCRHhej3gi81o2PghkzY4DkmW3QHC2p3h7fV+OEQvdfg==",
     3847            "version": "5.0.6",
     3848            "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.6.tgz",
     3849            "integrity": "sha512-v3DwBA5snRh0E7pTUt4rhmLw/ZTKMQk2ol0A/Uzsq6dVNZYCuJmkVqgrJV44Hbx+gru9/8GBrCRvHDpq8s8rvg==",
    38503850            "requires": {
    38513851                "@babel/runtime": "^7.13.10",
    38523852                "@wordpress/a11y": "^3.2.3",
    38533853                "@wordpress/api-fetch": "^5.2.5",
    3854                 "@wordpress/block-editor": "^8.0.0",
    3855                 "@wordpress/block-library": "^6.0.3",
     3854                "@wordpress/block-editor": "^8.0.1",
     3855                "@wordpress/block-library": "^6.0.4",
    38563856                "@wordpress/blocks": "^11.1.3",
    38573857                "@wordpress/components": "^19.0.1",
     
    38603860                "@wordpress/data": "^6.1.3",
    38613861                "@wordpress/data-controls": "^2.2.6",
    3862                 "@wordpress/editor": "^12.0.2",
     3862                "@wordpress/editor": "^12.0.3",
    38633863                "@wordpress/element": "^4.0.3",
    38643864                "@wordpress/hooks": "^3.2.1",
     
    38903890        },
    38913891        "@wordpress/edit-site": {
    3892             "version": "3.0.5",
    3893             "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.5.tgz",
    3894             "integrity": "sha512-FYr6xwZcDaPxiOBsmzHnbaSdGeGD55I2j2flJPtLM4v7jzrIFVOBBaFtGUAUTtl0oagOlVNkQidL+/mVAcbIeQ==",
     3892            "version": "3.0.6",
     3893            "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.6.tgz",
     3894            "integrity": "sha512-w2F2uFiSgFCG8TdA8RIxNOgR7ZKF5mI0rtf9NIZfkJS/6bPXx5pQAwrnyVFjRnOg2dP5/yWNMt/F87whfv9E2Q==",
    38953895            "requires": {
    38963896                "@babel/runtime": "^7.13.10",
    38973897                "@wordpress/a11y": "^3.2.3",
    38983898                "@wordpress/api-fetch": "^5.2.5",
    3899                 "@wordpress/block-editor": "^8.0.0",
    3900                 "@wordpress/block-library": "^6.0.3",
     3899                "@wordpress/block-editor": "^8.0.1",
     3900                "@wordpress/block-library": "^6.0.4",
    39013901                "@wordpress/blocks": "^11.1.3",
    39023902                "@wordpress/components": "^19.0.1",
     
    39053905                "@wordpress/data": "^6.1.3",
    39063906                "@wordpress/data-controls": "^2.2.6",
    3907                 "@wordpress/editor": "^12.0.2",
     3907                "@wordpress/editor": "^12.0.3",
    39083908                "@wordpress/element": "^4.0.3",
    39093909                "@wordpress/hooks": "^3.2.1",
     
    39283928        },
    39293929        "@wordpress/edit-widgets": {
    3930             "version": "3.1.0",
    3931             "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.0.tgz",
    3932             "integrity": "sha512-lCoogDEpsQLL4xFK3DQBn50vh1ScJoLLqQs+uy+Pje2jxQyEEaZCP7nApuHV5IC4r05ZC3icToV+5+oGCdDDDg==",
     3930            "version": "3.1.1",
     3931            "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.1.tgz",
     3932            "integrity": "sha512-VX9IRqFqOJvZEQZ/NqAkNX1bkP8IqnZfenLbZRDutSXUSTyPKoCgZHrt120fymK9RNAW15HBU+2DcTScr8APiQ==",
    39333933            "requires": {
    39343934                "@babel/runtime": "^7.13.10",
    39353935                "@wordpress/a11y": "^3.2.3",
    39363936                "@wordpress/api-fetch": "^5.2.5",
    3937                 "@wordpress/block-editor": "^8.0.0",
    3938                 "@wordpress/block-library": "^6.0.3",
     3937                "@wordpress/block-editor": "^8.0.1",
     3938                "@wordpress/block-library": "^6.0.4",
    39393939                "@wordpress/blocks": "^11.1.3",
    39403940                "@wordpress/components": "^19.0.1",
     
    39533953                "@wordpress/notices": "^3.2.6",
    39543954                "@wordpress/plugins": "^4.0.5",
    3955                 "@wordpress/reusable-blocks": "^3.0.5",
     3955                "@wordpress/reusable-blocks": "^3.0.6",
    39563956                "@wordpress/server-side-render": "^3.0.5",
    39573957                "@wordpress/url": "^3.3.0",
    3958                 "@wordpress/widgets": "^2.0.5",
     3958                "@wordpress/widgets": "^2.0.6",
    39593959                "classnames": "^2.3.1",
    39603960                "lodash": "^4.17.21",
     
    39643964        },
    39653965        "@wordpress/editor": {
    3966             "version": "12.0.2",
    3967             "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.2.tgz",
    3968             "integrity": "sha512-rKwD+kzsDtytpfrS3nlR+s+IXRsWGsJkYhhRbhbITnyRYIjIQYq/SN8tm9svQJ1+7Ldl3QtxQco9oKZMPfL02w==",
     3966            "version": "12.0.3",
     3967            "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.3.tgz",
     3968            "integrity": "sha512-2NewLZjIfGp9El0Rzkt4g/pQzpVOS4XN0RodHF4dx8Pus5SJ0boUEOVzYa1O4HIJlxPXXheh11KsjLU/D3TJHA==",
    39693969            "requires": {
    39703970                "@babel/runtime": "^7.13.10",
     
    39733973                "@wordpress/autop": "^3.2.2",
    39743974                "@wordpress/blob": "^3.2.1",
    3975                 "@wordpress/block-editor": "^8.0.0",
     3975                "@wordpress/block-editor": "^8.0.1",
    39763976                "@wordpress/blocks": "^11.1.3",
    39773977                "@wordpress/components": "^19.0.1",
     
    39923992                "@wordpress/media-utils": "^3.0.4",
    39933993                "@wordpress/notices": "^3.2.6",
    3994                 "@wordpress/reusable-blocks": "^3.0.5",
     3994                "@wordpress/reusable-blocks": "^3.0.6",
    39953995                "@wordpress/rich-text": "^5.0.5",
    39963996                "@wordpress/server-side-render": "^3.0.5",
     
    41114111        },
    41124112        "@wordpress/format-library": {
    4113             "version": "3.0.5",
    4114             "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.5.tgz",
    4115             "integrity": "sha512-IxyaySakhNSPUPMwSaGkVV1QIlrxdYW38yu8nz0N4dFO6ZOwTkV1whbzyZJOesd/hxxYgczrYRp++8Ti7c880w==",
     4113            "version": "3.0.6",
     4114            "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.6.tgz",
     4115            "integrity": "sha512-6GWogdj5f31WYyug2/QicRoQKfEW49F30RHbKptoh2xIme4qU9+9C3t662H7cSYd9/toI5Mm+vLkNI7aDvAesQ==",
    41164116            "requires": {
    41174117                "@babel/runtime": "^7.13.10",
    41184118                "@wordpress/a11y": "^3.2.3",
    4119                 "@wordpress/block-editor": "^8.0.0",
     4119                "@wordpress/block-editor": "^8.0.1",
    41204120                "@wordpress/components": "^19.0.1",
    41214121                "@wordpress/compose": "^5.0.5",
     
    44514451        },
    44524452        "@wordpress/reusable-blocks": {
    4453             "version": "3.0.5",
    4454             "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.5.tgz",
    4455             "integrity": "sha512-VRNMdwKBHU4NO7A23UW7GG2DavPymeHq2ixN3okViXOTvyg5nIY7bayDf/D5pH1SbGxSRXP/1Xl1kT9BtJ59VQ==",
    4456             "requires": {
    4457                 "@wordpress/block-editor": "^8.0.0",
     4453            "version": "3.0.6",
     4454            "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.6.tgz",
     4455            "integrity": "sha512-qKkRU89+NPvri1Hl7Z2r2YdHnafw4aiR59a/6soElypPANuZuR1LKhvBL5fwHIXX1Pxq/cBk4ptY5KIG+WxpHA==",
     4456            "requires": {
     4457                "@wordpress/block-editor": "^8.0.1",
    44584458                "@wordpress/blocks": "^11.1.3",
    44594459                "@wordpress/components": "^19.0.1",
     
    54945494        },
    54955495        "@wordpress/widgets": {
    5496             "version": "2.0.5",
    5497             "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.5.tgz",
    5498             "integrity": "sha512-rbi9Bjlz3XeAlkPSY6BZH2g3IzDM4oFCJxrUyaZFkI9NxJaFiQo4Q68aG1q454Mj/36t5tfxpz1xcxfm9IwU5w==",
     5496            "version": "2.0.6",
     5497            "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.6.tgz",
     5498            "integrity": "sha512-Rf/VsDqojGVV/jPBVoM9ExkZ8KFUkHDp0bdKoCzAnOn5OmuHX1jyIVSVZ3LugDfF+i1wfi3AyYROVZpAC43Lpw==",
    54995499            "requires": {
    55005500                "@babel/runtime": "^7.13.10",
    55015501                "@wordpress/api-fetch": "^5.2.5",
    5502                 "@wordpress/block-editor": "^8.0.0",
     5502                "@wordpress/block-editor": "^8.0.1",
    55035503                "@wordpress/blocks": "^11.1.3",
    55045504                "@wordpress/components": "^19.0.1",
     
    74777477        "browserify-aes": {
    74787478            "version": "1.2.0",
    7479             "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
     7479            "resolved": "http://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz",
    74807480            "integrity": "sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==",
    74817481            "dev": true,
  • trunk/package.json

    r52069 r52103  
    8484        "@wordpress/autop": "3.2.2",
    8585        "@wordpress/blob": "3.2.1",
    86         "@wordpress/block-directory": "3.0.5",
    87         "@wordpress/block-editor": "8.0.0",
    88         "@wordpress/block-library": "6.0.3",
     86        "@wordpress/block-directory": "3.0.6",
     87        "@wordpress/block-editor": "8.0.1",
     88        "@wordpress/block-library": "6.0.4",
    8989        "@wordpress/block-serialization-default-parser": "4.2.2",
    9090        "@wordpress/blocks": "11.1.3",
     
    9292        "@wordpress/compose": "5.0.5",
    9393        "@wordpress/core-data": "4.0.5",
    94         "@wordpress/customize-widgets": "2.0.5",
     94        "@wordpress/customize-widgets": "2.0.6",
    9595        "@wordpress/data": "6.1.3",
    9696        "@wordpress/data-controls": "2.2.6",
     
    9999        "@wordpress/dom": "3.2.6",
    100100        "@wordpress/dom-ready": "3.2.2",
    101         "@wordpress/edit-post": "5.0.5",
    102         "@wordpress/edit-site": "3.0.5",
    103         "@wordpress/edit-widgets": "3.1.0",
    104         "@wordpress/editor": "12.0.2",
     101        "@wordpress/edit-post": "5.0.6",
     102        "@wordpress/edit-site": "3.0.6",
     103        "@wordpress/edit-widgets": "3.1.1",
     104        "@wordpress/editor": "12.0.3",
    105105        "@wordpress/element": "4.0.3",
    106106        "@wordpress/escape-html": "2.2.2",
    107         "@wordpress/format-library": "3.0.5",
     107        "@wordpress/format-library": "3.0.6",
    108108        "@wordpress/hooks": "3.2.1",
    109109        "@wordpress/html-entities": "3.2.2",
     
    122122        "@wordpress/priority-queue": "2.2.2",
    123123        "@wordpress/redux-routine": "4.2.1",
    124         "@wordpress/reusable-blocks": "3.0.5",
     124        "@wordpress/reusable-blocks": "3.0.6",
    125125        "@wordpress/rich-text": "5.0.5",
    126126        "@wordpress/server-side-render": "3.0.5",
     
    130130        "@wordpress/viewport": "4.0.5",
    131131        "@wordpress/warning": "2.2.2",
    132         "@wordpress/widgets": "2.0.5",
     132        "@wordpress/widgets": "2.0.6",
    133133        "@wordpress/wordcount": "3.2.2",
    134134        "backbone": "1.4.0",
  • trunk/src/wp-includes/assets/script-loader-packages.php

    r52069 r52103  
    1 <?php return array('a11y.js' => array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '531b91a758b525158d15c140a522819b'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '460983ea433ad4adb480359a940d1271'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'e57113647e68a852cb7b1cd8e140bc82'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => '98ee456bef50e518083b2d908b12efd6'), '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' => 'e3b4864b1761f45559b125d181eeccea'), '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' => '078463eccb0f2a6c4b207270e5938454'), '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' => '0a3e4865c8c2025c841cea5aee3c6e84'), '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' => '85a08117e58397f5e519e8ee9f1ef820'), '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' => '1e5a68c6be5b9cc6532d58a5062c4707'), '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' => '68b1701c372843d24a167ee93e21f28f'), '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' => '2df3489e429bffb1891d0d748c7b4b31'), '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' => '61524e8db487c3e60a2b3ce6e5371dbd'), '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' => '3fa92a13f4f6644731f73af5ecdbf518'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'ceef9ce8c9c058d69ebf44db39353687'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '70a2be92e6099f67b996b8a7e0266f5c'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '13724e4923d40e224e7c99fdc350a6a1'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '567a844d6765c6c0422c55df898f1681'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '1e1b9c1535c1c32d3236d41aa27c7bf9'), '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' => 'ee6c27d32b67d2c0f22907b72d8762ed'), '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-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '162621f7d189e8e2a1bfe12183f73ece'), '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' => 'b921a96625a3d8c0d1e0d7472df34de8'), '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' => 'c6e02b89186dd132d70191c58a3dec41'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'ed6d85e269fcb3632c76dec6b9ac02f1'), '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' => '86f8584fd0845366c326ed2e31326a1e'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => '02fd2defc23cb5c2837081df67b97158'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '48abe0c2523b902e445788bb8132ef7e'), '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' => '03be8557c1d6f9c98d9f2a39b0d45968'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '34f4da80b9b52d7f35a142592777b29c'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '99752f8ee65e66fefce46b8af1dac732'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '52a1fb71f5e51adfecbe905eccae04b4'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '0b40907eed64e81bf22bb448c88642d3'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '1120e26c43e94121389f5d1c9f6e89b6'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => 'c860421df5601d15a8df4afcbc212304'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'dc0962ac2885a26f8c2abdbe0cf0e333'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'c825bcfd263c88dcd76e14b67d47340b'), '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' => '2d4d45c0e771117074787655ee5efbcb'), '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' => '04ed6c49d04854d7ca20cb9d321e5e87'), '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' => '04ce14348d15952b7f9fed3b6e32a745'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '15757929bc8d52a3b184c3fcaeb38c64'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7bcd3684420783ef1f6ebb7680fe958e'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'ef8beff0847cbaa0e337362716c13bea'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'a4b7cdcc29f09d698255b3aec03ac6c1'), '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' => 'd8086829048e496d396102031b6b98f4'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007'));
     1<?php return array('a11y.js' => array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '531b91a758b525158d15c140a522819b'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '460983ea433ad4adb480359a940d1271'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => 'e57113647e68a852cb7b1cd8e140bc82'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => '98ee456bef50e518083b2d908b12efd6'), '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' => 'e3b4864b1761f45559b125d181eeccea'), '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' => '6f91a3a56f1e8d60c18d1c7eddc14b36'), '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' => '7083a8cb7211d704bc3672a134a2e9b1'), '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' => '85a08117e58397f5e519e8ee9f1ef820'), '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' => '1e5a68c6be5b9cc6532d58a5062c4707'), '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' => '68b1701c372843d24a167ee93e21f28f'), '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' => '2df3489e429bffb1891d0d748c7b4b31'), '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' => '61524e8db487c3e60a2b3ce6e5371dbd'), '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' => '3fa92a13f4f6644731f73af5ecdbf518'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'ceef9ce8c9c058d69ebf44db39353687'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '70a2be92e6099f67b996b8a7e0266f5c'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '13724e4923d40e224e7c99fdc350a6a1'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '567a844d6765c6c0422c55df898f1681'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '1e1b9c1535c1c32d3236d41aa27c7bf9'), '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' => 'ee6c27d32b67d2c0f22907b72d8762ed'), '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-i18n', 'wp-keyboard-shortcuts', 'wp-keycodes', 'wp-media-utils', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-viewport'), 'version' => '9055e0f12f04ece6d45b0aeaeb38b498'), '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' => 'b921a96625a3d8c0d1e0d7472df34de8'), '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' => 'c6e02b89186dd132d70191c58a3dec41'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => 'ed6d85e269fcb3632c76dec6b9ac02f1'), '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' => 'e4520a3dedbdcf734670157498fd98b6'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => '02fd2defc23cb5c2837081df67b97158'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '48abe0c2523b902e445788bb8132ef7e'), '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' => '03be8557c1d6f9c98d9f2a39b0d45968'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '34f4da80b9b52d7f35a142592777b29c'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '99752f8ee65e66fefce46b8af1dac732'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '52a1fb71f5e51adfecbe905eccae04b4'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => '0b40907eed64e81bf22bb448c88642d3'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '1120e26c43e94121389f5d1c9f6e89b6'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => 'c860421df5601d15a8df4afcbc212304'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'dc0962ac2885a26f8c2abdbe0cf0e333'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'c825bcfd263c88dcd76e14b67d47340b'), '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' => '2d4d45c0e771117074787655ee5efbcb'), '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' => '04ed6c49d04854d7ca20cb9d321e5e87'), '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' => '04ce14348d15952b7f9fed3b6e32a745'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '15757929bc8d52a3b184c3fcaeb38c64'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7bcd3684420783ef1f6ebb7680fe958e'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'ef8beff0847cbaa0e337362716c13bea'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => 'a4b7cdcc29f09d698255b3aec03ac6c1'), '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' => 'd8086829048e496d396102031b6b98f4'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007'));
  • trunk/src/wp-includes/block-supports/layout.php

    r52069 r52103  
    112112            if ( ! empty( $layout['justifyContent'] ) && array_key_exists( $layout['justifyContent'], $justify_content_options ) ) {
    113113                $style .= "justify-content: {$justify_content_options[ $layout['justifyContent'] ]};";
    114                 // --justification-setting allows children to inherit the value regardless or row or column direction.
    115                 $style .= "--justification-setting: {$justify_content_options[ $layout['justifyContent'] ]};";
     114                if ( ! empty( $layout['setCascadingProperties'] ) && $layout['setCascadingProperties'] ) {
     115                    // --layout-justification-setting allows children to inherit the value regardless or row or column direction.
     116                    $style .= "--layout-justification-setting: {$justify_content_options[ $layout['justifyContent'] ]};";
     117                    $style .= '--layout-direction: row;';
     118                    $style .= "--layout-wrap: $flex_wrap;";
     119                    $style .= "--layout-justify: {$justify_content_options[ $layout['justifyContent'] ]};";
     120                    $style .= '--layout-align: center;';
     121                }
    116122            }
    117123        } else {
     
    119125            if ( ! empty( $layout['justifyContent'] ) && array_key_exists( $layout['justifyContent'], $justify_content_options ) ) {
    120126                $style .= "align-items: {$justify_content_options[ $layout['justifyContent'] ]};";
    121                 $style .= "--justification-setting: {$justify_content_options[ $layout['justifyContent'] ]};";
     127                if ( ! empty( $layout['setCascadingProperties'] ) && $layout['setCascadingProperties'] ) {
     128                    // --layout-justification-setting allows children to inherit the value regardless or row or column direction.
     129                    $style .= "--layout-justification-setting: {$justify_content_options[ $layout['justifyContent'] ]};";
     130                    $style .= '--layout-direction: column;';
     131                    $style .= '--layout-justify: initial;';
     132                    $style .= "--layout-align: {$justify_content_options[ $layout['justifyContent'] ]};";
     133                }
    122134            }
    123135        }
  • trunk/src/wp-includes/blocks/column/block.json

    r52042 r52103  
    1818        },
    1919        "templateLock": {
    20             "type": "string",
     20            "type": [ "string", "boolean" ],
    2121            "enum": [ "all", "insert", false ]
    2222        }
  • trunk/src/wp-includes/blocks/cover/block.json

    r52042 r52103  
    6868        },
    6969        "templateLock": {
    70             "type": "string",
     70            "type": [ "string", "boolean" ],
    7171            "enum": [ "all", "insert", false ]
    7272        }
  • trunk/src/wp-includes/blocks/group/block.json

    r52042 r52103  
    1313        },
    1414        "templateLock": {
    15             "type": "string",
     15            "type": [ "string", "boolean" ],
    1616            "enum": [ "all", "insert", false ]
    1717        }
  • trunk/src/wp-includes/blocks/navigation.php

    r52069 r52103  
    8484
    8585    return $font_sizes;
    86 }
    87 
    88 /**
    89  * Returns the menu items for a WordPress menu location.
    90  *
    91  * @param string $location The menu location.
    92  * @return array Menu items for the location.
    93  */
    94 function gutenberg_get_menu_items_at_location( $location ) {
    95     if ( empty( $location ) ) {
    96         return;
    97     }
    98 
    99     // Build menu data. The following approximates the code in
    100     // `wp_nav_menu()` and `gutenberg_output_block_nav_menu`.
    101 
    102     // Find the location in the list of locations, returning early if the
    103     // location can't be found.
    104     $locations = get_nav_menu_locations();
    105     if ( ! isset( $locations[ $location ] ) ) {
    106         return;
    107     }
    108 
    109     // Get the menu from the location, returning early if there is no
    110     // menu or there was an error.
    111     $menu = wp_get_nav_menu_object( $locations[ $location ] );
    112     if ( ! $menu || is_wp_error( $menu ) ) {
    113         return;
    114     }
    115 
    116     $menu_items = wp_get_nav_menu_items( $menu->term_id, array( 'update_post_term_cache' => false ) );
    117     _wp_menu_item_classes_by_context( $menu_items );
    118 
    119     return $menu_items;
    120 }
    121 
    122 /**
    123  * Sorts a standard array of menu items into a nested structure keyed by the
    124  * id of the parent menu.
    125  *
    126  * @param array $menu_items Menu items to sort.
    127  * @return array An array keyed by the id of the parent menu where each element
    128  *               is an array of menu items that belong to that parent.
    129  */
    130 function gutenberg_sort_menu_items_by_parent_id( $menu_items ) {
    131     $sorted_menu_items = array();
    132     foreach ( (array) $menu_items as $menu_item ) {
    133         $sorted_menu_items[ $menu_item->menu_order ] = $menu_item;
    134     }
    135     unset( $menu_items, $menu_item );
    136 
    137     $menu_items_by_parent_id = array();
    138     foreach ( $sorted_menu_items as $menu_item ) {
    139         $menu_items_by_parent_id[ $menu_item->menu_item_parent ][] = $menu_item;
    140     }
    141 
    142     return $menu_items_by_parent_id;
    143 }
    144 
    145 /**
    146  * Turns menu item data into a nested array of parsed blocks
    147  *
    148  * @param array $menu_items               An array of menu items that represent
    149  *                                        an individual level of a menu.
    150  * @param array $menu_items_by_parent_id  An array keyed by the id of the
    151  *                                        parent menu where each element is an
    152  *                                        array of menu items that belong to
    153  *                                        that parent.
    154  * @return array An array of parsed block data.
    155  */
    156 function gutenberg_parse_blocks_from_menu_items( $menu_items, $menu_items_by_parent_id ) {
    157     if ( empty( $menu_items ) ) {
    158         return array();
    159     }
    160 
    161     $blocks = array();
    162 
    163     foreach ( $menu_items as $menu_item ) {
    164         $class_name       = ! empty( $menu_item->classes ) ? implode( ' ', (array) $menu_item->classes ) : null;
    165         $id               = ( null !== $menu_item->object_id && 'custom' !== $menu_item->object ) ? $menu_item->object_id : null;
    166         $opens_in_new_tab = null !== $menu_item->target && '_blank' === $menu_item->target;
    167         $rel              = ( null !== $menu_item->xfn && '' !== $menu_item->xfn ) ? $menu_item->xfn : null;
    168         $kind             = null !== $menu_item->type ? str_replace( '_', '-', $menu_item->type ) : 'custom';
    169 
    170         $block = array(
    171             'blockName' => 'core/navigation-link',
    172             'attrs'     => array(
    173                 'className'     => $class_name,
    174                 'description'   => $menu_item->description,
    175                 'id'            => $id,
    176                 'kind'          => $kind,
    177                 'label'         => $menu_item->title,
    178                 'opensInNewTab' => $opens_in_new_tab,
    179                 'rel'           => $rel,
    180                 'title'         => $menu_item->attr_title,
    181                 'type'          => $menu_item->object,
    182                 'url'           => $menu_item->url,
    183             ),
    184         );
    185 
    186         $block['innerBlocks'] = gutenberg_parse_blocks_from_menu_items(
    187             isset( $menu_items_by_parent_id[ $menu_item->ID ] )
    188                     ? $menu_items_by_parent_id[ $menu_item->ID ]
    189                     : array(),
    190             $menu_items_by_parent_id
    191         );
    192 
    193         $blocks[] = $block;
    194     }
    195 
    196     return $blocks;
    19786}
    19887
     
    355244    $responsive_container_markup = sprintf(
    356245        '<button aria-expanded="false" aria-haspopup="true" aria-label="%3$s" class="%6$s" data-micromodal-trigger="modal-%1$s"><svg width="24" height="24" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-hidden="true" focusable="false"><rect x="4" y="7.5" width="16" height="1.5" /><rect x="4" y="15" width="16" height="1.5" /></svg></button>
    357             <div class="%5$s" id="modal-%1$s" aria-hidden="true">
     246            <div class="%5$s" id="modal-%1$s">
    358247                <div class="wp-block-navigation__responsive-close" tabindex="-1" data-micromodal-close>
    359248                    <div class="wp-block-navigation__responsive-dialog" role="dialog" aria-modal="true" aria-labelledby="modal-%1$s-title" >
  • trunk/src/wp-includes/blocks/navigation/block.json

    r52069 r52103  
    115115            "allowInheriting": false,
    116116            "default": {
    117                 "type": "flex"
     117                "type": "flex",
     118                "setCascadingProperties": true
    118119            }
    119120        }
  • trunk/src/wp-includes/blocks/navigation/view.asset.php

    r52069 r52103  
    1 <?php return array('dependencies' => array(), 'version' => '86538493346805d860c94eb70dd1323d');
     1<?php return array('dependencies' => array(), 'version' => '8591fc81d18e61a0f33b213b1fe35e52');
  • trunk/src/wp-includes/blocks/navigation/view.min.asset.php

    r52069 r52103  
    1 <?php return array('dependencies' => array(), 'version' => '7b2c5174a07c417dc3db6f1d9a9c3f78');
     1<?php return array('dependencies' => array(), 'version' => '4942262e50480536aae4cd504a13f19c');
  • trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-global-styles-controller.php

    r52051 r52103  
    235235        $config                           = json_decode( $post->post_content, true );
    236236        $is_global_styles_user_theme_json = isset( $config['isGlobalStylesUserThemeJSON'] ) && true === $config['isGlobalStylesUserThemeJSON'];
    237         $result                           = array(
    238             'id'       => $post->ID,
    239             'settings' => ! empty( $config['settings'] ) && $is_global_styles_user_theme_json ? $config['settings'] : new stdClass(),
    240             'styles'   => ! empty( $config['styles'] ) && $is_global_styles_user_theme_json ? $config['styles'] : new stdClass(),
    241             'title'    => array(
    242                 'raw'      => $post->post_title,
    243                 'rendered' => get_the_title( $post ),
    244             ),
    245         );
    246         $result                           = $this->add_additional_fields_to_object( $result, $request );
    247         $response                         = rest_ensure_response( $result );
    248         $links                            = $this->prepare_links( $post->id );
     237        $fields                           = $this->get_fields_for_response( $request );
     238
     239        // Base fields for every post.
     240        $data = array();
     241
     242        if ( rest_is_field_included( 'id', $fields ) ) {
     243            $data['id'] = $post->ID;
     244        }
     245
     246        if ( rest_is_field_included( 'title', $fields ) ) {
     247            $data['title'] = array();
     248        }
     249        if ( rest_is_field_included( 'title.raw', $fields ) ) {
     250            $data['title']['raw'] = $post->post_title;
     251        }
     252        if ( rest_is_field_included( 'title.rendered', $fields ) ) {
     253            add_filter( 'protected_title_format', array( $this, 'protected_title_format' ) );
     254
     255            $data['title']['rendered'] = get_the_title( $post->ID );
     256
     257            remove_filter( 'protected_title_format', array( $this, 'protected_title_format' ) );
     258        }
     259
     260        if ( rest_is_field_included( 'settings', $fields ) ) {
     261            $data['settings'] = ! empty( $config['settings'] ) && $is_global_styles_user_theme_json ? $config['settings'] : new stdClass();
     262        }
     263
     264        if ( rest_is_field_included( 'styles', $fields ) ) {
     265            $data['styles'] = ! empty( $config['styles'] ) && $is_global_styles_user_theme_json ? $config['styles'] : new stdClass();
     266        }
     267
     268        $context = ! empty( $request['context'] ) ? $request['context'] : 'view';
     269        $data    = $this->add_additional_fields_to_object( $data, $request );
     270        $data    = $this->filter_response_by_context( $data, $context );
     271
     272        // Wrap the data in a response object.
     273        $response = rest_ensure_response( $data );
     274
     275        $links = $this->prepare_links( $post->ID );
    249276        $response->add_links( $links );
    250277        if ( ! empty( $links['self']['href'] ) ) {
     
    299326
    300327        return $rels;
     328    }
     329
     330    /**
     331     * Overwrites the default protected title format.
     332     *
     333     * By default, WordPress will show password protected posts with a title of
     334     * "Protected: %s", as the REST API communicates the protected status of a post
     335     * in a machine readable format, we remove the "Protected: " prefix.
     336     *
     337     * @since 5.9.0
     338     *
     339     * @return string Protected title format.
     340     */
     341    public function protected_title_format() {
     342        return '%s';
    301343    }
    302344
Note: See TracChangeset for help on using the changeset viewer.