Changeset 52324
- Timestamp:
- 12/06/2021 06:18:27 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/package-lock.json
r52277 r52324 3530 3530 }, 3531 3531 "@wordpress/block-directory": { 3532 "version": "3.0.1 3",3533 "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.1 3.tgz",3534 "integrity": "sha512- fUrJy5e/j8mrJgM0KHCatxR4kDf85JA5tTjRAu8GLALyE8g9cvdXNGjvKSYUhiQVogTPMvxaz6ZxHeySrd9gvA==",3532 "version": "3.0.14", 3533 "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.14.tgz", 3534 "integrity": "sha512-c9fSb3JHosUJb8HdatmvZg8iI9AtYfVwyaARt/5LT0xVtsOlNP6+WeaJa2ikpkdxpIt+sUG28YAgOWuCnLkALA==", 3535 3535 "requires": { 3536 3536 "@babel/runtime": "^7.16.0", 3537 3537 "@wordpress/a11y": "^3.2.4", 3538 3538 "@wordpress/api-fetch": "^5.2.6", 3539 "@wordpress/block-editor": "^8.0. 7",3539 "@wordpress/block-editor": "^8.0.8", 3540 3540 "@wordpress/blocks": "^11.1.4", 3541 "@wordpress/components": "^19.1. 1",3541 "@wordpress/components": "^19.1.2", 3542 3542 "@wordpress/compose": "^5.0.6", 3543 3543 "@wordpress/core-data": "^4.0.8", 3544 3544 "@wordpress/data": "^6.1.4", 3545 "@wordpress/edit-post": "^5.0.1 3",3546 "@wordpress/editor": "^12.0.1 0",3545 "@wordpress/edit-post": "^5.0.14", 3546 "@wordpress/editor": "^12.0.11", 3547 3547 "@wordpress/element": "^4.0.4", 3548 3548 "@wordpress/hooks": "^3.2.2", … … 3557 3557 }, 3558 3558 "@wordpress/block-editor": { 3559 "version": "8.0. 7",3560 "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0. 7.tgz",3561 "integrity": "sha512- Z1t9O98B/VVzQGO8xrahiL04Rm9e77DdJdUbTGYX3sGv4PqiwSfMtX+MMPE+RGC2koBpgOHzj8rbWeohvtYfxQ==",3559 "version": "8.0.8", 3560 "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.8.tgz", 3561 "integrity": "sha512-3KFD0gQZ6gvP98b3mvDYtZS/APaxWfw02L8/ur23i79HpKfNYheT+3HMrUf/MUxmsJX++BgWWU86r5kqH0Ug0A==", 3562 3562 "requires": { 3563 3563 "@babel/runtime": "^7.16.0", … … 3568 3568 "@wordpress/block-serialization-default-parser": "^4.2.3", 3569 3569 "@wordpress/blocks": "^11.1.4", 3570 "@wordpress/components": "^19.1. 1",3570 "@wordpress/components": "^19.1.2", 3571 3571 "@wordpress/compose": "^5.0.6", 3572 3572 "@wordpress/data": "^6.1.4", … … 3604 3604 }, 3605 3605 "@wordpress/block-library": { 3606 "version": "6.0.1 1",3607 "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.1 1.tgz",3608 "integrity": "sha512- IyQiNVzkPz5gQtcmOozZO9TNmzNUEPKn3OLgmgarVwNAN9hf3dY+zx9y1MyeDDjvIgnoYVVTiWQO1on36mjW6g==",3606 "version": "6.0.12", 3607 "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.12.tgz", 3608 "integrity": "sha512-Mdlspqpezzq0WSmBd2jTlUXb2/Y4CC+AFyOzY5X47ErWbwZPZnwZtqOmeAjrVwfdQpkqAyMJWjMdj7C71qoRTQ==", 3609 3609 "requires": { 3610 3610 "@babel/runtime": "^7.16.0", … … 3613 3613 "@wordpress/autop": "^3.2.3", 3614 3614 "@wordpress/blob": "^3.2.2", 3615 "@wordpress/block-editor": "^8.0. 7",3615 "@wordpress/block-editor": "^8.0.8", 3616 3616 "@wordpress/blocks": "^11.1.4", 3617 "@wordpress/components": "^19.1. 1",3617 "@wordpress/components": "^19.1.2", 3618 3618 "@wordpress/compose": "^5.0.6", 3619 3619 "@wordpress/core-data": "^4.0.8", … … 3628 3628 "@wordpress/i18n": "^4.2.4", 3629 3629 "@wordpress/icons": "^6.1.1", 3630 "@wordpress/interface": "^4.1. 9",3630 "@wordpress/interface": "^4.1.10", 3631 3631 "@wordpress/is-shallow-equal": "^4.2.1", 3632 3632 "@wordpress/keycodes": "^3.2.4", 3633 3633 "@wordpress/notices": "^3.2.7", 3634 3634 "@wordpress/primitives": "^3.0.4", 3635 "@wordpress/reusable-blocks": "^3.0.1 3",3635 "@wordpress/reusable-blocks": "^3.0.14", 3636 3636 "@wordpress/rich-text": "^5.0.6", 3637 "@wordpress/server-side-render": "^3.0.1 1",3637 "@wordpress/server-side-render": "^3.0.12", 3638 3638 "@wordpress/url": "^3.3.1", 3639 3639 "@wordpress/viewport": "^4.0.6", … … 3643 3643 "lodash": "^4.17.21", 3644 3644 "memize": "^1.1.0", 3645 "micromodal": "^0.4. 6",3645 "micromodal": "^0.4.9", 3646 3646 "moment": "^2.22.1" 3647 3647 } … … 3690 3690 }, 3691 3691 "@wordpress/components": { 3692 "version": "19.1. 1",3693 "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-19.1. 1.tgz",3694 "integrity": "sha512- mEjVRp10RNl/wu24N4cYPebiMJpVt/kFsHaNJTlkCZmEHVZXeByoa3gToyRE1G4ImFuiHEElQ0nWz3RNFFlRxg==",3692 "version": "19.1.2", 3693 "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-19.1.2.tgz", 3694 "integrity": "sha512-Qdj8l+/3wwkwxP1/pG3369/2xhKz07lpDXlNyAOMEctA8o8YhVLKvHhAiOKMNL/TQkPz9hWai9MEK/5aPsXffg==", 3695 3695 "requires": { 3696 3696 "@babel/runtime": "^7.16.0", … … 3786 3786 }, 3787 3787 "@wordpress/customize-widgets": { 3788 "version": "2.0.1 3",3789 "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.1 3.tgz",3790 "integrity": "sha512- no5D7OucerLGPEHFa0f8yWVWGjhHsAyWE6wOViA2zOof92y6/rqgYjDmKl//E3IdguE/v6wUxApConIYhtnf5Q==",3788 "version": "2.0.14", 3789 "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.14.tgz", 3790 "integrity": "sha512-QGHulwm/osqTMnVIcGjCz+hHTNNb1VSucr1zp/pr294H9StOIENer20dr7WSFiUavTRtXdcAWxpbiJkcaeEwYw==", 3791 3791 "requires": { 3792 3792 "@babel/runtime": "^7.16.0", 3793 3793 "@wordpress/a11y": "^3.2.4", 3794 "@wordpress/block-editor": "^8.0. 7",3795 "@wordpress/block-library": "^6.0.1 1",3794 "@wordpress/block-editor": "^8.0.8", 3795 "@wordpress/block-library": "^6.0.12", 3796 3796 "@wordpress/blocks": "^11.1.4", 3797 "@wordpress/components": "^19.1. 1",3797 "@wordpress/components": "^19.1.2", 3798 3798 "@wordpress/compose": "^5.0.6", 3799 3799 "@wordpress/core-data": "^4.0.8", … … 3804 3804 "@wordpress/i18n": "^4.2.4", 3805 3805 "@wordpress/icons": "^6.1.1", 3806 "@wordpress/interface": "^4.1. 9",3806 "@wordpress/interface": "^4.1.10", 3807 3807 "@wordpress/is-shallow-equal": "^4.2.1", 3808 3808 "@wordpress/keyboard-shortcuts": "^3.0.6", 3809 3809 "@wordpress/keycodes": "^3.2.4", 3810 3810 "@wordpress/media-utils": "^3.0.5", 3811 "@wordpress/widgets": "^2.0.1 3",3811 "@wordpress/widgets": "^2.0.14", 3812 3812 "classnames": "^2.3.1", 3813 3813 "lodash": "^4.17.21" … … 3910 3910 }, 3911 3911 "@wordpress/e2e-test-utils": { 3912 "version": "5.4. 8",3913 "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils/-/e2e-test-utils-5.4. 8.tgz",3914 "integrity": "sha512- fV4tx/wB9ldU+5APPcrHT/V2Jmt4vYtNKtMmOLJhInjvMWjaqL6buUpSvoMyFR//P95GUz/KqaLXh/i/smfuow==",3912 "version": "5.4.9", 3913 "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils/-/e2e-test-utils-5.4.9.tgz", 3914 "integrity": "sha512-L0ReQGU8N9soIUoomVEILR7/PX0BrlBMltH9yjFuNxUweqZxoKd5vhNEDQfN2BZM24Zrnm9P/XQmdNwr9r/vPw==", 3915 3915 "dev": true, 3916 3916 "requires": { … … 3938 3938 }, 3939 3939 "@wordpress/edit-post": { 3940 "version": "5.0.1 3",3941 "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.1 3.tgz",3942 "integrity": "sha512- dMCMxJTERUxGbcZqJOTH6Hv0WSQ1FuKUS/ug48f0osgVQR61e4QiJC10Ld2uNeB2ZNNyOcFM0YIashZk0u91HQ==",3940 "version": "5.0.14", 3941 "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.14.tgz", 3942 "integrity": "sha512-5groMRI4CT6I6TcZeG2T5GC5j4Uj1dNlk69DF4q+eLJf6bs3EO3A2gIfzr2fuMTsfOO9pyrk+Y3yjEG8fDg3AA==", 3943 3943 "requires": { 3944 3944 "@babel/runtime": "^7.16.0", 3945 3945 "@wordpress/a11y": "^3.2.4", 3946 3946 "@wordpress/api-fetch": "^5.2.6", 3947 "@wordpress/block-editor": "^8.0. 7",3948 "@wordpress/block-library": "^6.0.1 1",3947 "@wordpress/block-editor": "^8.0.8", 3948 "@wordpress/block-library": "^6.0.12", 3949 3949 "@wordpress/blocks": "^11.1.4", 3950 "@wordpress/components": "^19.1. 1",3950 "@wordpress/components": "^19.1.2", 3951 3951 "@wordpress/compose": "^5.0.6", 3952 3952 "@wordpress/core-data": "^4.0.8", 3953 3953 "@wordpress/data": "^6.1.4", 3954 3954 "@wordpress/data-controls": "^2.2.7", 3955 "@wordpress/editor": "^12.0.1 0",3955 "@wordpress/editor": "^12.0.11", 3956 3956 "@wordpress/element": "^4.0.4", 3957 3957 "@wordpress/hooks": "^3.2.2", 3958 3958 "@wordpress/i18n": "^4.2.4", 3959 3959 "@wordpress/icons": "^6.1.1", 3960 "@wordpress/interface": "^4.1. 9",3960 "@wordpress/interface": "^4.1.10", 3961 3961 "@wordpress/keyboard-shortcuts": "^3.0.6", 3962 3962 "@wordpress/keycodes": "^3.2.4", … … 3983 3983 }, 3984 3984 "@wordpress/edit-site": { 3985 "version": "3.0.1 3",3986 "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.1 3.tgz",3987 "integrity": "sha512- Lk3xlea+4gQ8l3j5iwlbCsJaRMgXXd/XBiNnctkszFkJ0gLMOnMJDvqjGUUzqzi1xHu/Hj9G3JtNm6XbJDeTIw==",3985 "version": "3.0.14", 3986 "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.14.tgz", 3987 "integrity": "sha512-mG3D1rad/HK87HqxvnZE7wiQl9ZC2fqrxiUwfQgyOU9F+2T3s6DCKMquJhDrs0TPCmZMj+y4H/cHN46Yw8hhbw==", 3988 3988 "requires": { 3989 3989 "@babel/runtime": "^7.16.0", 3990 3990 "@wordpress/a11y": "^3.2.4", 3991 3991 "@wordpress/api-fetch": "^5.2.6", 3992 "@wordpress/block-editor": "^8.0. 7",3993 "@wordpress/block-library": "^6.0.1 1",3992 "@wordpress/block-editor": "^8.0.8", 3993 "@wordpress/block-library": "^6.0.12", 3994 3994 "@wordpress/blocks": "^11.1.4", 3995 "@wordpress/components": "^19.1. 1",3995 "@wordpress/components": "^19.1.2", 3996 3996 "@wordpress/compose": "^5.0.6", 3997 3997 "@wordpress/core-data": "^4.0.8", 3998 3998 "@wordpress/data": "^6.1.4", 3999 3999 "@wordpress/data-controls": "^2.2.7", 4000 "@wordpress/editor": "^12.0.1 0",4000 "@wordpress/editor": "^12.0.11", 4001 4001 "@wordpress/element": "^4.0.4", 4002 4002 "@wordpress/hooks": "^3.2.2", … … 4004 4004 "@wordpress/i18n": "^4.2.4", 4005 4005 "@wordpress/icons": "^6.1.1", 4006 "@wordpress/interface": "^4.1. 9",4006 "@wordpress/interface": "^4.1.10", 4007 4007 "@wordpress/keyboard-shortcuts": "^3.0.6", 4008 4008 "@wordpress/keycodes": "^3.2.4", … … 4011 4011 "@wordpress/plugins": "^4.0.6", 4012 4012 "@wordpress/primitives": "^3.0.4", 4013 "@wordpress/reusable-blocks": "^3.0.1 3",4013 "@wordpress/reusable-blocks": "^3.0.14", 4014 4014 "@wordpress/url": "^3.3.1", 4015 4015 "@wordpress/viewport": "^4.0.6", … … 4023 4023 }, 4024 4024 "@wordpress/edit-widgets": { 4025 "version": "3.1. 8",4026 "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1. 8.tgz",4027 "integrity": "sha512- Pz7kqi92mV25StGrEnhGI3rxtC/7JEsc524/4NxMP5NvecS4MjXCshmN+PzmFqTSHyOTAtGe2p1vdhdiOLHa4w==",4025 "version": "3.1.9", 4026 "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.9.tgz", 4027 "integrity": "sha512-ivcnkftK+0N6lZjtcIbj2onsfvmt7/oo6e5Uh+ZcYXQGoX9t+02zFik23gOgqPqbb7XkbkQGf1sHWs5eaFFo5g==", 4028 4028 "requires": { 4029 4029 "@babel/runtime": "^7.16.0", 4030 4030 "@wordpress/a11y": "^3.2.4", 4031 4031 "@wordpress/api-fetch": "^5.2.6", 4032 "@wordpress/block-editor": "^8.0. 7",4033 "@wordpress/block-library": "^6.0.1 1",4032 "@wordpress/block-editor": "^8.0.8", 4033 "@wordpress/block-library": "^6.0.12", 4034 4034 "@wordpress/blocks": "^11.1.4", 4035 "@wordpress/components": "^19.1. 1",4035 "@wordpress/components": "^19.1.2", 4036 4036 "@wordpress/compose": "^5.0.6", 4037 4037 "@wordpress/core-data": "^4.0.8", … … 4042 4042 "@wordpress/i18n": "^4.2.4", 4043 4043 "@wordpress/icons": "^6.1.1", 4044 "@wordpress/interface": "^4.1. 9",4044 "@wordpress/interface": "^4.1.10", 4045 4045 "@wordpress/keyboard-shortcuts": "^3.0.6", 4046 4046 "@wordpress/keycodes": "^3.2.4", … … 4048 4048 "@wordpress/notices": "^3.2.7", 4049 4049 "@wordpress/plugins": "^4.0.6", 4050 "@wordpress/reusable-blocks": "^3.0.1 3",4051 "@wordpress/server-side-render": "^3.0.1 1",4050 "@wordpress/reusable-blocks": "^3.0.14", 4051 "@wordpress/server-side-render": "^3.0.12", 4052 4052 "@wordpress/url": "^3.3.1", 4053 "@wordpress/widgets": "^2.0.1 3",4053 "@wordpress/widgets": "^2.0.14", 4054 4054 "classnames": "^2.3.1", 4055 4055 "lodash": "^4.17.21", … … 4059 4059 }, 4060 4060 "@wordpress/editor": { 4061 "version": "12.0.1 0",4062 "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.1 0.tgz",4063 "integrity": "sha512- V3O2rBtmN6gGbaWtYjc6IVA6GbRUzGxEQ3Z7mVPnF0G0x7hWrmrMIwGEQ0jC+jvJ5OdVUH9GyJwD2ns+PqAgIQ==",4061 "version": "12.0.11", 4062 "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.11.tgz", 4063 "integrity": "sha512-qZ2WJ7JiycKtkPuSUoRApOVECZC5XuseRhfDl3dUwlaRl0jND83B/kj3NoHfZPNB09621j+bwBT39qH78e953g==", 4064 4064 "requires": { 4065 4065 "@babel/runtime": "^7.16.0", … … 4068 4068 "@wordpress/autop": "^3.2.3", 4069 4069 "@wordpress/blob": "^3.2.2", 4070 "@wordpress/block-editor": "^8.0. 7",4070 "@wordpress/block-editor": "^8.0.8", 4071 4071 "@wordpress/blocks": "^11.1.4", 4072 "@wordpress/components": "^19.1. 1",4072 "@wordpress/components": "^19.1.2", 4073 4073 "@wordpress/compose": "^5.0.6", 4074 4074 "@wordpress/core-data": "^4.0.8", … … 4087 4087 "@wordpress/media-utils": "^3.0.5", 4088 4088 "@wordpress/notices": "^3.2.7", 4089 "@wordpress/reusable-blocks": "^3.0.1 3",4089 "@wordpress/reusable-blocks": "^3.0.14", 4090 4090 "@wordpress/rich-text": "^5.0.6", 4091 "@wordpress/server-side-render": "^3.0.1 1",4091 "@wordpress/server-side-render": "^3.0.12", 4092 4092 "@wordpress/url": "^3.3.1", 4093 4093 "@wordpress/wordcount": "^3.2.3", … … 4176 4176 }, 4177 4177 "@wordpress/format-library": { 4178 "version": "3.0.1 3",4179 "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.1 3.tgz",4180 "integrity": "sha512- OJ1US9AcUZ9vCY+kvzTmcSx15nnHTdU1rYTwGiacPg6ES6pxc7iyMJU+cltUi0+YM3MV8dGvH9jNnZPAlPUy4A==",4178 "version": "3.0.14", 4179 "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.14.tgz", 4180 "integrity": "sha512-iemQKg711CrFmpJvPh1isceiorAGPkKXouPt+UF7Ic8G6YggyUf8hnyGuPIWZM7wTlbh5PD2XeL90+pChJVfRQ==", 4181 4181 "requires": { 4182 4182 "@babel/runtime": "^7.16.0", 4183 4183 "@wordpress/a11y": "^3.2.4", 4184 "@wordpress/block-editor": "^8.0. 7",4185 "@wordpress/components": "^19.1. 1",4184 "@wordpress/block-editor": "^8.0.8", 4185 "@wordpress/components": "^19.1.2", 4186 4186 "@wordpress/compose": "^5.0.6", 4187 4187 "@wordpress/data": "^6.1.4", … … 4238 4238 }, 4239 4239 "@wordpress/interface": { 4240 "version": "4.1. 9",4241 "resolved": "https://registry.npmjs.org/@wordpress/interface/-/interface-4.1. 9.tgz",4242 "integrity": "sha512- iemRnmrKP3SHfjS159kWdAp1Klzzm2JmaNGCvt+hjiZwMGvJhA1I90yGY5WFy+JG+lF6ssmoi6j8L4SXLCIiTw==",4240 "version": "4.1.10", 4241 "resolved": "https://registry.npmjs.org/@wordpress/interface/-/interface-4.1.10.tgz", 4242 "integrity": "sha512-3nUDqo69m0EBPpXW83Zv4MjTDRmmeoo2cYWNi2tUEi117Ls7Nuw+zXMdHCdYk1QcqVfVOmRg77tZlPDapDZBqQ==", 4243 4243 "requires": { 4244 4244 "@babel/runtime": "^7.16.0", 4245 4245 "@wordpress/a11y": "^3.2.4", 4246 "@wordpress/components": "^19.1. 1",4246 "@wordpress/components": "^19.1.2", 4247 4247 "@wordpress/compose": "^5.0.6", 4248 4248 "@wordpress/data": "^6.1.4", … … 4342 4342 }, 4343 4343 "@wordpress/list-reusable-blocks": { 4344 "version": "3.0.1 1",4345 "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-3.0.1 1.tgz",4346 "integrity": "sha512- zMufOLhJEe4xqDmL3FVsT1Qcj/kiNShaIqmVES57fLDVUvKOZjJbV2zRcJxJmaBqlz6bJuOPjZAZDNRoFNN9hg==",4344 "version": "3.0.12", 4345 "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-3.0.12.tgz", 4346 "integrity": "sha512-slGIu0ABCws87Ch8urInCpg/YI/B7Ap2U8AJ5FSM5cQ6ex+JCbMexABOwiuIHL065hEaw/wI/LNrgP75MRjT8A==", 4347 4347 "requires": { 4348 4348 "@babel/runtime": "^7.16.0", 4349 4349 "@wordpress/api-fetch": "^5.2.6", 4350 "@wordpress/components": "^19.1. 1",4350 "@wordpress/components": "^19.1.2", 4351 4351 "@wordpress/compose": "^5.0.6", 4352 4352 "@wordpress/element": "^4.0.4", … … 4386 4386 }, 4387 4387 "@wordpress/nux": { 4388 "version": "5.0.1 1",4389 "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-5.0.1 1.tgz",4390 "integrity": "sha512- o9dq2ZaAFmqamYBJ+aJs9RoceRmNNEVWhsCgBbS3LaXHIXPkI8NRaCG8uerKcWGYkQvRnN7GnUtvMrRJVH2TxA==",4388 "version": "5.0.12", 4389 "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-5.0.12.tgz", 4390 "integrity": "sha512-qMWUHyACqTMI6vGXQA20nUGlagaQ/GOGuk1al6acMrHMbk3b5LCgrA6nYPuHDXfgheZ5dZ85p8r2onos1bUkig==", 4391 4391 "requires": { 4392 4392 "@babel/runtime": "^7.16.0", 4393 "@wordpress/components": "^19.1. 1",4393 "@wordpress/components": "^19.1.2", 4394 4394 "@wordpress/compose": "^5.0.6", 4395 4395 "@wordpress/data": "^6.1.4", … … 4516 4516 }, 4517 4517 "@wordpress/reusable-blocks": { 4518 "version": "3.0.1 3",4519 "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.1 3.tgz",4520 "integrity": "sha512- pgeo7T796FxD+GUhzq2CpmXGFLIy9uoKyJ2TQ3F5s6u5a1ZXZumHcYTFXoofXXxfUjK3QRqkMphVKJHFdzslHg==",4521 "requires": { 4522 "@wordpress/block-editor": "^8.0. 7",4518 "version": "3.0.14", 4519 "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.14.tgz", 4520 "integrity": "sha512-jR4byu0is1n4FX53wVxuTR60bTU3wYv+yS+nvUPqgo7Ngh/8m3HP6PeKFP35/w3L3zYXM309s9tox7mUsycadg==", 4521 "requires": { 4522 "@wordpress/block-editor": "^8.0.8", 4523 4523 "@wordpress/blocks": "^11.1.4", 4524 "@wordpress/components": "^19.1. 1",4524 "@wordpress/components": "^19.1.2", 4525 4525 "@wordpress/compose": "^5.0.6", 4526 4526 "@wordpress/core-data": "^4.0.8", … … 5488 5488 }, 5489 5489 "@wordpress/server-side-render": { 5490 "version": "3.0.1 1",5491 "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-3.0.1 1.tgz",5492 "integrity": "sha512- VjTQiercy6saBPtK9icvLchB08qJaGkkR/I5up7oq7w2pDINEpm2oj0sGYV1l26HJ2cxLBBwDzSJxrMmmrXa4w==",5490 "version": "3.0.12", 5491 "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-3.0.12.tgz", 5492 "integrity": "sha512-ctiH9X/8Yn/Cp7Yvpcq7ee/kG6FDVhgLbCtNLFN+4estKfcKXfdMuzEsV0Lhi3z8SF9pRewwvas0cdIo+maK7g==", 5493 5493 "requires": { 5494 5494 "@babel/runtime": "^7.16.0", 5495 5495 "@wordpress/api-fetch": "^5.2.6", 5496 5496 "@wordpress/blocks": "^11.1.4", 5497 "@wordpress/components": "^19.1. 1",5497 "@wordpress/components": "^19.1.2", 5498 5498 "@wordpress/compose": "^5.0.6", 5499 5499 "@wordpress/data": "^6.1.4", … … 5561 5561 }, 5562 5562 "@wordpress/widgets": { 5563 "version": "2.0.1 3",5564 "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.1 3.tgz",5565 "integrity": "sha512-f fcQjUa2iZ3wXOqLTUi6GnWILLybBm7ep5aUWYuKJ2DdWcJAlFX9/NfTrnS5KI338Uc2Mxfjq1ZKBg4vxvnRZw==",5563 "version": "2.0.14", 5564 "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.14.tgz", 5565 "integrity": "sha512-fMAWwEcK79esTIttuQkCFTHhPsrWbCQmletT8IjpUmT34RXbwGreBXnief8n9H4BC8eTe1JAE/kI3AhtdYfrRg==", 5566 5566 "requires": { 5567 5567 "@babel/runtime": "^7.16.0", 5568 5568 "@wordpress/api-fetch": "^5.2.6", 5569 "@wordpress/block-editor": "^8.0. 7",5569 "@wordpress/block-editor": "^8.0.8", 5570 5570 "@wordpress/blocks": "^11.1.4", 5571 "@wordpress/components": "^19.1. 1",5571 "@wordpress/components": "^19.1.2", 5572 5572 "@wordpress/compose": "^5.0.6", 5573 5573 "@wordpress/core-data": "^4.0.8", -
trunk/package.json
r52277 r52324 28 28 "@wordpress/custom-templated-path-webpack-plugin": "2.1.0", 29 29 "@wordpress/dependency-extraction-webpack-plugin": "3.2.1", 30 "@wordpress/e2e-test-utils": "5.4. 8",30 "@wordpress/e2e-test-utils": "5.4.9", 31 31 "@wordpress/library-export-default-webpack-plugin": "2.2.0", 32 32 "@wordpress/scripts": "19.2.2", … … 83 83 "@wordpress/autop": "3.2.3", 84 84 "@wordpress/blob": "3.2.2", 85 "@wordpress/block-directory": "3.0.1 3",86 "@wordpress/block-editor": "8.0. 7",87 "@wordpress/block-library": "6.0.1 1",85 "@wordpress/block-directory": "3.0.14", 86 "@wordpress/block-editor": "8.0.8", 87 "@wordpress/block-library": "6.0.12", 88 88 "@wordpress/block-serialization-default-parser": "4.2.3", 89 89 "@wordpress/blocks": "11.1.4", 90 "@wordpress/components": "19.1. 1",90 "@wordpress/components": "19.1.2", 91 91 "@wordpress/compose": "5.0.6", 92 92 "@wordpress/core-data": "4.0.8", 93 "@wordpress/customize-widgets": "2.0.1 3",93 "@wordpress/customize-widgets": "2.0.14", 94 94 "@wordpress/data": "6.1.4", 95 95 "@wordpress/data-controls": "2.2.7", … … 98 98 "@wordpress/dom": "3.2.7", 99 99 "@wordpress/dom-ready": "3.2.3", 100 "@wordpress/edit-post": "5.0.1 3",101 "@wordpress/edit-site": "3.0.1 3",102 "@wordpress/edit-widgets": "3.1. 8",103 "@wordpress/editor": "12.0.1 0",100 "@wordpress/edit-post": "5.0.14", 101 "@wordpress/edit-site": "3.0.14", 102 "@wordpress/edit-widgets": "3.1.9", 103 "@wordpress/editor": "12.0.11", 104 104 "@wordpress/element": "4.0.4", 105 105 "@wordpress/escape-html": "2.2.3", 106 "@wordpress/format-library": "3.0.1 3",106 "@wordpress/format-library": "3.0.14", 107 107 "@wordpress/hooks": "3.2.2", 108 108 "@wordpress/html-entities": "3.2.3", 109 109 "@wordpress/i18n": "4.2.4", 110 110 "@wordpress/icons": "6.1.1", 111 "@wordpress/interface": "4.1. 9",111 "@wordpress/interface": "4.1.10", 112 112 "@wordpress/is-shallow-equal": "4.2.1", 113 113 "@wordpress/keyboard-shortcuts": "3.0.6", 114 114 "@wordpress/keycodes": "3.2.4", 115 "@wordpress/list-reusable-blocks": "3.0.1 1",115 "@wordpress/list-reusable-blocks": "3.0.12", 116 116 "@wordpress/media-utils": "3.0.5", 117 117 "@wordpress/notices": "3.2.7", 118 "@wordpress/nux": "5.0.1 1",118 "@wordpress/nux": "5.0.12", 119 119 "@wordpress/plugins": "4.0.6", 120 120 "@wordpress/primitives": "3.0.4", 121 121 "@wordpress/priority-queue": "2.2.3", 122 122 "@wordpress/redux-routine": "4.2.2", 123 "@wordpress/reusable-blocks": "3.0.1 3",123 "@wordpress/reusable-blocks": "3.0.14", 124 124 "@wordpress/rich-text": "5.0.6", 125 "@wordpress/server-side-render": "3.0.1 1",125 "@wordpress/server-side-render": "3.0.12", 126 126 "@wordpress/shortcode": "3.2.3", 127 127 "@wordpress/token-list": "2.2.2", … … 129 129 "@wordpress/viewport": "4.0.6", 130 130 "@wordpress/warning": "2.2.2", 131 "@wordpress/widgets": "2.0.1 3",131 "@wordpress/widgets": "2.0.14", 132 132 "@wordpress/wordcount": "3.2.3", 133 133 "backbone": "1.4.0", -
trunk/src/wp-includes/assets/script-loader-packages.php
r52277 r52324 1 <?php return array('a11y.js' => 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' => ' 6334f95fc53c1ec41d5ecf2911797ca5'), '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' => '24e7bb0f5f3588492f387671b2a46fc9'), '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' => '3bab8235e19d9f09164c30ab5363093a'), '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' => '9dac23239e3ee771f867989188a2e766'), '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' => 'f9c70b06478edf537328ed5ca3555658'), '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' => '78dd73ace08da4436266d54e551f1801'), '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' => '8379e53bda963fe8c9de710f71982031'), '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' => '98424c28360f75deb941d9d5977df074'), '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' => '22329f7ff9d35759e1a4ed63f50fd1f1'), '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' => '314e138f1050b863fc65347b91b547d5'), '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' => 'ff256efbd27ce91d114094be9982fadc'), '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'));1 <?php return array('a11y.js' => 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' => '1f942819c3ee4c8817290d91009999f9'), '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' => '9c50f4a2655f7982925830bfa279e623'), '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' => '222096a6b8f6db7f3d31e2a7095c7624'), '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' => '9dac23239e3ee771f867989188a2e766'), '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' => 'f9c70b06478edf537328ed5ca3555658'), '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' => '78dd73ace08da4436266d54e551f1801'), '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' => '28cef4f1147fe985ff7d5074907fc201'), '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' => '98424c28360f75deb941d9d5977df074'), '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' => '22329f7ff9d35759e1a4ed63f50fd1f1'), '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' => '314e138f1050b863fc65347b91b547d5'), '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' => 'ff256efbd27ce91d114094be9982fadc'), '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')); -
trunk/src/wp-includes/block-supports/layout.php
r52302 r52324 105 105 if ( 'horizontal' === $layout_orientation ) { 106 106 $style .= 'align-items: center;'; 107 if ( ! empty( $layout['setCascadingProperties'] ) && $layout['setCascadingProperties'] ) { 108 $style .= '--layout-direction: row;'; 109 } 107 110 /** 108 111 * Add this style only if is not empty for backwards compatibility, … … 115 118 // --layout-justification-setting allows children to inherit the value regardless or row or column direction. 116 119 $style .= "--layout-justification-setting: {$justify_content_options[ $layout['justifyContent'] ]};"; 117 $style .= '--layout-direction: row;';118 120 $style .= "--layout-wrap: $flex_wrap;"; 119 121 $style .= "--layout-justify: {$justify_content_options[ $layout['justifyContent'] ]};"; … … 126 128 $style .= "align-items: {$justify_content_options[ $layout['justifyContent'] ]};"; 127 129 if ( ! empty( $layout['setCascadingProperties'] ) && $layout['setCascadingProperties'] ) { 130 $style .= '--layout-direction: column;'; 131 } 132 if ( ! empty( $layout['setCascadingProperties'] ) && $layout['setCascadingProperties'] ) { 128 133 // --layout-justification-setting allows children to inherit the value regardless or row or column direction. 129 134 $style .= "--layout-justification-setting: {$justify_content_options[ $layout['justifyContent'] ]};"; 130 $style .= '--layout-direction: column;';131 135 $style .= '--layout-justify: initial;'; 132 136 $style .= "--layout-align: {$justify_content_options[ $layout['justifyContent'] ]};"; -
trunk/src/wp-includes/block-template-utils.php
r52318 r52324 745 745 function get_block_template( $id, $template_type = 'wp_template' ) { 746 746 /** 747 * Filters the block templates arraybefore the query takes place.747 *Filters the block template object before the query takes place. 748 748 * 749 749 * Return a non-null value to bypass the WordPress queries. … … 794 794 795 795 /** 796 * Filters the array of queried block templates array after they'vebeen fetched.796 * Filters the queried block template object after it's been fetched. 797 797 * 798 798 * @since 5.9.0 799 799 * 800 * @param WP_Block_Template $block_template The found block template.801 * @param string $id Template unique identifier (example: theme_slug//template_slug).802 * @param array $template_type Template type: `'wp_template'` or '`wp_template_part'`.800 * @param WP_Block_Template|null $block_template The found block template, or null if there isn't one. 801 * @param string $id Template unique identifier (example: theme_slug//template_slug). 802 * @param array $template_type Template type: `'wp_template'` or '`wp_template_part'`. 803 803 */ 804 804 return apply_filters( 'get_block_template', $block_template, $id, $template_type ); -
trunk/src/wp-includes/blocks/navigation-submenu.php
r52232 r52324 164 164 ) 165 165 ); 166 $html = '<li ' . $wrapper_attributes . '>'; 166 167 $label = ''; 168 169 if ( isset( $attributes['label'] ) ) { 170 $label .= wp_kses( 171 $attributes['label'], 172 array( 173 'code' => array(), 174 'em' => array(), 175 'img' => array( 176 'scale' => array(), 177 'class' => array(), 178 'style' => array(), 179 'src' => array(), 180 'alt' => array(), 181 ), 182 's' => array(), 183 'span' => array( 184 'style' => array(), 185 ), 186 'strong' => array(), 187 ) 188 ); 189 } 190 191 $html = '<li ' . $wrapper_attributes . '>'; 167 192 168 193 // If Submenus open on hover, we render an anchor tag with attributes. … … 194 219 // End appending HTML attributes to anchor tag. 195 220 196 if ( isset( $attributes['label'] ) ) { 197 $html .= wp_kses( 198 $attributes['label'], 199 array( 200 'code' => array(), 201 'em' => array(), 202 'img' => array( 203 'scale' => array(), 204 'class' => array(), 205 'style' => array(), 206 'src' => array(), 207 'alt' => array(), 208 ), 209 's' => array(), 210 'span' => array( 211 'style' => array(), 212 ), 213 'strong' => array(), 214 ) 215 ); 216 } 221 $html .= $label; 217 222 218 223 $html .= '</a>'; … … 222 227 // The submenu icon is rendered in a button here 223 228 // so that there's a clickable elment to open the submenu. 224 $html .= '<button class="wp-block-navigation__submenu-icon wp-block-navigation-submenu__toggle" aria-expanded="false">' . block_core_navigation_submenu_render_submenu_icon() . '</button>';229 $html .= '<button aria-label="' . $label . ' ' . __( 'submenu', 'gutenberg' ) . '" class="wp-block-navigation__submenu-icon wp-block-navigation-submenu__toggle" aria-expanded="false">' . block_core_navigation_submenu_render_submenu_icon() . '</button>'; 225 230 } 226 231 } else { 227 232 // If menus open on click, we render the parent as a button. 228 $html .= '<button class="wp-block-navigation-item__content wp-block-navigation-submenu__toggle" aria-expanded="false">';233 $html .= '<button aria-label="' . $label . ' ' . __( 'submenu', 'gutenberg' ) . '" class="wp-block-navigation-item__content wp-block-navigation-submenu__toggle" aria-expanded="false">'; 229 234 230 235 // Wrap title with span to isolate it from submenu icon. 231 236 $html .= '<span class="wp-block-navigation-item__label">'; 232 237 233 if ( isset( $attributes['label'] ) ) { 234 $html .= wp_kses( 235 $attributes['label'], 236 array( 237 'code' => array(), 238 'em' => array(), 239 'img' => array( 240 'scale' => array(), 241 'class' => array(), 242 'style' => array(), 243 'src' => array(), 244 'alt' => array(), 245 ), 246 's' => array(), 247 'span' => array( 248 'style' => array(), 249 ), 250 'strong' => array(), 251 ) 252 ); 253 } 238 $html .= $label; 254 239 255 240 $html .= '</span>'; -
trunk/src/wp-includes/blocks/navigation.php
r52277 r52324 5 5 * @package WordPress 6 6 */ 7 8 // These functions are used for the __unstableLocation feature and only active 9 // when the gutenberg plugin is active. 10 if ( defined( 'IS_GUTENBERG_PLUGIN' ) && IS_GUTENBERG_PLUGIN ) { 11 /** 12 * Returns the menu items for a WordPress menu location. 13 * 14 * @param string $location The menu location. 15 * @return array Menu items for the location. 16 */ 17 function block_core_navigation_get_menu_items_at_location( $location ) { 18 if ( empty( $location ) ) { 19 return; 20 } 21 22 // Build menu data. The following approximates the code in 23 // `wp_nav_menu()` and `gutenberg_output_block_nav_menu`. 24 25 // Find the location in the list of locations, returning early if the 26 // location can't be found. 27 $locations = get_nav_menu_locations(); 28 if ( ! isset( $locations[ $location ] ) ) { 29 return; 30 } 31 32 // Get the menu from the location, returning early if there is no 33 // menu or there was an error. 34 $menu = wp_get_nav_menu_object( $locations[ $location ] ); 35 if ( ! $menu || is_wp_error( $menu ) ) { 36 return; 37 } 38 39 $menu_items = wp_get_nav_menu_items( $menu->term_id, array( 'update_post_term_cache' => false ) ); 40 _wp_menu_item_classes_by_context( $menu_items ); 41 42 return $menu_items; 43 } 44 45 46 /** 47 * Sorts a standard array of menu items into a nested structure keyed by the 48 * id of the parent menu. 49 * 50 * @param array $menu_items Menu items to sort. 51 * @return array An array keyed by the id of the parent menu where each element 52 * is an array of menu items that belong to that parent. 53 */ 54 function block_core_navigation_sort_menu_items_by_parent_id( $menu_items ) { 55 $sorted_menu_items = array(); 56 foreach ( (array) $menu_items as $menu_item ) { 57 $sorted_menu_items[ $menu_item->menu_order ] = $menu_item; 58 } 59 unset( $menu_items, $menu_item ); 60 61 $menu_items_by_parent_id = array(); 62 foreach ( $sorted_menu_items as $menu_item ) { 63 $menu_items_by_parent_id[ $menu_item->menu_item_parent ][] = $menu_item; 64 } 65 66 return $menu_items_by_parent_id; 67 } 68 69 /** 70 * Turns menu item data into a nested array of parsed blocks 71 * 72 * @param array $menu_items An array of menu items that represent 73 * an individual level of a menu. 74 * @param array $menu_items_by_parent_id An array keyed by the id of the 75 * parent menu where each element is an 76 * array of menu items that belong to 77 * that parent. 78 * @return array An array of parsed block data. 79 */ 80 function block_core_navigation_parse_blocks_from_menu_items( $menu_items, $menu_items_by_parent_id ) { 81 if ( empty( $menu_items ) ) { 82 return array(); 83 } 84 85 $blocks = array(); 86 87 foreach ( $menu_items as $menu_item ) { 88 $class_name = ! empty( $menu_item->classes ) ? implode( ' ', (array) $menu_item->classes ) : null; 89 $id = ( null !== $menu_item->object_id && 'custom' !== $menu_item->object ) ? $menu_item->object_id : null; 90 $opens_in_new_tab = null !== $menu_item->target && '_blank' === $menu_item->target; 91 $rel = ( null !== $menu_item->xfn && '' !== $menu_item->xfn ) ? $menu_item->xfn : null; 92 $kind = null !== $menu_item->type ? str_replace( '_', '-', $menu_item->type ) : 'custom'; 93 94 $block = array( 95 'blockName' => isset( $menu_items_by_parent_id[ $menu_item->ID ] ) ? 'core/navigation-submenu' : 'core/navigation-link', 96 'attrs' => array( 97 'className' => $class_name, 98 'description' => $menu_item->description, 99 'id' => $id, 100 'kind' => $kind, 101 'label' => $menu_item->title, 102 'opensInNewTab' => $opens_in_new_tab, 103 'rel' => $rel, 104 'title' => $menu_item->attr_title, 105 'type' => $menu_item->object, 106 'url' => $menu_item->url, 107 ), 108 ); 109 110 $block['innerBlocks'] = isset( $menu_items_by_parent_id[ $menu_item->ID ] ) 111 ? block_core_navigation_parse_blocks_from_menu_items( $menu_items_by_parent_id[ $menu_item->ID ], $menu_items_by_parent_id ) 112 : array(); 113 $block['innerContent'] = array_map( 'serialize_block', $block['innerBlocks'] ); 114 115 $blocks[] = $block; 116 } 117 118 return $blocks; 119 } 120 } 7 121 8 122 /** … … 146 260 // - https://github.com/WordPress/wordpress-develop/blob/ba943e113d3b31b121f77a2d30aebe14b047c69d/src/wp-includes/nav-menu.php#L613-L619. 147 261 // - https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters. 148 $navigation_posts = get_posts( 149 array( 150 'post_type' => 'wp_navigation', 151 'order' => 'ASC', 152 'orderby' => 'name', 153 'posts_per_page' => 1, // only the first post. 154 's' => '<!-- wp:', // look for block indicators to ensure we only include non-empty Navigations. 155 ) 156 ); 157 return count( $navigation_posts ) ? $navigation_posts[0] : null; 158 262 $parsed_args = array( 263 'post_type' => 'wp_navigation', 264 'no_found_rows' => true, 265 'order' => 'ASC', 266 'orderby' => 'name', 267 'post_status' => 'publish', 268 'posts_per_page' => 20, // Try the first 20 posts. 269 ); 270 271 $navigation_posts = new WP_Query( $parsed_args ); 272 foreach ( $navigation_posts->posts as $navigation_post ) { 273 if ( has_blocks( $navigation_post ) ) { 274 return $navigation_post; 275 } 276 } 277 278 return null; 159 279 } 160 280 … … 273 393 $inner_blocks = $block->inner_blocks; 274 394 275 // If `__unstableLocation` is defined, create inner blocks from the classic menu assigned to that location.276 if ( empty( $inner_blocks ) && array_key_exists( '__unstableLocation', $attributes ) ) {277 $menu_items = gutenberg_get_menu_items_at_location( $attributes['__unstableLocation'] );278 if ( empty( $menu_items ) ) {279 return '';280 }281 282 $menu_items_by_parent_id = gutenberg_sort_menu_items_by_parent_id( $menu_items );283 $parsed_blocks = gutenberg_parse_blocks_from_menu_items( $menu_items_by_parent_id[0], $menu_items_by_parent_id );284 $inner_blocks = new WP_Block_List( $parsed_blocks, $attributes );285 }286 287 395 // Ensure that blocks saved with the legacy ref attribute name (navigationMenuId) continue to render. 288 396 if ( array_key_exists( 'navigationMenuId', $attributes ) ) { 289 397 $attributes['ref'] = $attributes['navigationMenuId']; 290 398 } 399 400 // If: 401 // - the gutenberg plugin is active 402 // - `__unstableLocation` is defined 403 // - we have menu items at the defined location 404 // - we don't have a relationship to a `wp_navigation` Post (via `ref`). 405 // ...then create inner blocks from the classic menu assigned to that location. 406 if ( 407 defined( 'IS_GUTENBERG_PLUGIN' ) && IS_GUTENBERG_PLUGIN && 408 array_key_exists( '__unstableLocation', $attributes ) && 409 ! array_key_exists( 'ref', $attributes ) && 410 ! empty( block_core_navigation_get_menu_items_at_location( $attributes['__unstableLocation'] ) ) 411 ) { 412 $menu_items = block_core_navigation_get_menu_items_at_location( $attributes['__unstableLocation'] ); 413 if ( empty( $menu_items ) ) { 414 return ''; 415 } 416 417 $menu_items_by_parent_id = block_core_navigation_sort_menu_items_by_parent_id( $menu_items ); 418 $parsed_blocks = block_core_navigation_parse_blocks_from_menu_items( $menu_items_by_parent_id[0], $menu_items_by_parent_id ); 419 $inner_blocks = new WP_Block_List( $parsed_blocks, $attributes ); 420 } 421 291 422 // Load inner blocks from the navigation post. 292 423 if ( array_key_exists( 'ref', $attributes ) ) { -
trunk/src/wp-includes/blocks/page-list.php
r52275 r52324 174 174 } 175 175 176 $title = wp_kses( $page['title'], wp_kses_allowed_html( 'post' ) ); 177 176 178 $markup .= '<li class="wp-block-pages-list__item' . $css_class . '"' . $style_attribute . '>'; 177 179 178 180 if ( isset( $page['children'] ) && $is_navigation_child && $open_submenus_on_click ) { 179 $markup .= '<button class="' . $navigation_child_content_class . ' wp-block-navigation-submenu__toggle" aria-expanded="false">' . wp_kses( 180 $page['title'], 181 wp_kses_allowed_html( 'post' ) 182 ) . '<span class="wp-block-page-list__submenu-icon wp-block-navigation__submenu-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none" role="img" aria-hidden="true" focusable="false"><path d="M1.50002 4L6.00002 8L10.5 4" stroke-width="1.5"></path></svg></span>' . 181 $markup .= '<button aria-label="' . $title . ' ' . __( 'submenu', 'gutenberg' ) . '" class="' . $navigation_child_content_class . ' wp-block-navigation-submenu__toggle" aria-expanded="false">' . $title . '<span class="wp-block-page-list__submenu-icon wp-block-navigation__submenu-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none" role="img" aria-hidden="true" focusable="false"><path d="M1.50002 4L6.00002 8L10.5 4" stroke-width="1.5"></path></svg></span>' . 183 182 '</button>'; 184 183 } else { 185 $markup .= '<a class="wp-block-pages-list__item__link' . $navigation_child_content_class . '" href="' . esc_url( $page['link'] ) . '"' . $aria_current . '>' . wp_kses( 186 $page['title'], 187 wp_kses_allowed_html( 'post' ) 188 ) . '</a>'; 184 $markup .= '<a class="wp-block-pages-list__item__link' . $navigation_child_content_class . '" href="' . esc_url( $page['link'] ) . '"' . $aria_current . '>' . $title . '</a>'; 189 185 } 190 186 191 187 if ( isset( $page['children'] ) ) { 192 188 if ( $is_navigation_child && $show_submenu_icons && ! $open_submenus_on_click ) { 193 $markup .= '<button class="wp-block-navigation__submenu-icon wp-block-navigation-submenu__toggle" aria-expanded="false">';189 $markup .= '<button aria-label="' . $title . ' ' . __( 'submenu', 'gutenberg' ) . '" class="wp-block-navigation__submenu-icon wp-block-navigation-submenu__toggle" aria-expanded="false">'; 194 190 $markup .= '<span class="wp-block-page-list__submenu-icon wp-block-navigation__submenu-icon"><svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12" fill="none" role="img" aria-hidden="true" focusable="false"><path d="M1.50002 4L6.00002 8L10.5 4" stroke-width="1.5"></path></svg></span>'; 195 191 $markup .= '</button>'; -
trunk/src/wp-includes/blocks/query-pagination-next/block.json
r52277 r52324 2 2 "apiVersion": 2, 3 3 "name": "core/query-pagination-next", 4 "title": " Query Pagination Next",4 "title": "Next Page", 5 5 "category": "design", 6 6 "parent": [ "core/query-pagination" ], -
trunk/src/wp-includes/blocks/query-pagination-numbers/block.json
r50929 r52324 2 2 "apiVersion": 2, 3 3 "name": "core/query-pagination-numbers", 4 "title": " Query PaginationNumbers",4 "title": "Page Numbers", 5 5 "category": "design", 6 6 "parent": [ "core/query-pagination" ], -
trunk/src/wp-includes/blocks/query-pagination-previous/block.json
r52277 r52324 2 2 "apiVersion": 2, 3 3 "name": "core/query-pagination-previous", 4 "title": " Query Pagination Previous",4 "title": "Previous Page", 5 5 "category": "design", 6 6 "parent": [ "core/query-pagination" ], -
trunk/src/wp-includes/blocks/query-pagination/block.json
r52042 r52324 2 2 "apiVersion": 2, 3 3 "name": "core/query-pagination", 4 "title": " QueryPagination",4 "title": "Pagination", 5 5 "category": "design", 6 6 "parent": [ "core/query" ], -
trunk/src/wp-includes/blocks/template-part.php
r52275 r52324 51 51 $area = $area_terms[0]->name; 52 52 } 53 /** 54 * Fires when a block template part is loaded from a template post stored in the database. 55 * 56 * @since 5.9.0 57 * 58 * @param string $template_part_id The requested template part namespaced to the theme. 59 * @param array $attributes The block attributes. 60 * @param WP_Post $template_part_post The template part post object. 61 * @param string $content The template part content. 62 */ 63 do_action( 'render_block_core_template_part_post', $template_part_id, $attributes, $template_part_post, $content ); 53 64 } else { 54 65 // Else, if the template part was provided by the active theme, … … 61 72 ? _inject_theme_attribute_in_block_template_content( $content ) 62 73 : ''; 74 } 75 76 if ( '' !== $content && null !== $content ) { 77 /** 78 * Fires when a block template part is loaded from a template part in the theme. 79 * 80 * @since 5.9.0 81 * 82 * @param string $template_part_id The requested template part namespaced to the theme. 83 * @param array $attributes The block attributes. 84 * @param string $template_part_file_path Absolute path to the template path. 85 * @param string $content The template part content. 86 */ 87 do_action( 'render_block_core_template_part_file', $template_part_id, $attributes, $template_part_file_path, $content ); 88 } else { 89 /** 90 * Fires when a requested block template part does not exist in the database nor in the theme. 91 * 92 * @since 5.9.0 93 * 94 * @param string $template_part_id The requested template part namespaced to the theme. 95 * @param array $attributes The block attributes. 96 * @param string $template_part_file_path Absolute path to the not found template path. 97 */ 98 do_action( 'render_block_core_template_part_none', $template_part_id, $attributes, $template_part_file_path ); 63 99 } 64 100 }
Note: See TracChangeset
for help on using the changeset viewer.