Changeset 52434
- Timestamp:
- 01/04/2022 05:37:25 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/package-lock.json
r52429 r52434 1398 1398 }, 1399 1399 "@emotion/babel-plugin": { 1400 "version": "11.7. 1",1401 "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.7. 1.tgz",1402 "integrity": "sha512- K3/6Y+J/sIAjplf3uIteWLhPuOyuMNnE+iyYnTF/m294vc6IL90kTHp7y8ldZYbpKlP17rpOWDKM9DvTcrOmNQ==",1400 "version": "11.7.2", 1401 "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.7.2.tgz", 1402 "integrity": "sha512-6mGSCWi9UzXut/ZAN6lGFu33wGR3SJisNl3c0tvlmb8XChH1b2SUvxvnOh7hvLpqyRdHHU9AiazV3Cwbk5SXKQ==", 1403 1403 "requires": { 1404 1404 "@babel/helper-module-imports": "^7.12.13", … … 2277 2277 }, 2278 2278 "@react-spring/animated": { 2279 "version": "9. 3.1",2280 "resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-9. 3.1.tgz",2281 "integrity": "sha512- 23YaERZ++BwZ8F8PxPFqrpOwp/JZun1Pj6aHZtPAU42j5LycBRasT9XMw7Eyr7zNFhT+rl3R3wFfd4WX6Ax+UA==",2282 "requires": { 2283 "@react-spring/shared": "~9. 3.0",2284 "@react-spring/types": "~9. 3.0"2279 "version": "9.4.0", 2280 "resolved": "https://registry.npmjs.org/@react-spring/animated/-/animated-9.4.0.tgz", 2281 "integrity": "sha512-hOj90pXC1ovukgA63l6zQRr7jq6Lay/kUgwlMZWOwgaZoPb1J02BjLtS0rbFvx+BUMd3mrL0QVdno+B6eYsLQQ==", 2282 "requires": { 2283 "@react-spring/shared": "~9.4.0", 2284 "@react-spring/types": "~9.4.0" 2285 2285 } 2286 2286 }, 2287 2287 "@react-spring/core": { 2288 "version": "9.3.1", 2289 "resolved": "https://registry.npmjs.org/@react-spring/core/-/core-9.3.1.tgz", 2290 "integrity": "sha512-8rmfmEHLHGtF1CUiXRn64YJqsXNxv2cGX8oNnBnsuoE33c48Zc34t2VIMB4R9q5zwIUCvDBGfiEenA8ZAPxqOQ==", 2291 "requires": { 2292 "@react-spring/animated": "~9.3.0", 2293 "@react-spring/shared": "~9.3.0", 2294 "@react-spring/types": "~9.3.0" 2288 "version": "9.4.0", 2289 "resolved": "https://registry.npmjs.org/@react-spring/core/-/core-9.4.0.tgz", 2290 "integrity": "sha512-zJC6JgLTv42tdNLZiN8eRgKnVaQxRvGHt329GxZFB9/bhH9FqjOMQ2GsEu8uImw3eicaXlWy10Ssp4SQftZSPg==", 2291 "requires": { 2292 "@react-spring/animated": "~9.4.0", 2293 "@react-spring/rafz": "~9.4.0", 2294 "@react-spring/shared": "~9.4.0", 2295 "@react-spring/types": "~9.4.0" 2295 2296 } 2296 2297 }, 2297 2298 "@react-spring/rafz": { 2298 "version": "9. 3.1",2299 "resolved": "https://registry.npmjs.org/@react-spring/rafz/-/rafz-9. 3.1.tgz",2300 "integrity": "sha512- fEBMCarGVl+/2kdO+g6Zig4F+3ymwmcGN8S71gb1c7Cbbxb87kviPz8EhshfIHoiLeJPGlqwcuGbxNmZbBamvA=="2299 "version": "9.4.0", 2300 "resolved": "https://registry.npmjs.org/@react-spring/rafz/-/rafz-9.4.0.tgz", 2301 "integrity": "sha512-CqBLODaAZ9HrTNZyOtrr4XQ7CdUNd4OU3Hh7T6JSdB88MyJScsJBKCT9QaJop6wuhvQPiQEviMnD8TfKEkVfuw==" 2301 2302 }, 2302 2303 "@react-spring/shared": { 2303 "version": "9. 3.1",2304 "resolved": "https://registry.npmjs.org/@react-spring/shared/-/shared-9. 3.1.tgz",2305 "integrity": "sha512- jhPpxzURGo6Nty90ex1lkxmZae7w/VAbnGmb/nXcYoZwSoNR+W2aAd00iXsh2ZGz6MgoJOsc495JeG3uC7Am8A==",2306 "requires": { 2307 "@react-spring/rafz": "~9. 3.0",2308 "@react-spring/types": "~9. 3.0"2304 "version": "9.4.0", 2305 "resolved": "https://registry.npmjs.org/@react-spring/shared/-/shared-9.4.0.tgz", 2306 "integrity": "sha512-VgQd8NxfbLTeWqzKpGMXXVf1IrmBKO8/fsHFiW+OxZdmFpz77G1aJZ+AnMgCcwrV9KtLdeG0G8YXOQrhsLA7dA==", 2307 "requires": { 2308 "@react-spring/rafz": "~9.4.0", 2309 "@react-spring/types": "~9.4.0" 2309 2310 } 2310 2311 }, 2311 2312 "@react-spring/types": { 2312 "version": "9. 3.1",2313 "resolved": "https://registry.npmjs.org/@react-spring/types/-/types-9. 3.1.tgz",2314 "integrity": "sha512- W/YMJMX35XgGGzX0gKORBTwnvQ+1loDOFN3XlZkW5fgpEY+7VkRUpPyqPWXQr3n6lHrsLmHIGdpznqZi54ACTQ=="2313 "version": "9.4.0", 2314 "resolved": "https://registry.npmjs.org/@react-spring/types/-/types-9.4.0.tgz", 2315 "integrity": "sha512-K49Fb/rPX6cSb15ZcW6d45NBYqAJbGh4MKpsBmvZWahJTXKtFDfQq10Bq0+wlLYQr8r1bgsE8v4blfCIdm6UoA==" 2315 2316 }, 2316 2317 "@react-spring/web": { 2317 "version": "9. 3.1",2318 "resolved": "https://registry.npmjs.org/@react-spring/web/-/web-9. 3.1.tgz",2319 "integrity": "sha512- sisZIgFGva/Z+xKWPSfXpukF0AP3kR9ALTxlHL87fVotMUCJX5vtH/YlVcywToEFwTHKt3MpI5Wy2M+vgVEeaw==",2320 "requires": { 2321 "@react-spring/animated": "~9. 3.0",2322 "@react-spring/core": "~9. 3.0",2323 "@react-spring/shared": "~9. 3.0",2324 "@react-spring/types": "~9. 3.0"2318 "version": "9.4.0", 2319 "resolved": "https://registry.npmjs.org/@react-spring/web/-/web-9.4.0.tgz", 2320 "integrity": "sha512-czg38A12w5glP33cfbjiwRnpCw3TNBuJ8eVxP6H2frMnADESsxmSpe0vNlvxrCEOhZxbhUu3ILJ2v02H9LV7bw==", 2321 "requires": { 2322 "@react-spring/animated": "~9.4.0", 2323 "@react-spring/core": "~9.4.0", 2324 "@react-spring/shared": "~9.4.0", 2325 "@react-spring/types": "~9.4.0" 2325 2326 } 2326 2327 }, … … 3540 3541 }, 3541 3542 "@wordpress/block-directory": { 3542 "version": "3.0. 19",3543 "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0. 19.tgz",3544 "integrity": "sha512- gHD5cDjkri2NKY5vK+RubBgpHc+5zZA8uWULzvbqbVAlul9Qo+i8tkY900gYdhGQgxzcnfWJjU58zM9ML5MBRg==",3543 "version": "3.0.20", 3544 "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.0.20.tgz", 3545 "integrity": "sha512-sm6dFYtHflHAeD1keC/oc7RN4GjdbOz18wxKGkyiOM8jzOIWqcrMcgfhzh98F6sSN/oJkYpTafpTQwT3Kz9nlQ==", 3545 3546 "requires": { 3546 3547 "@babel/runtime": "^7.16.0", 3547 3548 "@wordpress/a11y": "^3.2.4", 3548 3549 "@wordpress/api-fetch": "^5.2.6", 3549 "@wordpress/block-editor": "^8.0.1 2",3550 "@wordpress/block-editor": "^8.0.13", 3550 3551 "@wordpress/blocks": "^11.1.5", 3551 "@wordpress/components": "^19. 1.6",3552 "@wordpress/components": "^19.2.0", 3552 3553 "@wordpress/compose": "^5.0.7", 3553 3554 "@wordpress/core-data": "^4.0.9", 3554 3555 "@wordpress/data": "^6.1.5", 3555 "@wordpress/edit-post": "^5.0. 19",3556 "@wordpress/editor": "^12.0.1 5",3556 "@wordpress/edit-post": "^5.0.20", 3557 "@wordpress/editor": "^12.0.16", 3557 3558 "@wordpress/element": "^4.0.4", 3558 3559 "@wordpress/hooks": "^3.2.2", … … 3567 3568 }, 3568 3569 "@wordpress/block-editor": { 3569 "version": "8.0.1 2",3570 "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.1 2.tgz",3571 "integrity": "sha512- wif8ntsph9N9s6wAh6xfEOQMzXg0uTnqaczoK01K+5gou01JILvGwaApTbWucgPDrLvU3CVW1Mt8USvBB2ujhw==",3570 "version": "8.0.13", 3571 "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-8.0.13.tgz", 3572 "integrity": "sha512-U/0Hj6wwayOFqBZg8ObR6XaDMpEnq1PXsNemxKp4BhLixiBDKMC0eXC0kBQJYm6BouMVwiw2r0StIyvl+XFovA==", 3572 3573 "requires": { 3573 3574 "@babel/runtime": "^7.16.0", … … 3578 3579 "@wordpress/block-serialization-default-parser": "^4.2.3", 3579 3580 "@wordpress/blocks": "^11.1.5", 3580 "@wordpress/components": "^19. 1.6",3581 "@wordpress/components": "^19.2.0", 3581 3582 "@wordpress/compose": "^5.0.7", 3582 3583 "@wordpress/data": "^6.1.5", … … 3614 3615 }, 3615 3616 "@wordpress/block-library": { 3616 "version": "6.0.1 7",3617 "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.1 7.tgz",3618 "integrity": "sha512- /YC1eOHcb5ZokSODx04rcA5Qco3EDi3nIVZVyx1VMeJHxWB+qaYb49dnliqvnG/A5DoaEJeV5YsOMMbHbz914Q==",3617 "version": "6.0.18", 3618 "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-6.0.18.tgz", 3619 "integrity": "sha512-U7JiHp5d+JkUtsSByplkvfbWonUbRLFS1Gm6afbICT1w4hj3xFFxgBo9aCc8VzQOFS/2fpoQUANEK6h5QUBdAg==", 3619 3620 "requires": { 3620 3621 "@babel/runtime": "^7.16.0", … … 3623 3624 "@wordpress/autop": "^3.2.3", 3624 3625 "@wordpress/blob": "^3.2.2", 3625 "@wordpress/block-editor": "^8.0.1 2",3626 "@wordpress/block-editor": "^8.0.13", 3626 3627 "@wordpress/blocks": "^11.1.5", 3627 "@wordpress/components": "^19. 1.6",3628 "@wordpress/components": "^19.2.0", 3628 3629 "@wordpress/compose": "^5.0.7", 3629 3630 "@wordpress/core-data": "^4.0.9", … … 3638 3639 "@wordpress/i18n": "^4.2.4", 3639 3640 "@wordpress/icons": "^6.1.1", 3640 "@wordpress/interface": "^4.1.1 4",3641 "@wordpress/interface": "^4.1.15", 3641 3642 "@wordpress/is-shallow-equal": "^4.2.1", 3642 3643 "@wordpress/keycodes": "^3.2.4", 3643 3644 "@wordpress/notices": "^3.2.8", 3644 3645 "@wordpress/primitives": "^3.0.4", 3645 "@wordpress/reusable-blocks": "^3.0.1 8",3646 "@wordpress/reusable-blocks": "^3.0.19", 3646 3647 "@wordpress/rich-text": "^5.0.7", 3647 "@wordpress/server-side-render": "^3.0.1 6",3648 "@wordpress/server-side-render": "^3.0.17", 3648 3649 "@wordpress/url": "^3.3.1", 3649 3650 "@wordpress/viewport": "^4.0.7", … … 3700 3701 }, 3701 3702 "@wordpress/components": { 3702 "version": "19. 1.6",3703 "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-19. 1.6.tgz",3704 "integrity": "sha512- +Vmj+w7aLudXUzBdAOA/1a/RKoFvVSckGfuF/qpsFCVv80t2a22sgG8ZVnjm6f+L5dcCQdr3xgvqyRgE4lOvqQ==",3703 "version": "19.2.0", 3704 "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-19.2.0.tgz", 3705 "integrity": "sha512-IFvbH7Jo9jqbH+ZXCMm+tLaJDn95Q783aNtm9GVA+z3nJSyh4Dl2MXsRfOSE/mLd2iToPDCrpuHi51hr/lrGcw==", 3705 3706 "requires": { 3706 3707 "@babel/runtime": "^7.16.0", … … 3796 3797 }, 3797 3798 "@wordpress/customize-widgets": { 3798 "version": "2.0. 19",3799 "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0. 19.tgz",3800 "integrity": "sha512- nEXbAn+9Nik71p3dabXoJYvP5U0vuGBY2/8BRgNQWWHG/qhU9pkXhG12medpu53Ng86c0YyzlxK5hfru93LqvQ==",3799 "version": "2.0.20", 3800 "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-2.0.20.tgz", 3801 "integrity": "sha512-80tz/X4QtJwsGXzhNcEOuDE298dDWzpr+uVI/8a/g9/f5Y8O2Qf+0EfUmscQ8HHo4eKjY284im1HviAZYonOKg==", 3801 3802 "requires": { 3802 3803 "@babel/runtime": "^7.16.0", 3803 3804 "@wordpress/a11y": "^3.2.4", 3804 "@wordpress/block-editor": "^8.0.1 2",3805 "@wordpress/block-library": "^6.0.1 7",3805 "@wordpress/block-editor": "^8.0.13", 3806 "@wordpress/block-library": "^6.0.18", 3806 3807 "@wordpress/blocks": "^11.1.5", 3807 "@wordpress/components": "^19. 1.6",3808 "@wordpress/components": "^19.2.0", 3808 3809 "@wordpress/compose": "^5.0.7", 3809 3810 "@wordpress/core-data": "^4.0.9", … … 3814 3815 "@wordpress/i18n": "^4.2.4", 3815 3816 "@wordpress/icons": "^6.1.1", 3816 "@wordpress/interface": "^4.1.1 4",3817 "@wordpress/interface": "^4.1.15", 3817 3818 "@wordpress/is-shallow-equal": "^4.2.1", 3818 3819 "@wordpress/keyboard-shortcuts": "^3.0.7", 3819 3820 "@wordpress/keycodes": "^3.2.4", 3820 3821 "@wordpress/media-utils": "^3.0.5", 3821 "@wordpress/widgets": "^2.0.1 8",3822 "@wordpress/widgets": "^2.0.19", 3822 3823 "classnames": "^2.3.1", 3823 3824 "lodash": "^4.17.21" … … 3948 3949 }, 3949 3950 "@wordpress/edit-post": { 3950 "version": "5.0. 19",3951 "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0. 19.tgz",3952 "integrity": "sha512- uvEwH4cXsmZD+hMk/yOimUEyphhG0MsDwH5RVJQ/dTtuJZ+HmrzOAawF/L+GWP1/xpUHmTpbHFNdn2pULCS0CQ==",3951 "version": "5.0.20", 3952 "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-5.0.20.tgz", 3953 "integrity": "sha512-7/8BT2vPin/vg6Opml3uFYhtFMjsdX4DGniiEUeZhoRLC7AiU1VNlxEKklTNRkMHQI4tCcr6+qc7YoMbB5nmyQ==", 3953 3954 "requires": { 3954 3955 "@babel/runtime": "^7.16.0", 3955 3956 "@wordpress/a11y": "^3.2.4", 3956 3957 "@wordpress/api-fetch": "^5.2.6", 3957 "@wordpress/block-editor": "^8.0.1 2",3958 "@wordpress/block-library": "^6.0.1 7",3958 "@wordpress/block-editor": "^8.0.13", 3959 "@wordpress/block-library": "^6.0.18", 3959 3960 "@wordpress/blocks": "^11.1.5", 3960 "@wordpress/components": "^19. 1.6",3961 "@wordpress/components": "^19.2.0", 3961 3962 "@wordpress/compose": "^5.0.7", 3962 3963 "@wordpress/core-data": "^4.0.9", 3963 3964 "@wordpress/data": "^6.1.5", 3964 3965 "@wordpress/data-controls": "^2.2.8", 3965 "@wordpress/editor": "^12.0.1 5",3966 "@wordpress/editor": "^12.0.16", 3966 3967 "@wordpress/element": "^4.0.4", 3967 3968 "@wordpress/hooks": "^3.2.2", 3968 3969 "@wordpress/i18n": "^4.2.4", 3969 3970 "@wordpress/icons": "^6.1.1", 3970 "@wordpress/interface": "^4.1.1 4",3971 "@wordpress/interface": "^4.1.15", 3971 3972 "@wordpress/keyboard-shortcuts": "^3.0.7", 3972 3973 "@wordpress/keycodes": "^3.2.4", … … 3993 3994 }, 3994 3995 "@wordpress/edit-site": { 3995 "version": "3.0. 19",3996 "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0. 19.tgz",3997 "integrity": "sha512- TwZ2svgbmPl0pbIbCFoabFYVNx6HjGl6wOMbj5NBb8Vy2qszPM/6hJOTc18c20YoMid9uR1taHC+R0/uRGHiTQ==",3996 "version": "3.0.20", 3997 "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-3.0.20.tgz", 3998 "integrity": "sha512-rfT8ex8uYn2DpcRFO3ola2NhywBrxV2Yzy2BA9MvI7tIo+/2UFJVrFROafycb1pXjufwrq35ST69XvUMRvL6Fg==", 3998 3999 "requires": { 3999 4000 "@babel/runtime": "^7.16.0", 4000 4001 "@wordpress/a11y": "^3.2.4", 4001 4002 "@wordpress/api-fetch": "^5.2.6", 4002 "@wordpress/block-editor": "^8.0.1 2",4003 "@wordpress/block-library": "^6.0.1 7",4003 "@wordpress/block-editor": "^8.0.13", 4004 "@wordpress/block-library": "^6.0.18", 4004 4005 "@wordpress/blocks": "^11.1.5", 4005 "@wordpress/components": "^19. 1.6",4006 "@wordpress/components": "^19.2.0", 4006 4007 "@wordpress/compose": "^5.0.7", 4007 4008 "@wordpress/core-data": "^4.0.9", 4008 4009 "@wordpress/data": "^6.1.5", 4009 4010 "@wordpress/data-controls": "^2.2.8", 4010 "@wordpress/editor": "^12.0.1 5",4011 "@wordpress/editor": "^12.0.16", 4011 4012 "@wordpress/element": "^4.0.4", 4012 4013 "@wordpress/hooks": "^3.2.2", … … 4014 4015 "@wordpress/i18n": "^4.2.4", 4015 4016 "@wordpress/icons": "^6.1.1", 4016 "@wordpress/interface": "^4.1.1 4",4017 "@wordpress/interface": "^4.1.15", 4017 4018 "@wordpress/keyboard-shortcuts": "^3.0.7", 4018 4019 "@wordpress/keycodes": "^3.2.4", … … 4021 4022 "@wordpress/plugins": "^4.0.7", 4022 4023 "@wordpress/primitives": "^3.0.4", 4023 "@wordpress/reusable-blocks": "^3.0.1 8",4024 "@wordpress/reusable-blocks": "^3.0.19", 4024 4025 "@wordpress/url": "^3.3.1", 4025 4026 "@wordpress/viewport": "^4.0.7", … … 4034 4035 }, 4035 4036 "@wordpress/edit-widgets": { 4036 "version": "3.1.1 4",4037 "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.1 4.tgz",4038 "integrity": "sha512- 7OpU4tGLUM7arEXFtIEK1l7ozelpyzQqjoY3jgVo+GS9mM6Ia87jhJGzy4coCNuumb9Jp8DHwI85oZapUY9FPg==",4037 "version": "3.1.15", 4038 "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-3.1.15.tgz", 4039 "integrity": "sha512-mgetLhi5yaJ5b6VDD6GuTsMWZJhyt9yb/RBhtiubyVnCO9yPg9W1VoKFDT/r5+arDshqrHweSr5nxQG+qcRWww==", 4039 4040 "requires": { 4040 4041 "@babel/runtime": "^7.16.0", 4041 4042 "@wordpress/a11y": "^3.2.4", 4042 4043 "@wordpress/api-fetch": "^5.2.6", 4043 "@wordpress/block-editor": "^8.0.1 2",4044 "@wordpress/block-library": "^6.0.1 7",4044 "@wordpress/block-editor": "^8.0.13", 4045 "@wordpress/block-library": "^6.0.18", 4045 4046 "@wordpress/blocks": "^11.1.5", 4046 "@wordpress/components": "^19. 1.6",4047 "@wordpress/components": "^19.2.0", 4047 4048 "@wordpress/compose": "^5.0.7", 4048 4049 "@wordpress/core-data": "^4.0.9", … … 4053 4054 "@wordpress/i18n": "^4.2.4", 4054 4055 "@wordpress/icons": "^6.1.1", 4055 "@wordpress/interface": "^4.1.1 4",4056 "@wordpress/interface": "^4.1.15", 4056 4057 "@wordpress/keyboard-shortcuts": "^3.0.7", 4057 4058 "@wordpress/keycodes": "^3.2.4", … … 4059 4060 "@wordpress/notices": "^3.2.8", 4060 4061 "@wordpress/plugins": "^4.0.7", 4061 "@wordpress/reusable-blocks": "^3.0.1 8",4062 "@wordpress/server-side-render": "^3.0.1 6",4062 "@wordpress/reusable-blocks": "^3.0.19", 4063 "@wordpress/server-side-render": "^3.0.17", 4063 4064 "@wordpress/url": "^3.3.1", 4064 "@wordpress/widgets": "^2.0.1 8",4065 "@wordpress/widgets": "^2.0.19", 4065 4066 "classnames": "^2.3.1", 4066 4067 "lodash": "^4.17.21", … … 4070 4071 }, 4071 4072 "@wordpress/editor": { 4072 "version": "12.0.1 5",4073 "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.1 5.tgz",4074 "integrity": "sha512- eJ2ne6GYHnso6GPbRVRRhwTz3Eg4sp/HfV5bacfiKsdN4yd/3Ci1ABvhJD4JtFq2vXZPfE02sWhjRXgSpbcY1w==",4073 "version": "12.0.16", 4074 "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-12.0.16.tgz", 4075 "integrity": "sha512-RtDf0h0lh613qudt5eG9EbG5Pp5PMuB8yfwnHCrA8d0yGaF24k3pxE7QMBaWeAcKGnDwev30Nt980nBtcm5+1w==", 4075 4076 "requires": { 4076 4077 "@babel/runtime": "^7.16.0", … … 4079 4080 "@wordpress/autop": "^3.2.3", 4080 4081 "@wordpress/blob": "^3.2.2", 4081 "@wordpress/block-editor": "^8.0.1 2",4082 "@wordpress/block-editor": "^8.0.13", 4082 4083 "@wordpress/blocks": "^11.1.5", 4083 "@wordpress/components": "^19. 1.6",4084 "@wordpress/components": "^19.2.0", 4084 4085 "@wordpress/compose": "^5.0.7", 4085 4086 "@wordpress/core-data": "^4.0.9", … … 4098 4099 "@wordpress/media-utils": "^3.0.5", 4099 4100 "@wordpress/notices": "^3.2.8", 4100 "@wordpress/reusable-blocks": "^3.0.1 8",4101 "@wordpress/reusable-blocks": "^3.0.19", 4101 4102 "@wordpress/rich-text": "^5.0.7", 4102 "@wordpress/server-side-render": "^3.0.1 6",4103 "@wordpress/server-side-render": "^3.0.17", 4103 4104 "@wordpress/url": "^3.3.1", 4104 4105 "@wordpress/wordcount": "^3.2.3", … … 4187 4188 }, 4188 4189 "@wordpress/format-library": { 4189 "version": "3.0.1 8",4190 "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.1 8.tgz",4191 "integrity": "sha512- HWuCsG4/tDLRunEC5U4I6SqUGRe1jWPAO/62QFewRI/zxDi5tCi6pYl9N1Sn6rOCKWfcKKkEZcno6IN4H4g9Dw==",4190 "version": "3.0.19", 4191 "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-3.0.19.tgz", 4192 "integrity": "sha512-MsXaS1QgMtkZUioStCnAQViIOcLPS5OqsJAwnl5/aVvmciV+IABtT4ffPCaiShiTyqBiZMj8UEaaJD8SOeZidw==", 4192 4193 "requires": { 4193 4194 "@babel/runtime": "^7.16.0", 4194 4195 "@wordpress/a11y": "^3.2.4", 4195 "@wordpress/block-editor": "^8.0.1 2",4196 "@wordpress/components": "^19. 1.6",4196 "@wordpress/block-editor": "^8.0.13", 4197 "@wordpress/components": "^19.2.0", 4197 4198 "@wordpress/compose": "^5.0.7", 4198 4199 "@wordpress/data": "^6.1.5", … … 4249 4250 }, 4250 4251 "@wordpress/interface": { 4251 "version": "4.1.1 4",4252 "resolved": "https://registry.npmjs.org/@wordpress/interface/-/interface-4.1.1 4.tgz",4253 "integrity": "sha512- jFz4l0OajxHBX9vI2muH6fs2ZlzAJKk2dIGnPcOHpZJbXdOIsu4D2lMQMQJOn8G0018q9f2iowMTU9JWYr31zg==",4252 "version": "4.1.15", 4253 "resolved": "https://registry.npmjs.org/@wordpress/interface/-/interface-4.1.15.tgz", 4254 "integrity": "sha512-11vTvDG08A0QMicNc4hJBNMFDATRxWPEEEiB0g2pZRyZ09kMXcJ4Je9SdZz5jl2Bz/x8oEeTYeLqyvioq928cw==", 4254 4255 "requires": { 4255 4256 "@babel/runtime": "^7.16.0", 4256 4257 "@wordpress/a11y": "^3.2.4", 4257 "@wordpress/components": "^19. 1.6",4258 "@wordpress/components": "^19.2.0", 4258 4259 "@wordpress/compose": "^5.0.7", 4259 4260 "@wordpress/data": "^6.1.5", … … 4353 4354 }, 4354 4355 "@wordpress/list-reusable-blocks": { 4355 "version": "3.0.1 6",4356 "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-3.0.1 6.tgz",4357 "integrity": "sha512- ABiWh7nxYU9zpfONvxw+OW/lSvgWwtpT119IWcBUq7mywl3IY48zessHbCkkeTllD0CFKJLceuLCPm95Nn0vng==",4356 "version": "3.0.17", 4357 "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-3.0.17.tgz", 4358 "integrity": "sha512-tYmCzIVhOUHlmINMtCvWwUfgfaorwv1+mAHdPJ2XqCW5e27ws3EdWJxqdTWZNu1Z8Rz9ucv+mOHyOxL91JByhg==", 4358 4359 "requires": { 4359 4360 "@babel/runtime": "^7.16.0", 4360 4361 "@wordpress/api-fetch": "^5.2.6", 4361 "@wordpress/components": "^19. 1.6",4362 "@wordpress/components": "^19.2.0", 4362 4363 "@wordpress/compose": "^5.0.7", 4363 4364 "@wordpress/element": "^4.0.4", … … 4397 4398 }, 4398 4399 "@wordpress/nux": { 4399 "version": "5.0.1 6",4400 "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-5.0.1 6.tgz",4401 "integrity": "sha512- pULdjKfs0XZR06Le1fI8+0wuyhNGn2gkKJugApXtsP5gB/pZ+YWyRG44ZEFEqN4mZ1gBq6n50BkfQ7u5NPEE3w==",4400 "version": "5.0.17", 4401 "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-5.0.17.tgz", 4402 "integrity": "sha512-W122kgEW5ZfAsYPN7sc9372GPE4Iulx9h8zB2z5E+Vz/CqrVvw/TDQqJgqk7DPScQWGcqWTIfHJh0zyDdY8yRw==", 4402 4403 "requires": { 4403 4404 "@babel/runtime": "^7.16.0", 4404 "@wordpress/components": "^19. 1.6",4405 "@wordpress/components": "^19.2.0", 4405 4406 "@wordpress/compose": "^5.0.7", 4406 4407 "@wordpress/data": "^6.1.5", … … 4527 4528 }, 4528 4529 "@wordpress/reusable-blocks": { 4529 "version": "3.0.1 8",4530 "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.1 8.tgz",4531 "integrity": "sha512- AzKPtWFgeqCrW35Yui66JHYlPJp3GIfnm+syQRS/7Qn9hbcMe1awuoSbv2OI0FQeoe8oWQWykrex1QUA3w5rUw==",4532 "requires": { 4533 "@wordpress/block-editor": "^8.0.1 2",4530 "version": "3.0.19", 4531 "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-3.0.19.tgz", 4532 "integrity": "sha512-EU4Vo3ETTTN5DAQCrgh3AOuVRsZCrIJ1LcRgGJfFBSEJe6Sto3pxxj3ZtI+Goc4U553q3M/qpghHZNo1JZcfew==", 4533 "requires": { 4534 "@wordpress/block-editor": "^8.0.13", 4534 4535 "@wordpress/blocks": "^11.1.5", 4535 "@wordpress/components": "^19. 1.6",4536 "@wordpress/components": "^19.2.0", 4536 4537 "@wordpress/compose": "^5.0.7", 4537 4538 "@wordpress/core-data": "^4.0.9", … … 5499 5500 }, 5500 5501 "@wordpress/server-side-render": { 5501 "version": "3.0.1 6",5502 "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-3.0.1 6.tgz",5503 "integrity": "sha512- cHuzL9fowuVz8G4Yz+DbbS850h+iUjM8+5jYzRZ9DH04fv/Y/dEGbdxZQ2K/p9wFQrQfnJ4EWUxJV1lUN/HTUw==",5502 "version": "3.0.17", 5503 "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-3.0.17.tgz", 5504 "integrity": "sha512-UIyywGUSlbOVFi1SNwI/uUmHmUJFX+N9XeBCAnS15PmfYflBkiuz9FPmZWoqLoOE4uWTI7K9lAP1tkY80lotIA==", 5504 5505 "requires": { 5505 5506 "@babel/runtime": "^7.16.0", 5506 5507 "@wordpress/api-fetch": "^5.2.6", 5507 5508 "@wordpress/blocks": "^11.1.5", 5508 "@wordpress/components": "^19. 1.6",5509 "@wordpress/components": "^19.2.0", 5509 5510 "@wordpress/compose": "^5.0.7", 5510 5511 "@wordpress/data": "^6.1.5", … … 5572 5573 }, 5573 5574 "@wordpress/widgets": { 5574 "version": "2.0.1 8",5575 "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.1 8.tgz",5576 "integrity": "sha512- Hryq9W1V45zyNn0TFKSrdSYG0FrTLaApNYRpWM7nBuuyaUkFa4C3rqZsUIrsnpmjbKU9DKpT03W1o2BzOLq8ug==",5575 "version": "2.0.19", 5576 "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-2.0.19.tgz", 5577 "integrity": "sha512-TSPV0pYikUXvSH3L3TToLFDXwB0gjRVcL7/TpQyFiaN5QfONOGpxZBoCbW0l3w+z/ZhzTtwe/BwX25TFmEHILg==", 5577 5578 "requires": { 5578 5579 "@babel/runtime": "^7.16.0", 5579 5580 "@wordpress/api-fetch": "^5.2.6", 5580 "@wordpress/block-editor": "^8.0.1 2",5581 "@wordpress/block-editor": "^8.0.13", 5581 5582 "@wordpress/blocks": "^11.1.5", 5582 "@wordpress/components": "^19. 1.6",5583 "@wordpress/components": "^19.2.0", 5583 5584 "@wordpress/compose": "^5.0.7", 5584 5585 "@wordpress/core-data": "^4.0.9", -
trunk/package.json
r52429 r52434 83 83 "@wordpress/autop": "3.2.3", 84 84 "@wordpress/blob": "3.2.2", 85 "@wordpress/block-directory": "3.0. 19",86 "@wordpress/block-editor": "8.0.1 2",87 "@wordpress/block-library": "6.0.1 7",85 "@wordpress/block-directory": "3.0.20", 86 "@wordpress/block-editor": "8.0.13", 87 "@wordpress/block-library": "6.0.18", 88 88 "@wordpress/block-serialization-default-parser": "4.2.3", 89 89 "@wordpress/blocks": "11.1.5", 90 "@wordpress/components": "19. 1.6",90 "@wordpress/components": "19.2.0", 91 91 "@wordpress/compose": "5.0.7", 92 92 "@wordpress/core-data": "4.0.9", 93 "@wordpress/customize-widgets": "2.0. 19",93 "@wordpress/customize-widgets": "2.0.20", 94 94 "@wordpress/data": "6.1.5", 95 95 "@wordpress/data-controls": "2.2.8", … … 98 98 "@wordpress/dom": "3.2.7", 99 99 "@wordpress/dom-ready": "3.2.3", 100 "@wordpress/edit-post": "5.0. 19",101 "@wordpress/edit-site": "3.0. 19",102 "@wordpress/edit-widgets": "3.1.1 4",103 "@wordpress/editor": "12.0.1 5",100 "@wordpress/edit-post": "5.0.20", 101 "@wordpress/edit-site": "3.0.20", 102 "@wordpress/edit-widgets": "3.1.15", 103 "@wordpress/editor": "12.0.16", 104 104 "@wordpress/element": "4.0.4", 105 105 "@wordpress/escape-html": "2.2.3", 106 "@wordpress/format-library": "3.0.1 8",106 "@wordpress/format-library": "3.0.19", 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 4",111 "@wordpress/interface": "4.1.15", 112 112 "@wordpress/is-shallow-equal": "4.2.1", 113 113 "@wordpress/keyboard-shortcuts": "3.0.7", 114 114 "@wordpress/keycodes": "3.2.4", 115 "@wordpress/list-reusable-blocks": "3.0.1 6",115 "@wordpress/list-reusable-blocks": "3.0.17", 116 116 "@wordpress/media-utils": "3.0.5", 117 117 "@wordpress/notices": "3.2.8", 118 "@wordpress/nux": "5.0.1 6",118 "@wordpress/nux": "5.0.17", 119 119 "@wordpress/plugins": "4.0.7", 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 8",123 "@wordpress/reusable-blocks": "3.0.19", 124 124 "@wordpress/rich-text": "5.0.7", 125 "@wordpress/server-side-render": "3.0.1 6",125 "@wordpress/server-side-render": "3.0.17", 126 126 "@wordpress/shortcode": "3.2.3", 127 127 "@wordpress/token-list": "2.2.2", … … 129 129 "@wordpress/viewport": "4.0.7", 130 130 "@wordpress/warning": "2.2.2", 131 "@wordpress/widgets": "2.0.1 8",131 "@wordpress/widgets": "2.0.19", 132 132 "@wordpress/wordcount": "3.2.3", 133 133 "backbone": "1.4.0", -
trunk/src/wp-includes/assets/script-loader-packages.php
r52402 r52434 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' => ' 70766723a1d46b8e71e00462caf5d2ef'), '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' => '8a91e82c434e7cd1aea9c505ad67e51a'), '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' => '414c4f189ece4f85f23026b82fa52400'), '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' => '1491dea52ef44b12c4130dc7fe00ea20'), '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' => '93e547cee9fc74070215d5c1ce324bf6'), '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' => 'c786d8e15ad8d37821a262e270574299'), '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' => 'dea553bd6e79d81ffb2d3cecc445b9c5'), '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' => 'd2d4142238e30f8173bcb9c0ecfc9daa'), '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' => 'ca158f847aa4d5eb7c341e509e70340b'), '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'));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' => '3b92c40c1fc027868ec4521bef69dfec'), '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' => 'b32bec4f49c6a87e8fae9893883eb1e5'), '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' => 'd584639b62dd0110961babe2a0321284'), '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' => '1491dea52ef44b12c4130dc7fe00ea20'), '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' => '93e547cee9fc74070215d5c1ce324bf6'), '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' => 'e1b624e1873607abf4c32039e7fb342b'), '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' => '8659ca040bec4715a2e2d70e39481022'), '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' => 'd2d4142238e30f8173bcb9c0ecfc9daa'), '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' => '2f11c17951f84f3b17149d8002ed2e49'), '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' => 'c8b79b06e8a76272ee868b17b6a9d37b'), '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
r52410 r52434 40 40 * the existence of default block layout. 41 41 * @param bool $has_block_gap_support Whether the theme has support for the block gap. 42 * @param string $gap_value The block gap value to apply. 42 43 * @return string CSS style. 43 44 */ 44 function wp_get_layout_style( $selector, $layout, $has_block_gap_support = false ) {45 function wp_get_layout_style( $selector, $layout, $has_block_gap_support = false, $gap_value = null ) { 45 46 $layout_type = isset( $layout['type'] ) ? $layout['type'] : 'default'; 46 47 … … 73 74 $style .= "$selector .alignright { float: right; margin-left: 2em; }"; 74 75 if ( $has_block_gap_support ) { 75 $style .= "$selector > * { margin-top: 0; margin-bottom: 0; }"; 76 $style .= "$selector > * + * { margin-top: var( --wp--style--block-gap ); margin-bottom: 0; }"; 76 $gap_style = $gap_value ? $gap_value : 'var( --wp--style--block-gap )'; 77 $style .= "$selector > * { margin-top: 0; margin-bottom: 0; }"; 78 $style .= "$selector > * + * { margin-top: $gap_style; margin-bottom: 0; }"; 77 79 } 78 80 } elseif ( 'flex' === $layout_type ) { … … 97 99 $style .= 'display: flex;'; 98 100 if ( $has_block_gap_support ) { 99 $style .= 'gap: var( --wp--style--block-gap, 0.5em );'; 101 $gap_style = $gap_value ? $gap_value : 'var( --wp--style--block-gap, 0.5em )'; 102 $style .= "gap: $gap_style;"; 100 103 } else { 101 104 $style .= 'gap: 0.5em;'; … … 157 160 } 158 161 159 $id = uniqid(); 160 $style = wp_get_layout_style( ".wp-container-$id", $used_layout, $has_block_gap_support ); 162 $id = uniqid(); 163 $gap_value = _wp_array_get( $block, array( 'attrs', 'style', 'spacing', 'blockGap' ) ); 164 // Skip if gap value contains unsupported characters. 165 // Regex for CSS value borrowed from `safecss_filter_attr`, and used here 166 // because we only want to match against the value, not the CSS attribute. 167 $gap_value = preg_match( '%[\\\(&=}]|/\*%', $gap_value ) ? null : $gap_value; 168 $style = wp_get_layout_style( ".wp-container-$id", $used_layout, $has_block_gap_support, $gap_value ); 161 169 // This assumes the hook only applies to blocks with a single wrapper. 162 170 // I think this is a reasonable limitation for that particular hook. -
trunk/src/wp-includes/block-supports/spacing.php
r52302 r52434 96 96 } 97 97 98 /**99 * Renders the spacing gap support to the block wrapper, to ensure100 * that the CSS variable is rendered in all environments.101 *102 * @since 5.9.0103 * @access private104 *105 * @param string $block_content Rendered block content.106 * @param array $block Block object.107 * @return string Filtered block content.108 */109 function wp_render_spacing_gap_support( $block_content, $block ) {110 $block_type = WP_Block_Type_Registry::get_instance()->get_registered( $block['blockName'] );111 $has_gap_support = block_has_support( $block_type, array( 'spacing', 'blockGap' ), false );112 if ( ! $has_gap_support || ! isset( $block['attrs']['style']['spacing']['blockGap'] ) ) {113 return $block_content;114 }115 116 $gap_value = $block['attrs']['style']['spacing']['blockGap'];117 118 // Skip if gap value contains unsupported characters.119 // Regex for CSS value borrowed from `safecss_filter_attr`, and used here120 // because we only want to match against the value, not the CSS attribute.121 if ( preg_match( '%[\\\(&=}]|/\*%', $gap_value ) ) {122 return $block_content;123 }124 125 $style = sprintf(126 '--wp--style--block-gap: %s',127 esc_attr( $gap_value )128 );129 130 // Attempt to update an existing style attribute on the wrapper element.131 $injected_style = preg_replace(132 '/^([^>.]+?)(' . preg_quote( 'style="', '/' ) . ')(?=.+?>)/',133 '$1$2' . $style . '; ',134 $block_content,135 1136 );137 138 // If there is no existing style attribute, add one to the wrapper element.139 if ( $injected_style === $block_content ) {140 $injected_style = preg_replace(141 '/<([a-zA-Z0-9]+)([ >])/',142 '<$1 style="' . $style . '"$2',143 $block_content,144 1145 );146 };147 148 return $injected_style;149 }150 151 98 // Register the block support. 152 99 WP_Block_Supports::get_instance()->register( … … 157 104 ) 158 105 ); 159 160 add_filter( 'render_block', 'wp_render_spacing_gap_support', 10, 2 ); -
trunk/src/wp-includes/blocks/columns/block.json
r52042 r52434 24 24 }, 25 25 "spacing": { 26 "blockGap": true,27 26 "margin": [ "top", "bottom" ], 28 27 "padding": true, 29 28 "__experimentalDefaultControls": { 30 " blockGap": true29 "padding": true 31 30 } 32 31 } -
trunk/src/wp-includes/blocks/navigation/block.json
r52402 r52434 99 99 }, 100 100 "spacing": { 101 "blockGap": true, 102 "units": [ 103 "px", 104 "em", 105 "rem", 106 "vh", 107 "vw" 108 ], 109 "__experimentalDefaultControls": { 110 "blockGap": true 111 } 101 "units": [ "px", "em", "rem", "vh", "vw" ] 112 102 }, 113 103 "__experimentalLayout": { -
trunk/src/wp-includes/blocks/post-content.php
r51344 r52434 37 37 $seen_ids[ $post_id ] = true; 38 38 39 // Check is needed for backward compatibility with third-party plugins 40 // that might rely on the `in_the_loop` check; calling `the_post` sets it to true. 39 41 if ( ! in_the_loop() && have_posts() ) { 40 42 the_post(); 41 43 } 42 44 43 $content = get_the_content( null, false, $post_id ); 45 // When inside the main loop, we want to use queried object 46 // so that `the_preview` for the current post can apply. 47 // We force this behavior by omitting the third argument (post ID) from the `get_the_content`. 48 $content = get_the_content( null, false ); 44 49 /** This filter is documented in wp-includes/post-template.php */ 45 50 $content = apply_filters( 'the_content', str_replace( ']]>', ']]>', $content ) ); -
trunk/src/wp-includes/blocks/post-excerpt.php
r52042 r52434 19 19 } 20 20 21 $excerpt = get_the_excerpt( $block->context['postId']);21 $excerpt = get_the_excerpt(); 22 22 23 23 if ( empty( $excerpt ) ) { -
trunk/src/wp-includes/blocks/post-title.php
r52042 r52434 21 21 22 22 $post_ID = $block->context['postId']; 23 $title = get_the_title( $post_ID);23 $title = get_the_title(); 24 24 25 25 if ( ! $title ) { -
trunk/src/wp-includes/blocks/site-logo.php
r52402 r52434 78 78 79 79 /** 80 * Register a core site setting for a site icon 81 */ 82 function register_block_core_site_icon_setting() { 83 register_setting( 84 'general', 85 'site_icon', 86 array( 87 'show_in_rest' => true, 88 'type' => 'integer', 89 'description' => __( 'Site icon.' ), 90 ) 91 ); 92 } 93 94 add_action( 'rest_api_init', 'register_block_core_site_icon_setting', 10 ); 95 96 /** 80 97 * Registers the `core/site-logo` block on the server. 81 98 */ -
trunk/src/wp-includes/blocks/site-logo/block.json
r52402 r52434 17 17 "type": "string", 18 18 "default": "_self" 19 }, 20 "shouldSyncIcon": { 21 "type": "boolean" 19 22 } 20 23 }, … … 22 25 "viewportWidth": 500, 23 26 "attributes": { 24 "width": 350 27 "width": 350, 28 "className": "block-editor-block-types-list__site-logo-example" 25 29 } 26 30 }, -
trunk/src/wp-includes/class-wp-theme-json.php
r52403 r52434 318 318 'margin' => null, 319 319 'padding' => null, 320 'blockGap' => null,320 'blockGap' => 'top', 321 321 ), 322 322 'typography' => array( … … 473 473 $output = array_intersect_key( $input, array_flip( self::VALID_TOP_LEVEL_KEYS ) ); 474 474 475 // Some styles are only meant to be available at the top-level (e.g.: blockGap), 476 // hence, the schema for blocks & elements should not have them. 477 $styles_non_top_level = self::VALID_STYLES; 478 foreach ( array_keys( $styles_non_top_level ) as $section ) { 479 foreach ( array_keys( $styles_non_top_level[ $section ] ) as $prop ) { 480 if ( 'top' === $styles_non_top_level[ $section ][ $prop ] ) { 481 unset( $styles_non_top_level[ $section ][ $prop ] ); 482 } 483 } 484 } 485 475 486 // Build the schema based on valid block & element names. 476 487 $schema = array(); 477 488 $schema_styles_elements = array(); 478 489 foreach ( $valid_element_names as $element ) { 479 $schema_styles_elements[ $element ] = self::VALID_STYLES;490 $schema_styles_elements[ $element ] = $styles_non_top_level; 480 491 } 481 492 $schema_styles_blocks = array(); … … 483 494 foreach ( $valid_block_names as $block ) { 484 495 $schema_settings_blocks[ $block ] = self::VALID_SETTINGS; 485 $schema_styles_blocks[ $block ] = self::VALID_STYLES;496 $schema_styles_blocks[ $block ] = $styles_non_top_level; 486 497 $schema_styles_blocks[ $block ]['elements'] = $schema_styles_elements; 487 498 } -
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php
r52399 r52434 782 782 'required' => true, 783 783 'minLength' => 1, 784 'pattern' => '[a-zA-Z _\-]+',784 'pattern' => '[a-zA-Z0-9_\-]+', 785 785 ), 786 786 'theme' => array( -
trunk/tests/phpunit/tests/rest-api/rest-settings-controller.php
r51568 r52434 109 109 'default_ping_status', 110 110 'default_comment_status', 111 'site_icon', // Registered in wp-includes/blocks/site-logo.php 111 112 ); 112 113 -
trunk/tests/phpunit/tests/theme/wpThemeJson.php
r52402 r52434 420 420 'blockGap' => '1em', 421 421 ), 422 'blocks' => array( 423 'core/columns' => array( 424 'spacing' => array( 425 'blockGap' => '24px', 426 ), 427 ), 428 ), 429 ), 430 ) 431 ); 432 433 $expected = 'body { margin: 0; }body{--wp--style--block-gap: 1em;}.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }.wp-site-blocks > * { margin-top: 0; margin-bottom: 0; }.wp-site-blocks > * + * { margin-top: var( --wp--style--block-gap ); }.wp-block-columns{--wp--style--block-gap: 24px;}'; 422 ), 423 ) 424 ); 425 426 $expected = 'body { margin: 0; }body{--wp--style--block-gap: 1em;}.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }.wp-site-blocks > * { margin-top: 0; margin-bottom: 0; }.wp-site-blocks > * + * { margin-top: var( --wp--style--block-gap ); }'; 434 427 $this->assertSame( $expected, $theme_json->get_stylesheet() ); 435 428 $this->assertSame( $expected, $theme_json->get_stylesheet( array( 'styles' ) ) ); … … 2349 2342 } 2350 2343 2344 /** 2345 * @ticket 54487 2346 */ 2347 public function test_sanitization() { 2348 $theme_json = new WP_Theme_JSON( 2349 array( 2350 'version' => 2, 2351 'styles' => array( 2352 'spacing' => array( 2353 'blockGap' => 'valid value', 2354 ), 2355 'blocks' => array( 2356 'core/group' => array( 2357 'spacing' => array( 2358 'margin' => 'valid value', 2359 'blockGap' => 'invalid value', 2360 ), 2361 ), 2362 ), 2363 ), 2364 ) 2365 ); 2366 2367 $actual = $theme_json->get_raw_data(); 2368 $expected = array( 2369 'version' => 2, 2370 'styles' => array( 2371 'spacing' => array( 2372 'blockGap' => 'valid value', 2373 ), 2374 'blocks' => array( 2375 'core/group' => array( 2376 'spacing' => array( 2377 'margin' => 'valid value', 2378 ), 2379 ), 2380 ), 2381 ), 2382 ); 2383 2384 $this->assertEqualSetsWithIndex( $expected, $actual ); 2385 } 2386 2351 2387 } -
trunk/tests/qunit/fixtures/wp-api-generated.js
r52399 r52434 5036 5036 "type": "string", 5037 5037 "minLength": 1, 5038 "pattern": "[a-zA-Z _\\-]+",5038 "pattern": "[a-zA-Z0-9_\\-]+", 5039 5039 "required": true 5040 5040 }, … … 5190 5190 "type": "string", 5191 5191 "minLength": 1, 5192 "pattern": "[a-zA-Z _\\-]+",5192 "pattern": "[a-zA-Z0-9_\\-]+", 5193 5193 "required": false 5194 5194 }, … … 5504 5504 "type": "string", 5505 5505 "minLength": 1, 5506 "pattern": "[a-zA-Z _\\-]+",5506 "pattern": "[a-zA-Z0-9_\\-]+", 5507 5507 "required": false 5508 5508 }, … … 5683 5683 "type": "string", 5684 5684 "minLength": 1, 5685 "pattern": "[a-zA-Z _\\-]+",5685 "pattern": "[a-zA-Z0-9_\\-]+", 5686 5686 "required": true 5687 5687 }, … … 5842 5842 "type": "string", 5843 5843 "minLength": 1, 5844 "pattern": "[a-zA-Z _\\-]+",5844 "pattern": "[a-zA-Z0-9_\\-]+", 5845 5845 "required": false 5846 5846 }, … … 6161 6161 "type": "string", 6162 6162 "minLength": 1, 6163 "pattern": "[a-zA-Z _\\-]+",6163 "pattern": "[a-zA-Z0-9_\\-]+", 6164 6164 "required": false 6165 6165 }, … … 9629 9629 "site_logo": { 9630 9630 "description": "Site logo.", 9631 "type": "integer", 9632 "required": false 9633 }, 9634 "site_icon": { 9635 "description": "Site icon.", 9631 9636 "type": "integer", 9632 9637 "required": false … … 12213 12218 "default_ping_status": "open", 12214 12219 "default_comment_status": "open", 12215 "site_logo": null 12220 "site_logo": null, 12221 "site_icon": 0 12216 12222 };
Note: See TracChangeset
for help on using the changeset viewer.