Changeset 52364
- Timestamp:
- 12/14/2021 01:55:28 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/package-lock.json
r52324 r52364 1385 1385 }, 1386 1386 "@emotion/babel-plugin": { 1387 "version": "11. 3.0",1388 "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11. 3.0.tgz",1389 "integrity": "sha512- UZKwBV2rADuhRp+ZOGgNWg2eYgbzKzQXfQPtJbu/PLy8onurxlNCLvxMQEvlr1/GudguPI5IU9qIY1+2z1M5bA==",1387 "version": "11.7.1", 1388 "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.7.1.tgz", 1389 "integrity": "sha512-K3/6Y+J/sIAjplf3uIteWLhPuOyuMNnE+iyYnTF/m294vc6IL90kTHp7y8ldZYbpKlP17rpOWDKM9DvTcrOmNQ==", 1390 1390 "requires": { 1391 1391 "@babel/helper-module-imports": "^7.12.13", … … 1400 1400 "find-root": "^1.1.0", 1401 1401 "source-map": "^0.5.7", 1402 "stylis": " ^4.0.3"1402 "stylis": "4.0.13" 1403 1403 }, 1404 1404 "dependencies": { … … 1411 1411 }, 1412 1412 "@emotion/cache": { 1413 "version": "11. 6.0",1414 "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11. 6.0.tgz",1415 "integrity": "sha512- ElbsWY1KMwEowkv42vGo0UPuLgtPYfIs9BxxVrmvsaJVvktknsHYYlx5NQ5g6zLDcOTyamlDc7FkRg2TAcQDKQ==",1413 "version": "11.7.1", 1414 "resolved": "https://registry.npmjs.org/@emotion/cache/-/cache-11.7.1.tgz", 1415 "integrity": "sha512-r65Zy4Iljb8oyjtLeCuBH8Qjiy107dOYC6SJq7g7GV5UCQWMObY4SJDPGFjiiVpPrOJ2hmJOoBiYTC7hwx9E2A==", 1416 1416 "requires": { 1417 1417 "@emotion/memoize": "^0.7.4", … … 1419 1419 "@emotion/utils": "^1.0.0", 1420 1420 "@emotion/weak-memoize": "^0.2.5", 1421 "stylis": " ^4.0.10"1421 "stylis": "4.0.13" 1422 1422 } 1423 1423 }, 1424 1424 "@emotion/css": { 1425 "version": "11. 5.0",1426 "resolved": "https://registry.npmjs.org/@emotion/css/-/css-11. 5.0.tgz",1427 "integrity": "sha512- mqjz/3aqR9rp40M+pvwdKYWxlQK4Nj3cnNjo3Tx6SM14dSsEn7q/4W2/I7PlgG+mb27iITHugXuBIHH/QwUBVQ==",1428 "requires": { 1429 "@emotion/babel-plugin": "^11. 0.0",1430 "@emotion/cache": "^11. 5.0",1425 "version": "11.7.1", 1426 "resolved": "https://registry.npmjs.org/@emotion/css/-/css-11.7.1.tgz", 1427 "integrity": "sha512-RUUgPlMZunlc7SE5A6Hg+VWRzb2cU6O9xlV78KCFgcnl25s7Qz/20oQg71iKudpLqk7xj0vhbJlwcJJMT0BOZg==", 1428 "requires": { 1429 "@emotion/babel-plugin": "^11.7.1", 1430 "@emotion/cache": "^11.7.1", 1431 1431 "@emotion/serialize": "^1.0.0", 1432 1432 "@emotion/sheet": "^1.0.3", … … 1453 1453 }, 1454 1454 "@emotion/react": { 1455 "version": "11.7. 0",1456 "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.7. 0.tgz",1457 "integrity": "sha512- WL93hf9+/2s3cA1JVJlz8+Uy6p6QWukqQFOm2OZO5ki51hfucHMOmbSjiyC3t2Y4RI8XUmBoepoc/24ny/VBbA==",1455 "version": "11.7.1", 1456 "resolved": "https://registry.npmjs.org/@emotion/react/-/react-11.7.1.tgz", 1457 "integrity": "sha512-DV2Xe3yhkF1yT4uAUoJcYL1AmrnO5SVsdfvu+fBuS7IbByDeTVx9+wFmvx9Idzv7/78+9Mgx2Hcmr7Fex3tIyw==", 1458 1458 "requires": { 1459 1459 "@babel/runtime": "^7.13.10", 1460 "@emotion/cache": "^11. 6.0",1460 "@emotion/cache": "^11.7.1", 1461 1461 "@emotion/serialize": "^1.0.2", 1462 1462 "@emotion/sheet": "^1.1.0", … … 3530 3530 }, 3531 3531 "@wordpress/block-directory": { 3532 "version": "3.0.1 4",3533 "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.1 4.tgz",3534 "integrity": "sha512- c9fSb3JHosUJb8HdatmvZg8iI9AtYfVwyaARt/5LT0xVtsOlNP6+WeaJa2ikpkdxpIt+sUG28YAgOWuCnLkALA==",3532 "version": "3.0.17", 3533 "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.17.tgz", 3534 "integrity": "sha512-OpD5qBIO8Nac1BJG2GGb3o5I7hfGpTAEG2LI3cIAq4JgTZI0hJwLTak+ENvb8K3EBgCH4QYXqS6ZaZQaG2VQzw==", 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. 8",3539 "@wordpress/block-editor": "^8.0.11", 3540 3540 "@wordpress/blocks": "^11.1.4", 3541 "@wordpress/components": "^19.1. 2",3541 "@wordpress/components": "^19.1.5", 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 4",3546 "@wordpress/editor": "^12.0.1 1",3545 "@wordpress/edit-post": "^5.0.17", 3546 "@wordpress/editor": "^12.0.14", 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. 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==",3559 "version": "8.0.11", 3560 "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.11.tgz", 3561 "integrity": "sha512-U70TL7m/TQNGw6gKMe+gzAh3bzziCW5JcFrF8hv42c4uZk1BL8P4WGHpP5WNvr5Ae529VpN+rSaDmqE7pY4IyQ==", 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. 2",3570 "@wordpress/components": "^19.1.5", 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 2",3607 "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.1 2.tgz",3608 "integrity": "sha512- Mdlspqpezzq0WSmBd2jTlUXb2/Y4CC+AFyOzY5X47ErWbwZPZnwZtqOmeAjrVwfdQpkqAyMJWjMdj7C71qoRTQ==",3606 "version": "6.0.15", 3607 "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.15.tgz", 3608 "integrity": "sha512-jE2k9YPOE/AfDJHM0cCInQYY8/OA3xwnbCZb0aazTCfm2UlJYzSc8BluPydX8Pyv4915cLAZ614RueViou6P0g==", 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. 8",3615 "@wordpress/block-editor": "^8.0.11", 3616 3616 "@wordpress/blocks": "^11.1.4", 3617 "@wordpress/components": "^19.1. 2",3617 "@wordpress/components": "^19.1.5", 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.1 0",3630 "@wordpress/interface": "^4.1.13", 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 4",3635 "@wordpress/reusable-blocks": "^3.0.17", 3636 3636 "@wordpress/rich-text": "^5.0.6", 3637 "@wordpress/server-side-render": "^3.0.1 2",3637 "@wordpress/server-side-render": "^3.0.15", 3638 3638 "@wordpress/url": "^3.3.1", 3639 3639 "@wordpress/viewport": "^4.0.6", … … 3690 3690 }, 3691 3691 "@wordpress/components": { 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==",3692 "version": "19.1.5", 3693 "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-19.1.5.tgz", 3694 "integrity": "sha512-dZLrGhhjYWhxbDc72kSjgsWUkTksXa5XhCF4hAXXA9zCVMTUksOWFTIozsgQhUDQpHuq1JKWnDvzVo/Gzo24zQ==", 3695 3695 "requires": { 3696 3696 "@babel/runtime": "^7.16.0", … … 3786 3786 }, 3787 3787 "@wordpress/customize-widgets": { 3788 "version": "2.0.1 4",3789 "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.1 4.tgz",3790 "integrity": "sha512- QGHulwm/osqTMnVIcGjCz+hHTNNb1VSucr1zp/pr294H9StOIENer20dr7WSFiUavTRtXdcAWxpbiJkcaeEwYw==",3788 "version": "2.0.17", 3789 "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.17.tgz", 3790 "integrity": "sha512-d0piCMwzS6ShBk72RLn6npVGY0XoNcdk1B8Z8h7X2bOQPNZ5UDQw6jMQurQIIbxnsMR9VeluTP5qBVrhc3kqNQ==", 3791 3791 "requires": { 3792 3792 "@babel/runtime": "^7.16.0", 3793 3793 "@wordpress/a11y": "^3.2.4", 3794 "@wordpress/block-editor": "^8.0. 8",3795 "@wordpress/block-library": "^6.0.1 2",3794 "@wordpress/block-editor": "^8.0.11", 3795 "@wordpress/block-library": "^6.0.15", 3796 3796 "@wordpress/blocks": "^11.1.4", 3797 "@wordpress/components": "^19.1. 2",3797 "@wordpress/components": "^19.1.5", 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.1 0",3806 "@wordpress/interface": "^4.1.13", 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 4",3811 "@wordpress/widgets": "^2.0.17", 3812 3812 "classnames": "^2.3.1", 3813 3813 "lodash": "^4.17.21" … … 3910 3910 }, 3911 3911 "@wordpress/e2e-test-utils": { 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==",3912 "version": "5.4.10", 3913 "resolved": "https://registry.npmjs.org/@wordpress/e2e-test-utils/-/e2e-test-utils-5.4.10.tgz", 3914 "integrity": "sha512-JRp1f7uQ9INpN3t0x4X07P3uBMwaitou9lvYWpDwVsHRcDn21NyFpVYbsX/T63ADIpvcqIhql58RnkVJRUWYxg==", 3915 3915 "dev": true, 3916 3916 "requires": { … … 3938 3938 }, 3939 3939 "@wordpress/edit-post": { 3940 "version": "5.0.1 4",3941 "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.1 4.tgz",3942 "integrity": "sha512- 5groMRI4CT6I6TcZeG2T5GC5j4Uj1dNlk69DF4q+eLJf6bs3EO3A2gIfzr2fuMTsfOO9pyrk+Y3yjEG8fDg3AA==",3940 "version": "5.0.17", 3941 "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.17.tgz", 3942 "integrity": "sha512-nqRMXTWlutu8OQnqLpp052PqZoBvTjv59hT28QvFagOngGb5/iirqaauCe7iLEZDyIQW95k7K3goxGPhdqzDTA==", 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. 8",3948 "@wordpress/block-library": "^6.0.1 2",3947 "@wordpress/block-editor": "^8.0.11", 3948 "@wordpress/block-library": "^6.0.15", 3949 3949 "@wordpress/blocks": "^11.1.4", 3950 "@wordpress/components": "^19.1. 2",3950 "@wordpress/components": "^19.1.5", 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 1",3955 "@wordpress/editor": "^12.0.14", 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.1 0",3960 "@wordpress/interface": "^4.1.13", 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 4",3986 "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.1 4.tgz",3987 "integrity": "sha512- mG3D1rad/HK87HqxvnZE7wiQl9ZC2fqrxiUwfQgyOU9F+2T3s6DCKMquJhDrs0TPCmZMj+y4H/cHN46Yw8hhbw==",3985 "version": "3.0.17", 3986 "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.17.tgz", 3987 "integrity": "sha512-CC3JB4L7Dg33kxSkxpBqsqksn30GiFH5x1dcLMt9BYTAGDGwlmShCQJhZI6ifSD9/F+CA1JviG4fB9UATmgMow==", 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. 8",3993 "@wordpress/block-library": "^6.0.1 2",3992 "@wordpress/block-editor": "^8.0.11", 3993 "@wordpress/block-library": "^6.0.15", 3994 3994 "@wordpress/blocks": "^11.1.4", 3995 "@wordpress/components": "^19.1. 2",3995 "@wordpress/components": "^19.1.5", 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 1",4000 "@wordpress/editor": "^12.0.14", 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.1 0",4006 "@wordpress/interface": "^4.1.13", 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 4",4013 "@wordpress/reusable-blocks": "^3.0.17", 4014 4014 "@wordpress/url": "^3.3.1", 4015 4015 "@wordpress/viewport": "^4.0.6", … … 4017 4017 "downloadjs": "^1.4.7", 4018 4018 "file-saver": "^2.0.2", 4019 "history": "^5.1.0", 4019 4020 "jszip": "^3.2.2", 4020 4021 "lodash": "^4.17.21", … … 4023 4024 }, 4024 4025 "@wordpress/edit-widgets": { 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==",4026 "version": "3.1.12", 4027 "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.12.tgz", 4028 "integrity": "sha512-u/610TaZbZgE6ArZPBqRvkzCbEJFgtlCrzCEnBIHE93oeytmzUyNo/+vyzj3NvJG40WQIrjWJbmBfuU1Ze+m3w==", 4028 4029 "requires": { 4029 4030 "@babel/runtime": "^7.16.0", 4030 4031 "@wordpress/a11y": "^3.2.4", 4031 4032 "@wordpress/api-fetch": "^5.2.6", 4032 "@wordpress/block-editor": "^8.0. 8",4033 "@wordpress/block-library": "^6.0.1 2",4033 "@wordpress/block-editor": "^8.0.11", 4034 "@wordpress/block-library": "^6.0.15", 4034 4035 "@wordpress/blocks": "^11.1.4", 4035 "@wordpress/components": "^19.1. 2",4036 "@wordpress/components": "^19.1.5", 4036 4037 "@wordpress/compose": "^5.0.6", 4037 4038 "@wordpress/core-data": "^4.0.8", … … 4042 4043 "@wordpress/i18n": "^4.2.4", 4043 4044 "@wordpress/icons": "^6.1.1", 4044 "@wordpress/interface": "^4.1.1 0",4045 "@wordpress/interface": "^4.1.13", 4045 4046 "@wordpress/keyboard-shortcuts": "^3.0.6", 4046 4047 "@wordpress/keycodes": "^3.2.4", … … 4048 4049 "@wordpress/notices": "^3.2.7", 4049 4050 "@wordpress/plugins": "^4.0.6", 4050 "@wordpress/reusable-blocks": "^3.0.1 4",4051 "@wordpress/server-side-render": "^3.0.1 2",4051 "@wordpress/reusable-blocks": "^3.0.17", 4052 "@wordpress/server-side-render": "^3.0.15", 4052 4053 "@wordpress/url": "^3.3.1", 4053 "@wordpress/widgets": "^2.0.1 4",4054 "@wordpress/widgets": "^2.0.17", 4054 4055 "classnames": "^2.3.1", 4055 4056 "lodash": "^4.17.21", … … 4059 4060 }, 4060 4061 "@wordpress/editor": { 4061 "version": "12.0.1 1",4062 "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.1 1.tgz",4063 "integrity": "sha512- qZ2WJ7JiycKtkPuSUoRApOVECZC5XuseRhfDl3dUwlaRl0jND83B/kj3NoHfZPNB09621j+bwBT39qH78e953g==",4062 "version": "12.0.14", 4063 "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.14.tgz", 4064 "integrity": "sha512-CO4I5g4Qve5HOeXcHaQT1sOjZ/VJ5C4K49IIzrgl/P5IEkkw5kwIq94Ori8CtPQZQllzSBWJGpO3QoKhQoVSsg==", 4064 4065 "requires": { 4065 4066 "@babel/runtime": "^7.16.0", … … 4068 4069 "@wordpress/autop": "^3.2.3", 4069 4070 "@wordpress/blob": "^3.2.2", 4070 "@wordpress/block-editor": "^8.0. 8",4071 "@wordpress/block-editor": "^8.0.11", 4071 4072 "@wordpress/blocks": "^11.1.4", 4072 "@wordpress/components": "^19.1. 2",4073 "@wordpress/components": "^19.1.5", 4073 4074 "@wordpress/compose": "^5.0.6", 4074 4075 "@wordpress/core-data": "^4.0.8", … … 4087 4088 "@wordpress/media-utils": "^3.0.5", 4088 4089 "@wordpress/notices": "^3.2.7", 4089 "@wordpress/reusable-blocks": "^3.0.1 4",4090 "@wordpress/reusable-blocks": "^3.0.17", 4090 4091 "@wordpress/rich-text": "^5.0.6", 4091 "@wordpress/server-side-render": "^3.0.1 2",4092 "@wordpress/server-side-render": "^3.0.15", 4092 4093 "@wordpress/url": "^3.3.1", 4093 4094 "@wordpress/wordcount": "^3.2.3", … … 4176 4177 }, 4177 4178 "@wordpress/format-library": { 4178 "version": "3.0.1 4",4179 "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.1 4.tgz",4180 "integrity": "sha512- iemQKg711CrFmpJvPh1isceiorAGPkKXouPt+UF7Ic8G6YggyUf8hnyGuPIWZM7wTlbh5PD2XeL90+pChJVfRQ==",4179 "version": "3.0.17", 4180 "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.17.tgz", 4181 "integrity": "sha512-QAA0FwJJGW4tj1D/52f28aKtd95yV0md6gVLgoBIgGW+LZV52VYMPMycfxpP/dDBMOzc+8GDQhcutvbpe8weaA==", 4181 4182 "requires": { 4182 4183 "@babel/runtime": "^7.16.0", 4183 4184 "@wordpress/a11y": "^3.2.4", 4184 "@wordpress/block-editor": "^8.0. 8",4185 "@wordpress/components": "^19.1. 2",4185 "@wordpress/block-editor": "^8.0.11", 4186 "@wordpress/components": "^19.1.5", 4186 4187 "@wordpress/compose": "^5.0.6", 4187 4188 "@wordpress/data": "^6.1.4", … … 4238 4239 }, 4239 4240 "@wordpress/interface": { 4240 "version": "4.1.1 0",4241 "resolved": "https://registry.npmjs.org/@wordpress/interface/-/interface-4.1.1 0.tgz",4242 "integrity": "sha512- 3nUDqo69m0EBPpXW83Zv4MjTDRmmeoo2cYWNi2tUEi117Ls7Nuw+zXMdHCdYk1QcqVfVOmRg77tZlPDapDZBqQ==",4241 "version": "4.1.13", 4242 "resolved": "https://registry.npmjs.org/@wordpress/interface/-/interface-4.1.13.tgz", 4243 "integrity": "sha512-XWTJtSlqTOTDU19Pq+TMRlYOXRSn2rHRyonp0Il8zSIj6UlMO1FvEXhgGbZcwLfS4bGAqTq7ji5YMxfbTD4QiA==", 4243 4244 "requires": { 4244 4245 "@babel/runtime": "^7.16.0", 4245 4246 "@wordpress/a11y": "^3.2.4", 4246 "@wordpress/components": "^19.1. 2",4247 "@wordpress/components": "^19.1.5", 4247 4248 "@wordpress/compose": "^5.0.6", 4248 4249 "@wordpress/data": "^6.1.4", … … 4342 4343 }, 4343 4344 "@wordpress/list-reusable-blocks": { 4344 "version": "3.0.1 2",4345 "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-3.0.1 2.tgz",4346 "integrity": "sha512- slGIu0ABCws87Ch8urInCpg/YI/B7Ap2U8AJ5FSM5cQ6ex+JCbMexABOwiuIHL065hEaw/wI/LNrgP75MRjT8A==",4345 "version": "3.0.15", 4346 "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-3.0.15.tgz", 4347 "integrity": "sha512-QQ3wH3SAbzQgFbvEzU6gpX1Dc/PzQTwqChVLsXzB7J7538Ulcd+mOvyK9pLn8LCvIeZDBCW5Opp7EPmbWwtN8A==", 4347 4348 "requires": { 4348 4349 "@babel/runtime": "^7.16.0", 4349 4350 "@wordpress/api-fetch": "^5.2.6", 4350 "@wordpress/components": "^19.1. 2",4351 "@wordpress/components": "^19.1.5", 4351 4352 "@wordpress/compose": "^5.0.6", 4352 4353 "@wordpress/element": "^4.0.4", … … 4386 4387 }, 4387 4388 "@wordpress/nux": { 4388 "version": "5.0.1 2",4389 "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-5.0.1 2.tgz",4390 "integrity": "sha512- qMWUHyACqTMI6vGXQA20nUGlagaQ/GOGuk1al6acMrHMbk3b5LCgrA6nYPuHDXfgheZ5dZ85p8r2onos1bUkig==",4389 "version": "5.0.15", 4390 "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-5.0.15.tgz", 4391 "integrity": "sha512-dfpR300xRtj2SgNe2gYp/4KS2ETdixdoIx2B+aap6GdyKW01fF9dmRF8+/bmt3rJs6b3cGE8BaqnS2TEwPH5OA==", 4391 4392 "requires": { 4392 4393 "@babel/runtime": "^7.16.0", 4393 "@wordpress/components": "^19.1. 2",4394 "@wordpress/components": "^19.1.5", 4394 4395 "@wordpress/compose": "^5.0.6", 4395 4396 "@wordpress/data": "^6.1.4", … … 4516 4517 }, 4517 4518 "@wordpress/reusable-blocks": { 4518 "version": "3.0.1 4",4519 "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.1 4.tgz",4520 "integrity": "sha512- jR4byu0is1n4FX53wVxuTR60bTU3wYv+yS+nvUPqgo7Ngh/8m3HP6PeKFP35/w3L3zYXM309s9tox7mUsycadg==",4521 "requires": { 4522 "@wordpress/block-editor": "^8.0. 8",4519 "version": "3.0.17", 4520 "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.17.tgz", 4521 "integrity": "sha512-V12Kr7jzkEbaatSfPdS9u7HSf7KeFe6zO218a51eMqmStHzb9HljO0FKSFLCINq1hjqDiwceeC+S9gfOgIgslg==", 4522 "requires": { 4523 "@wordpress/block-editor": "^8.0.11", 4523 4524 "@wordpress/blocks": "^11.1.4", 4524 "@wordpress/components": "^19.1. 2",4525 "@wordpress/components": "^19.1.5", 4525 4526 "@wordpress/compose": "^5.0.6", 4526 4527 "@wordpress/core-data": "^4.0.8", … … 5488 5489 }, 5489 5490 "@wordpress/server-side-render": { 5490 "version": "3.0.1 2",5491 "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-3.0.1 2.tgz",5492 "integrity": "sha512- ctiH9X/8Yn/Cp7Yvpcq7ee/kG6FDVhgLbCtNLFN+4estKfcKXfdMuzEsV0Lhi3z8SF9pRewwvas0cdIo+maK7g==",5491 "version": "3.0.15", 5492 "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-3.0.15.tgz", 5493 "integrity": "sha512-mrcemEw1eG0i8MGy912rHhi1/FqzneCKv6D/E8QmRX7m2WUz/M5g7XNksRIor44eNLg6dTjQkAM4AzuwAq9C9Q==", 5493 5494 "requires": { 5494 5495 "@babel/runtime": "^7.16.0", 5495 5496 "@wordpress/api-fetch": "^5.2.6", 5496 5497 "@wordpress/blocks": "^11.1.4", 5497 "@wordpress/components": "^19.1. 2",5498 "@wordpress/components": "^19.1.5", 5498 5499 "@wordpress/compose": "^5.0.6", 5499 5500 "@wordpress/data": "^6.1.4", … … 5561 5562 }, 5562 5563 "@wordpress/widgets": { 5563 "version": "2.0.1 4",5564 "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.1 4.tgz",5565 "integrity": "sha512- fMAWwEcK79esTIttuQkCFTHhPsrWbCQmletT8IjpUmT34RXbwGreBXnief8n9H4BC8eTe1JAE/kI3AhtdYfrRg==",5564 "version": "2.0.17", 5565 "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.17.tgz", 5566 "integrity": "sha512-jKUIgcu6dlOSk09HEC9p+vnn5J5vc9K0y1NuWumNopqC3/iy9+EwKgpTWkfvytl+pWnDA9Ha+IBa6a99sgcHfw==", 5566 5567 "requires": { 5567 5568 "@babel/runtime": "^7.16.0", 5568 5569 "@wordpress/api-fetch": "^5.2.6", 5569 "@wordpress/block-editor": "^8.0. 8",5570 "@wordpress/block-editor": "^8.0.11", 5570 5571 "@wordpress/blocks": "^11.1.4", 5571 "@wordpress/components": "^19.1. 2",5572 "@wordpress/components": "^19.1.5", 5572 5573 "@wordpress/compose": "^5.0.6", 5573 5574 "@wordpress/core-data": "^4.0.8", … … 6250 6251 }, 6251 6252 "object-inspect": { 6252 "version": "1.11. 0",6253 "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11. 0.tgz",6254 "integrity": "sha512- jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg=="6253 "version": "1.11.1", 6254 "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.1.tgz", 6255 "integrity": "sha512-If7BjFlpkzzBeV1cqgT3OSWT3azyoxDGajR+iGnFBfVV2EWyDyWaZZW2ERDjUaY2QM8i5jI3Sj7mhsM4DDAqWA==" 6255 6256 }, 6256 6257 "string.prototype.trimend": { … … 13987 13988 "resolved": "https://registry.npmjs.org/highlight-words-core/-/highlight-words-core-1.2.2.tgz", 13988 13989 "integrity": "sha512-BXUKIkUuh6cmmxzi5OIbUJxrG8OAk2MqoL1DtO3Wo9D2faJg2ph5ntyuQeLqaHJmzER6H5tllCDA9ZnNe9BVGg==" 13990 }, 13991 "history": { 13992 "version": "5.1.0", 13993 "resolved": "https://registry.npmjs.org/history/-/history-5.1.0.tgz", 13994 "integrity": "sha512-zPuQgPacm2vH2xdORvGGz1wQMuHSIB56yNAy5FnLuwOwgSYyPKptJtcMm6Ev+hRGeS+GzhbmRacHzvlESbFwDg==", 13995 "requires": { 13996 "@babel/runtime": "^7.7.6" 13997 } 13989 13998 }, 13990 13999 "hmac-drbg": { … … 21825 21834 }, 21826 21835 "object-inspect": { 21827 "version": "1.11. 0",21828 "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11. 0.tgz",21829 "integrity": "sha512- jp7ikS6Sd3GxQfZJPyH3cjcbJF6GZPClgdV+EFygjFLQ5FmW/dRUnTd9PQ9k0JhoNDabWFbpF1yCdSWCC6gexg=="21836 "version": "1.11.1", 21837 "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.11.1.tgz", 21838 "integrity": "sha512-If7BjFlpkzzBeV1cqgT3OSWT3azyoxDGajR+iGnFBfVV2EWyDyWaZZW2ERDjUaY2QM8i5jI3Sj7mhsM4DDAqWA==" 21830 21839 }, 21831 21840 "object.values": { … … 24865 24874 }, 24866 24875 "stylis": { 24867 "version": "4.0.1 0",24868 "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.1 0.tgz",24869 "integrity": "sha512- m3k+dk7QeJw660eIKRRn3xPF6uuvHs/FFzjX3HQ5ove0qYsiygoAhwn5a3IYKaZPo5LrYD0rfVmtv1gNY1uYwg=="24876 "version": "4.0.13", 24877 "resolved": "https://registry.npmjs.org/stylis/-/stylis-4.0.13.tgz", 24878 "integrity": "sha512-xGPXiFVl4YED9Jh7Euv2V220mriG9u4B2TA6Ybjc1catrstKD2PpIdU3U0RKpkVBC2EhmL/F0sPCr9vrFTNRag==" 24870 24879 }, 24871 24880 "sugarss": { -
trunk/package.json
r52324 r52364 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. 9",30 "@wordpress/e2e-test-utils": "5.4.10", 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 4",86 "@wordpress/block-editor": "8.0. 8",87 "@wordpress/block-library": "6.0.1 2",85 "@wordpress/block-directory": "3.0.17", 86 "@wordpress/block-editor": "8.0.11", 87 "@wordpress/block-library": "6.0.15", 88 88 "@wordpress/block-serialization-default-parser": "4.2.3", 89 89 "@wordpress/blocks": "11.1.4", 90 "@wordpress/components": "19.1. 2",90 "@wordpress/components": "19.1.5", 91 91 "@wordpress/compose": "5.0.6", 92 92 "@wordpress/core-data": "4.0.8", 93 "@wordpress/customize-widgets": "2.0.1 4",93 "@wordpress/customize-widgets": "2.0.17", 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 4",101 "@wordpress/edit-site": "3.0.1 4",102 "@wordpress/edit-widgets": "3.1. 9",103 "@wordpress/editor": "12.0.1 1",100 "@wordpress/edit-post": "5.0.17", 101 "@wordpress/edit-site": "3.0.17", 102 "@wordpress/edit-widgets": "3.1.12", 103 "@wordpress/editor": "12.0.14", 104 104 "@wordpress/element": "4.0.4", 105 105 "@wordpress/escape-html": "2.2.3", 106 "@wordpress/format-library": "3.0.1 4",106 "@wordpress/format-library": "3.0.17", 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.1 0",111 "@wordpress/interface": "4.1.13", 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 2",115 "@wordpress/list-reusable-blocks": "3.0.15", 116 116 "@wordpress/media-utils": "3.0.5", 117 117 "@wordpress/notices": "3.2.7", 118 "@wordpress/nux": "5.0.1 2",118 "@wordpress/nux": "5.0.15", 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 4",123 "@wordpress/reusable-blocks": "3.0.17", 124 124 "@wordpress/rich-text": "5.0.6", 125 "@wordpress/server-side-render": "3.0.1 2",125 "@wordpress/server-side-render": "3.0.15", 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 4",131 "@wordpress/widgets": "2.0.17", 132 132 "@wordpress/wordcount": "3.2.3", 133 133 "backbone": "1.4.0", -
trunk/src/wp-admin/site-editor.php
r52336 r52364 24 24 } 25 25 26 // Used in the HTML title tag. 27 $title = __( 'Editor (beta)' ); 26 28 $parent_file = 'themes.php'; 27 29 … … 57 59 58 60 if ( isset( $_GET['postType'] ) && ! isset( $_GET['postId'] ) ) { 59 60 61 $post_type = get_post_type_object( $_GET['postType'] ); 61 62 62 if ( ! $post_type ) { 63 63 wp_die( __( 'Invalid post type.' ) ); 64 64 } 65 } 65 66 66 // Used in the HTML title tag. 67 $title = $post_type->labels->name; 67 $active_global_styles_id = WP_Theme_JSON_Resolver::get_user_custom_post_type_id(); 68 $active_theme = wp_get_theme()->get_stylesheet(); 69 $preload_paths = array( 70 array( '/wp/v2/media', 'OPTIONS' ), 71 '/', 72 '/wp/v2/types?context=edit', 73 '/wp/v2/types/wp_template?context=edit', 74 '/wp/v2/types/wp_template-part?context=edit', 75 '/wp/v2/taxonomies?context=edit', 76 '/wp/v2/pages?context=edit', 77 '/wp/v2/categories?context=edit', 78 '/wp/v2/posts?context=edit', 79 '/wp/v2/tags?context=edit', 80 '/wp/v2/templates?context=edit&per_page=-1', 81 '/wp/v2/template-parts?context=edit&per_page=-1', 82 '/wp/v2/settings', 83 '/wp/v2/themes?context=edit&status=active', 84 '/wp/v2/global-styles/' . $active_global_styles_id . '?context=edit', 85 '/wp/v2/global-styles/' . $active_global_styles_id, 86 '/wp/v2/global-styles/themes/' . $active_theme, 87 ); 68 88 69 $preload_paths = array( 70 '/', 71 '/wp/v2/types/' . $post_type->name . '?context=edit', 72 '/wp/v2/types?context=edit', 73 add_query_arg( 'context', 'edit', rest_get_route_for_post_type_items( $post_type->name ) ), 74 ); 89 block_editor_rest_api_preload( $preload_paths, $block_editor_context ); 75 90 76 block_editor_rest_api_preload( $preload_paths, $block_editor_context ); 77 78 wp_add_inline_script( 79 'wp-edit-site', 80 sprintf( 81 'wp.domReady( function() { 82 wp.editSite.initializeList( "site-editor", "%s", %s ); 83 } );', 84 $post_type->name, 85 wp_json_encode( $editor_settings ) 86 ) 87 ); 88 89 } else { 90 91 // Used in the HTML title tag. 92 $title = __( 'Editor (beta)' ); 93 94 $active_global_styles_id = WP_Theme_JSON_Resolver::get_user_custom_post_type_id(); 95 $active_theme = wp_get_theme()->get_stylesheet(); 96 $preload_paths = array( 97 array( rest_get_route_for_post_type_items( 'attachment' ), 'OPTIONS' ), 98 '/', 99 '/wp/v2/types?context=edit', 100 '/wp/v2/taxonomies?context=edit', 101 add_query_arg( 'context', 'edit', rest_get_route_for_post_type_items( 'page' ) ), 102 add_query_arg( 'context', 'edit', rest_get_route_for_post_type_items( 'post' ) ), 103 add_query_arg( 'context', 'edit', rest_get_route_for_taxonomy_items( 'category' ) ), 104 add_query_arg( 'context', 'edit', rest_get_route_for_taxonomy_items( 'post_tag' ) ), 105 add_query_arg( 'context', 'edit', rest_get_route_for_post_type_items( 'wp_template' ) ), 106 add_query_arg( 'context', 'edit', rest_get_route_for_post_type_items( 'wp_template_part' ) ), 107 '/wp/v2/settings', 108 '/wp/v2/themes?context=edit&status=active', 109 '/wp/v2/global-styles/' . $active_global_styles_id . '?context=edit', 110 '/wp/v2/global-styles/' . $active_global_styles_id, 111 '/wp/v2/themes/' . $active_theme . '/global-styles', 112 ); 113 114 block_editor_rest_api_preload( $preload_paths, $block_editor_context ); 115 116 wp_add_inline_script( 117 'wp-edit-site', 118 sprintf( 119 'wp.domReady( function() { 120 wp.editSite.initializeEditor( "site-editor", %s ); 121 } );', 122 wp_json_encode( $editor_settings ) 123 ) 124 ); 125 126 } 91 wp_add_inline_script( 92 'wp-edit-site', 93 sprintf( 94 'wp.domReady( function() { 95 wp.editSite.initializeEditor( "site-editor", %s ); 96 } );', 97 wp_json_encode( $editor_settings ) 98 ) 99 ); 127 100 128 101 // Preload server-registered block schemas. -
trunk/src/wp-includes/assets/script-loader-packages.php
r52324 r52364 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'));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' => '5447a59462b2c774beaa2c2676852624'), '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' => '063fd27a71a60c93f2b842fc805b252e'), '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' => 'bbedf234d8932e76baccbf974505e69c'), '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' => 'b3c59f02b8cc936c81d89d46c2d09e1c'), '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' => '638b31b2e32bdc443afa62d9aa251d8a'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'fee9af3abfeb76b497fd074608dca647'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '9ddfa7e364f034c04939567c6c6079d5'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-element', 'wp-keycodes', 'wp-polyfill'), 'version' => '78a4020b31c5ae28f7e97405b83d5027'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => '57a448b50bb24e264205e448e0b19ea2'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '411699046747b4d90f82c5b2547ff43c'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'ab2c70450229febbbb0a87e88074db07'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b9e78ffafe025c455d9ccf2c1a78d1de'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'feee5fbb3df2a20c6dc4653f33d12e13'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => '76d0e1ad216a273ab1359db9aaab1809'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'ec5aecfc61b399ed5c8fa2de6b175942'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'f4483156a9bae90512f894dbd867b929'), 'reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-element', 'wp-i18n', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '436b8be211e4f30893de92b1faad8984'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-i18n', 'wp-keycodes', 'wp-polyfill'), 'version' => 'c491067ec9fe71eeaa2c74e4ee78f956'), 'server-side-render.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '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-editor.php
r52349 r52364 312 312 'css' => 'variables', 313 313 '__unstableType' => 'presets', 314 '__experimentalNoWrapper' => true,315 314 ), 316 315 array( -
trunk/src/wp-includes/block-template-utils.php
r52340 r52364 42 42 $theme_dir = "$root_dir/$theme_name"; 43 43 44 if ( is_readable( $theme_dir . '/block-templates/index.html' ) ) {44 if ( file_exists( $theme_dir . '/block-templates' ) || file_exists( $theme_dir . '/block-template-parts' ) ) { 45 45 return array( 46 46 'wp_template' => 'block-templates', -
trunk/src/wp-includes/blocks/index.php
r52272 r52364 12 12 require ABSPATH . WPINC . '/blocks/categories.php'; 13 13 require ABSPATH . WPINC . '/blocks/file.php'; 14 require ABSPATH . WPINC . '/blocks/gallery.php'; 15 require ABSPATH . WPINC . '/blocks/image.php'; 14 16 require ABSPATH . WPINC . '/blocks/latest-comments.php'; 15 17 require ABSPATH . WPINC . '/blocks/latest-posts.php'; … … 65 67 'embed', 66 68 'freeform', 67 'gallery',68 69 'group', 69 70 'heading', 70 71 'html', 71 'image',72 72 'list', 73 73 'media-text', -
trunk/src/wp-includes/blocks/navigation-submenu.php
r52324 r52364 189 189 } 190 190 191 $aria_label = sprintf( 192 /* translators: Accessibility text. %s: Parent page title. */ 193 __( '%s submenu' ), 194 $label 195 ); 196 191 197 $html = '<li ' . $wrapper_attributes . '>'; 192 198 … … 227 233 // The submenu icon is rendered in a button here 228 234 // so that there's a clickable elment to open the submenu. 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>';235 $html .= '<button aria-label="' . $aria_label . '" class="wp-block-navigation__submenu-icon wp-block-navigation-submenu__toggle" aria-expanded="false">' . block_core_navigation_submenu_render_submenu_icon() . '</button>'; 230 236 } 231 237 } else { 232 238 // If menus open on click, we render the parent as a button. 233 $html .= '<button aria-label="' . $ label . ' ' . __( 'submenu', 'gutenberg' ). '" class="wp-block-navigation-item__content wp-block-navigation-submenu__toggle" aria-expanded="false">';239 $html .= '<button aria-label="' . $aria_label . '" class="wp-block-navigation-item__content wp-block-navigation-submenu__toggle" aria-expanded="false">'; 234 240 235 241 // Wrap title with span to isolate it from submenu icon. -
trunk/src/wp-includes/blocks/navigation/view.asset.php
r52275 r52364 1 <?php return array('dependencies' => array(), 'version' => ' 133b84f32422a9ad94c4533f85fa4e87');1 <?php return array('dependencies' => array(), 'version' => '34d9f07c7910e83c264c6c4406619c5e'); -
trunk/src/wp-includes/blocks/navigation/view.min.asset.php
r52275 r52364 1 <?php return array('dependencies' => array(), 'version' => ' f3cbbfbf9b9c434c39d6f77037d5267c');1 <?php return array('dependencies' => array(), 'version' => 'd5ab04a497b4f1465f1f0060b6b71ae3'); -
trunk/src/wp-includes/blocks/page-list.php
r52324 r52364 174 174 } 175 175 176 $title = wp_kses( $page['title'], wp_kses_allowed_html( 'post' ) ); 176 $title = wp_kses( $page['title'], wp_kses_allowed_html( 'post' ) ); 177 $aria_label = sprintf( 178 /* translators: Accessibility text. %s: Parent page title. */ 179 __( '%s submenu' ), 180 $title 181 ); 177 182 178 183 $markup .= '<li class="wp-block-pages-list__item' . $css_class . '"' . $style_attribute . '>'; 179 184 180 185 if ( isset( $page['children'] ) && $is_navigation_child && $open_submenus_on_click ) { 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>' .186 $markup .= '<button aria-label="' . $aria_label . '" 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>' . 182 187 '</button>'; 183 188 } else { … … 187 192 if ( isset( $page['children'] ) ) { 188 193 if ( $is_navigation_child && $show_submenu_icons && ! $open_submenus_on_click ) { 189 $markup .= '<button aria-label="' . $ title . ' ' . __( 'submenu', 'gutenberg' ). '" class="wp-block-navigation__submenu-icon wp-block-navigation-submenu__toggle" aria-expanded="false">';194 $markup .= '<button aria-label="' . $aria_label . '" class="wp-block-navigation__submenu-icon wp-block-navigation-submenu__toggle" aria-expanded="false">'; 190 195 $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>'; 191 196 $markup .= '</button>'; -
trunk/src/wp-includes/blocks/post-comments.php
r52069 r52364 67 67 } 68 68 add_action( 'init', 'register_block_core_post_comments' ); 69 70 /** 71 * Use the button block classes for the form-submit button. 72 * 73 * @param array $fields The default comment form arguments. 74 * 75 * @return array Returns the modified fields. 76 */ 77 function post_comments_block_form_defaults( $fields ) { 78 if ( wp_is_block_theme() ) { 79 $fields['submit_button'] = '<input name="%1$s" type="submit" id="%2$s" class="%3$s wp-block-button__link" value="%4$s" />'; 80 $fields['submit_field'] = '<p class="form-submit wp-block-button">%1$s %2$s</p>'; 81 } 82 83 return $fields; 84 } 85 add_filter( 'comment_form_defaults', 'post_comments_block_form_defaults' ); -
trunk/src/wp-includes/blocks/post-comments/block.json
r52069 r52364 31 31 } 32 32 }, 33 "style": "wp-block-post-comments" 33 "style": [ 34 "wp-block-post-comments", 35 "wp-block-buttons", 36 "wp-block-button" 37 ] 34 38 } -
trunk/src/wp-includes/blocks/template-part.php
r52324 r52364 65 65 // Else, if the template part was provided by the active theme, 66 66 // render the corresponding file content. 67 $theme_folders = get_block_theme_folders(); 68 $template_part_file_path = get_theme_file_path( '/' . $theme_folders['wp_template_part'] . '/' . $attributes['slug'] . '.html' ); 67 $parent_theme_folders = get_block_theme_folders( get_template() ); 68 $child_theme_folders = get_block_theme_folders( get_stylesheet() ); 69 $child_theme_part_file_path = get_theme_file_path( '/' . $child_theme_folders['wp_template_part'] . '/' . $attributes['slug'] . '.html' ); 70 $parent_theme_part_file_path = get_theme_file_path( '/' . $parent_theme_folders['wp_template_part'] . '/' . $attributes['slug'] . '.html' ); 71 $template_part_file_path = 0 === validate_file( $attributes['slug'] ) && file_exists( $child_theme_part_file_path ) ? $child_theme_part_file_path : $parent_theme_part_file_path; 69 72 if ( 0 === validate_file( $attributes['slug'] ) && file_exists( $template_part_file_path ) ) { 70 73 $content = file_get_contents( $template_part_file_path ); -
trunk/src/wp-includes/class-wp-theme-json.php
r52329 r52364 108 108 array( 109 109 'path' => array( 'color', 'palette' ), 110 'override' => false,110 'override' => array( 'color', 'defaultPalette' ), 111 111 'value_key' => 'color', 112 112 'css_vars' => '--wp--preset--color--$slug', … … 120 120 array( 121 121 'path' => array( 'color', 'gradients' ), 122 'override' => false,122 'override' => array( 'color', 'defaultGradients' ), 123 123 'value_key' => 'gradient', 124 124 'css_vars' => '--wp--preset--gradient--$slug', … … 398 398 $new_theme_json = $theme_json; 399 399 400 if ( isset( $new_theme_json['settings']['appearanceTools'] ) ) { 400 if ( 401 isset( $new_theme_json['settings']['appearanceTools'] ) && 402 true === $new_theme_json['settings']['appearanceTools'] 403 ) { 401 404 self::do_opt_in_into_settings( $new_theme_json['settings'] ); 402 405 } … … 404 407 if ( isset( $new_theme_json['settings']['blocks'] ) && is_array( $new_theme_json['settings']['blocks'] ) ) { 405 408 foreach ( $new_theme_json['settings']['blocks'] as &$block ) { 406 if ( isset( $block['appearanceTools'] ) ) {409 if ( isset( $block['appearanceTools'] ) && ( true === $block['appearanceTools'] ) ) { 407 410 self::do_opt_in_into_settings( $block ); 408 411 } … … 434 437 435 438 foreach ( $to_opt_in as $path ) { 436 if ( null === _wp_array_get( $context, $path, null ) ) { 439 // Use "unset prop" as a marker instead of "null" because 440 // "null" can be a valid value for some props (e.g. blockGap). 441 if ( 'unset prop' === _wp_array_get( $context, $path, 'unset prop' ) ) { 437 442 _wp_array_set( $context, $path, true ); 438 443 } … … 1503 1508 */ 1504 1509 $nodes = self::get_setting_nodes( $incoming_data ); 1505 $slugs_global = self::get_ slugs_not_to_override( $this->theme_json);1510 $slugs_global = self::get_default_slugs( $this->theme_json, array( 'settings' ) ); 1506 1511 foreach ( $nodes as $node ) { 1507 $slugs_node = self::get_ slugs_not_to_override( $this->theme_json, $node['path'] );1512 $slugs_node = self::get_default_slugs( $this->theme_json, $node['path'] ); 1508 1513 $slugs = array_merge_recursive( $slugs_global, $slugs_node ); 1509 1514 … … 1517 1522 // Replace the presets. 1518 1523 foreach ( self::PRESETS_METADATA as $preset ) { 1524 $override_preset = self::should_override_preset( $this->theme_json, $node['path'], $preset['override'] ); 1525 1519 1526 foreach ( self::VALID_ORIGINS as $origin ) { 1520 1527 $path = array_merge( $node['path'], $preset['path'], array( $origin ) ); … … 1526 1533 if ( 1527 1534 ( 'theme' !== $origin ) || 1528 ( 'theme' === $origin && $ preset['override'])1535 ( 'theme' === $origin && $override_preset ) 1529 1536 ) { 1530 1537 _wp_array_set( $this->theme_json, $path, $content ); 1531 } 1532 1533 if ( 'theme' === $origin && ! $preset['override'] ) { 1534 $content = self::filter_slugs( $content, $preset['path'], $slugs ); 1538 } else { 1539 $slugs_for_preset = _wp_array_get( $slugs, $preset['path'], array() ); 1540 $content = self::filter_slugs( $content, $slugs_for_preset ); 1535 1541 _wp_array_set( $this->theme_json, $path, $content ); 1536 1542 } … … 1541 1547 1542 1548 /** 1543 * Returns the slugs for all the presets that cannot be overriden 1544 * in the given path. It returns an associative array 1549 * Returns whether a presets should be overriden or not. 1550 * 1551 * @since 5.9.0 1552 * 1553 * @param array $theme_json The theme.json like structure to inspect. 1554 * @param array $path Path to inspect. 1555 * @param bool|array $override Data to compute whether to override the preset. 1556 * @return boolean 1557 */ 1558 private static function should_override_preset( $theme_json, $path, $override ) { 1559 if ( is_bool( $override ) ) { 1560 return $override; 1561 } 1562 1563 /* 1564 * The relationship between whether to override the defaults 1565 * and whether the defaults are enabled is inverse: 1566 * 1567 * - If defaults are enabled => theme presets should not be overriden 1568 * - If defaults are disabled => theme presets should be overriden 1569 * 1570 * For example, a theme sets defaultPalette to false, 1571 * making the default palette hidden from the user. 1572 * In that case, we want all the theme presets to be present, 1573 * so they should override the defaults. 1574 */ 1575 if ( is_array( $override ) ) { 1576 $value = _wp_array_get( $theme_json, array_merge( $path, $override ) ); 1577 if ( isset( $value ) ) { 1578 return ! $value; 1579 } 1580 1581 // Search the top-level key if none was found for this node. 1582 $value = _wp_array_get( $theme_json, array_merge( array( 'settings' ), $override ) ); 1583 if ( isset( $value ) ) { 1584 return ! $value; 1585 } 1586 1587 return true; 1588 } 1589 } 1590 1591 /** 1592 * Returns the default slugs for all the presets in an associative array 1545 1593 * whose keys are the preset paths and the leafs is the list of slugs. 1546 1594 * 1547 1595 * For example: 1548 1596 * 1549 * array(1597 * array( 1550 1598 * 'color' => array( 1551 1599 * 'palette' => array( 'slug-1', 'slug-2' ), … … 1556 1604 * @since 5.9.0 1557 1605 * 1558 * @param array $data A theme.json like structure to inspect.1559 * @param array $node_path The path to inspect. Default `array( 'settings' )`.1560 * @return array An associative array containing the slugs for the given path.1561 */ 1562 private static function get_ slugs_not_to_override( $data, $node_path = array( 'settings' )) {1606 * @param array $data A theme.json like structure. 1607 * @param array $node_path The path to inspect. It's 'settings' by default. 1608 * @return array 1609 */ 1610 private static function get_default_slugs( $data, $node_path ) { 1563 1611 $slugs = array(); 1612 1564 1613 foreach ( self::PRESETS_METADATA as $metadata ) { 1565 if ( $metadata['override'] ) { 1566 continue; 1567 } 1568 1569 $slugs_for_preset = array(); 1570 $path = array_merge( $node_path, $metadata['path'], array( 'default' ) ); 1571 $preset = _wp_array_get( $data, $path, null ); 1614 $path = array_merge( $node_path, $metadata['path'], array( 'default' ) ); 1615 $preset = _wp_array_get( $data, $path, null ); 1572 1616 if ( ! isset( $preset ) ) { 1573 1617 continue; 1574 1618 } 1575 1619 1620 $slugs_for_preset = array(); 1576 1621 $slugs_for_preset = array_map( 1577 function( $value ) {1622 static function( $value ) { 1578 1623 return isset( $value['slug'] ) ? $value['slug'] : null; 1579 1624 }, … … 1592 1637 * 1593 1638 * @param array $node The node with the presets to validate. 1594 * @param array $path The path to the preset type to inspect.1595 1639 * @param array $slugs The slugs that should not be overriden. 1596 1640 * @return array The new node. 1597 1641 */ 1598 private static function filter_slugs( $node, $path, $slugs ) { 1599 $slugs_for_preset = _wp_array_get( $slugs, $path, array() ); 1600 if ( empty( $slugs_for_preset ) ) { 1642 private static function filter_slugs( $node, $slugs ) { 1643 if ( empty( $slugs ) ) { 1601 1644 return $node; 1602 1645 } … … 1604 1647 $new_node = array(); 1605 1648 foreach ( $node as $value ) { 1606 if ( isset( $value['slug'] ) && ! in_array( $value['slug'], $slugs _for_preset, true ) ) {1649 if ( isset( $value['slug'] ) && ! in_array( $value['slug'], $slugs, true ) ) { 1607 1650 $new_node[] = $value; 1608 1651 } -
trunk/src/wp-includes/default-filters.php
r52352 r52364 564 564 add_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_block_directory_assets' ); 565 565 add_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_format_library_assets' ); 566 add_action( 'enqueue_block_editor_assets', 'wp_enqueue_global_styles_css_custom_properties' ); 566 567 add_action( 'admin_print_scripts-index.php', 'wp_localize_community_events' ); 567 568 add_filter( 'wp_print_scripts', 'wp_just_in_time_script_localization' ); -
trunk/src/wp-includes/post.php
r52330 r52364 505 505 'has_archive' => false, 506 506 'show_ui' => wp_is_block_theme(), 507 'show_in_menu' => 'themes.php',507 'show_in_menu' => false, 508 508 'show_in_admin_bar' => false, 509 509 'show_in_rest' => true, -
trunk/src/wp-includes/script-loader.php
r52285 r52364 2864 2864 echo "<script>window.__editorAssets = $editor_assets</script>"; 2865 2865 } 2866 2867 /** 2868 * Function that enqueues the CSS Custom Properties coming from theme.json. 2869 * 2870 * @since 5.9.0 2871 */ 2872 function wp_enqueue_global_styles_css_custom_properties() { 2873 wp_register_style( 'global-styles-css-custom-properties', false, array(), true, true ); 2874 wp_add_inline_style( 'global-styles-css-custom-properties', wp_get_global_stylesheet( array( 'variables' ) ) ); 2875 wp_enqueue_style( 'global-styles-css-custom-properties' ); 2876 } -
trunk/tests/phpunit/includes/functions.php
r52272 r52364 308 308 remove_action( 'init', 'register_block_core_categories' ); 309 309 remove_action( 'init', 'register_block_core_file' ); 310 remove_action( 'init', 'register_block_core_gallery', 20 ); 311 remove_action( 'init', 'register_block_core_image' ); 310 312 remove_action( 'init', 'register_block_core_latest_comments' ); 311 313 remove_action( 'init', 'register_block_core_latest_posts' ); -
trunk/tests/phpunit/tests/theme/wpThemeJson.php
r52329 r52364 201 201 } 202 202 203 function test_get_settings_ using_opt_in_key() {203 function test_get_settings_appearance_true_opts_in() { 204 204 $theme_json = new WP_Theme_JSON( 205 205 array( … … 207 207 'settings' => array( 208 208 'appearanceTools' => true, 209 'spacing' => array( 210 'blockGap' => false, // This should override appearanceTools. 211 ), 209 212 'blocks' => array( 210 213 'core/paragraph' => array( … … 217 220 'typography' => array( 218 221 'lineHeight' => false, // This should override appearanceTools. 222 ), 223 'spacing' => array( 224 'blockGap' => null, 219 225 ), 220 226 ), … … 236 242 ), 237 243 'spacing' => array( 238 'blockGap' => true,244 'blockGap' => false, 239 245 'margin' => true, 240 246 'padding' => true, … … 260 266 ), 261 267 'spacing' => array( 262 'blockGap' => true,268 'blockGap' => false, 263 269 'margin' => true, 264 270 'padding' => true, 265 271 ), 272 'typography' => array( 273 'lineHeight' => false, 274 ), 275 ), 276 ), 277 ); 278 279 $this->assertEqualSetsWithIndex( $expected, $actual ); 280 } 281 282 function test_get_settings_appearance_false_does_not_opt_in() { 283 $theme_json = new WP_Theme_JSON( 284 array( 285 'version' => WP_Theme_JSON::LATEST_SCHEMA, 286 'settings' => array( 287 'appearanceTools' => false, 288 'border' => array( 289 'width' => true, 290 ), 291 'blocks' => array( 292 'core/paragraph' => array( 293 'typography' => array( 294 'lineHeight' => false, 295 ), 296 ), 297 'core/group' => array( 298 'typography' => array( 299 'lineHeight' => false, 300 ), 301 ), 302 ), 303 ), 304 ) 305 ); 306 307 $actual = $theme_json->get_settings(); 308 $expected = array( 309 'appearanceTools' => false, 310 'border' => array( 311 'width' => true, 312 ), 313 'blocks' => array( 314 'core/paragraph' => array( 315 'typography' => array( 316 'lineHeight' => false, 317 ), 318 ), 319 'core/group' => array( 266 320 'typography' => array( 267 321 'lineHeight' => false, … … 1134 1188 } 1135 1189 1136 public function test_merge_incoming_data_ removes_theme_presets_with_slugs_as_default_presets() {1190 public function test_merge_incoming_data_color_presets_with_same_slugs_as_default_are_removed() { 1137 1191 $defaults = new WP_Theme_JSON( 1192 array( 1193 'version' => WP_Theme_JSON::LATEST_SCHEMA, 1194 'settings' => array( 1195 'color' => array( 1196 'defaultPalette' => true, 1197 'palette' => array( 1198 array( 1199 'slug' => 'red', 1200 'color' => 'red', 1201 'name' => 'Red', 1202 ), 1203 array( 1204 'slug' => 'green', 1205 'color' => 'green', 1206 'name' => 'Green', 1207 ), 1208 ), 1209 ), 1210 'blocks' => array( 1211 'core/paragraph' => array( 1212 'color' => array( 1213 'palette' => array( 1214 array( 1215 'slug' => 'blue', 1216 'color' => 'blue', 1217 'name' => 'Blue', 1218 ), 1219 ), 1220 ), 1221 ), 1222 ), 1223 ), 1224 ), 1225 'default' 1226 ); 1227 $theme = new WP_Theme_JSON( 1138 1228 array( 1139 1229 'version' => WP_Theme_JSON::LATEST_SCHEMA, … … 1142 1232 'palette' => array( 1143 1233 array( 1144 'slug' => ' red',1145 'color' => ' red',1146 'name' => ' Red',1234 'slug' => 'pink', 1235 'color' => 'pink', 1236 'name' => 'Pink', 1147 1237 ), 1148 1238 array( 1149 1239 'slug' => 'green', 1150 1240 'color' => 'green', 1151 'name' => 'Green ',1241 'name' => 'Greenish', 1152 1242 ), 1153 1243 ), … … 1160 1250 'slug' => 'blue', 1161 1251 'color' => 'blue', 1162 'name' => 'Blue',1163 ),1164 ),1165 ),1166 ),1167 ),1168 ),1169 ),1170 'default'1171 );1172 $theme = new WP_Theme_JSON(1173 array(1174 'version' => WP_Theme_JSON::LATEST_SCHEMA,1175 'settings' => array(1176 'color' => array(1177 'palette' => array(1178 array(1179 'slug' => 'pink',1180 'color' => 'pink',1181 'name' => 'Pink',1182 ),1183 array(1184 'slug' => 'green',1185 'color' => 'green',1186 'name' => 'Greenish',1187 ),1188 ),1189 ),1190 'blocks' => array(1191 'core/paragraph' => array(1192 'color' => array(1193 'palette' => array(1194 array(1195 'slug' => 'blue',1196 'color' => 'blue',1197 1252 'name' => 'Bluish', 1198 1253 ), … … 1219 1274 'settings' => array( 1220 1275 'color' => array( 1221 'palette' => array(1276 'palette' => array( 1222 1277 'default' => array( 1223 1278 array( … … 1240 1295 ), 1241 1296 ), 1297 'defaultPalette' => true, 1242 1298 ), 1243 1299 'blocks' => array( … … 1257 1313 'color' => 'yellow', 1258 1314 'name' => 'Yellow', 1315 ), 1316 ), 1317 ), 1318 ), 1319 ), 1320 ), 1321 ), 1322 ); 1323 1324 $defaults->merge( $theme ); 1325 $actual = $defaults->get_raw_data(); 1326 1327 $this->assertEqualSetsWithIndex( $expected, $actual ); 1328 } 1329 1330 public function test_merge_incoming_data_color_presets_with_same_slugs_as_default_are_not_removed_if_defaults_are_disabled() { 1331 $defaults = new WP_Theme_JSON( 1332 array( 1333 'version' => WP_Theme_JSON::LATEST_SCHEMA, 1334 'settings' => array( 1335 'color' => array( 1336 'defaultPalette' => true, // Emulate the defaults from core theme.json. 1337 'palette' => array( 1338 array( 1339 'slug' => 'red', 1340 'color' => 'red', 1341 'name' => 'Red', 1342 ), 1343 array( 1344 'slug' => 'green', 1345 'color' => 'green', 1346 'name' => 'Green', 1347 ), 1348 ), 1349 ), 1350 'blocks' => array( 1351 'core/paragraph' => array( 1352 'color' => array( 1353 'palette' => array( 1354 array( 1355 'slug' => 'blue', 1356 'color' => 'blue', 1357 'name' => 'Blue', 1358 ), 1359 ), 1360 ), 1361 ), 1362 ), 1363 ), 1364 ), 1365 'default' 1366 ); 1367 $theme = new WP_Theme_JSON( 1368 array( 1369 'version' => WP_Theme_JSON::LATEST_SCHEMA, 1370 'settings' => array( 1371 'color' => array( 1372 'defaultPalette' => false, 1373 'palette' => array( 1374 array( 1375 'slug' => 'pink', 1376 'color' => 'pink', 1377 'name' => 'Pink', 1378 ), 1379 array( 1380 'slug' => 'green', 1381 'color' => 'green', 1382 'name' => 'Greenish', 1383 ), 1384 ), 1385 ), 1386 'blocks' => array( 1387 'core/paragraph' => array( 1388 'color' => array( 1389 'palette' => array( 1390 array( 1391 'slug' => 'blue', 1392 'color' => 'blue', 1393 'name' => 'Bluish', 1394 ), 1395 array( 1396 'slug' => 'yellow', 1397 'color' => 'yellow', 1398 'name' => 'Yellow', 1399 ), 1400 array( 1401 'slug' => 'green', 1402 'color' => 'green', 1403 'name' => 'Block Green', 1404 ), 1405 ), 1406 ), 1407 ), 1408 ), 1409 ), 1410 ) 1411 ); 1412 1413 $expected = array( 1414 'version' => WP_Theme_JSON::LATEST_SCHEMA, 1415 'settings' => array( 1416 'color' => array( 1417 'defaultPalette' => false, 1418 'palette' => array( 1419 'default' => array( 1420 array( 1421 'slug' => 'red', 1422 'color' => 'red', 1423 'name' => 'Red', 1424 ), 1425 array( 1426 'slug' => 'green', 1427 'color' => 'green', 1428 'name' => 'Green', 1429 ), 1430 ), 1431 'theme' => array( 1432 array( 1433 'slug' => 'pink', 1434 'color' => 'pink', 1435 'name' => 'Pink', 1436 ), 1437 array( 1438 'slug' => 'green', 1439 'color' => 'green', 1440 'name' => 'Greenish', 1441 ), 1442 ), 1443 ), 1444 ), 1445 'blocks' => array( 1446 'core/paragraph' => array( 1447 'color' => array( 1448 'palette' => array( 1449 'default' => array( 1450 array( 1451 'slug' => 'blue', 1452 'color' => 'blue', 1453 'name' => 'Blue', 1454 ), 1455 ), 1456 'theme' => array( 1457 array( 1458 'slug' => 'blue', 1459 'color' => 'blue', 1460 'name' => 'Bluish', 1461 ), 1462 array( 1463 'slug' => 'yellow', 1464 'color' => 'yellow', 1465 'name' => 'Yellow', 1466 ), 1467 array( 1468 'slug' => 'green', 1469 'color' => 'green', 1470 'name' => 'Block Green', 1259 1471 ), 1260 1472 ), -
trunk/tools/webpack/blocks.js
r52272 r52364 29 29 'categories', 30 30 'file', 31 'gallery', 32 'image', 31 33 'latest-comments', 32 34 'latest-posts', … … 74 76 'embed', 75 77 'freeform', 76 'gallery',77 78 'group', 78 79 'heading', 79 80 'html', 80 'image',81 81 'list', 82 82 'media-text',
Note: See TracChangeset
for help on using the changeset viewer.