Editor: update npm packages with critical bug fixes for 6.3.1.

Includes fixes for footnotes and editor styles related crashes, as well as a cut and paste-related crash.

Props ramonopoly.
See #59151.


git-svn-id: https://develop.svn.wordpress.org/trunk@56419 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Isabel Brison 2023-08-19 23:20:25 +00:00
parent 5d466a4d4a
commit cfe5a1e0a8
4 changed files with 112 additions and 113 deletions

182
package-lock.json generated
View File

@ -16,30 +16,30 @@
"@wordpress/api-fetch": "6.32.1",
"@wordpress/autop": "3.35.1",
"@wordpress/blob": "3.35.1",
"@wordpress/block-directory": "4.12.14",
"@wordpress/block-editor": "12.3.12",
"@wordpress/block-library": "8.12.14",
"@wordpress/block-directory": "4.12.16",
"@wordpress/block-editor": "12.3.13",
"@wordpress/block-library": "8.12.16",
"@wordpress/block-serialization-default-parser": "4.35.1",
"@wordpress/blocks": "12.12.7",
"@wordpress/commands": "0.6.11",
"@wordpress/components": "25.1.10",
"@wordpress/compose": "6.12.2",
"@wordpress/core-commands": "0.4.12",
"@wordpress/core-data": "6.12.12",
"@wordpress/customize-widgets": "4.12.14",
"@wordpress/core-commands": "0.4.14",
"@wordpress/core-data": "6.12.14",
"@wordpress/customize-widgets": "4.12.16",
"@wordpress/data": "9.5.5",
"@wordpress/data-controls": "3.4.5",
"@wordpress/date": "4.35.1",
"@wordpress/deprecated": "3.35.1",
"@wordpress/dom": "3.35.1",
"@wordpress/dom-ready": "3.35.1",
"@wordpress/edit-post": "7.12.14",
"@wordpress/edit-site": "5.12.14",
"@wordpress/edit-widgets": "5.12.14",
"@wordpress/editor": "13.12.12",
"@wordpress/edit-post": "7.12.16",
"@wordpress/edit-site": "5.12.16",
"@wordpress/edit-widgets": "5.12.16",
"@wordpress/editor": "13.12.14",
"@wordpress/element": "5.12.1",
"@wordpress/escape-html": "2.35.1",
"@wordpress/format-library": "4.12.12",
"@wordpress/format-library": "4.12.13",
"@wordpress/hooks": "3.35.1",
"@wordpress/html-entities": "3.35.1",
"@wordpress/i18n": "4.35.1",
@ -59,7 +59,7 @@
"@wordpress/priority-queue": "2.35.1",
"@wordpress/private-apis": "0.17.2",
"@wordpress/redux-routine": "4.35.1",
"@wordpress/reusable-blocks": "4.12.12",
"@wordpress/reusable-blocks": "4.12.14",
"@wordpress/rich-text": "6.12.7",
"@wordpress/router": "0.4.2",
"@wordpress/server-side-render": "4.12.12",
@ -69,7 +69,7 @@
"@wordpress/url": "3.36.1",
"@wordpress/viewport": "5.12.5",
"@wordpress/warning": "2.35.1",
"@wordpress/widgets": "3.12.12",
"@wordpress/widgets": "3.12.14",
"@wordpress/wordcount": "3.35.1",
"backbone": "1.5.0",
"clipboard": "2.0.11",
@ -6075,21 +6075,21 @@
}
},
"node_modules/@wordpress/block-directory": {
"version": "4.12.14",
"resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.12.14.tgz",
"integrity": "sha512-xj7P8S1Mwg/deNlyPCW3j1Yyle5cQbvBV/UMuW2BePSEiCPf8mNbQLkYdYmzsi3f6/go/yz2vd4qim5jFm0+CA==",
"version": "4.12.16",
"resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-4.12.16.tgz",
"integrity": "sha512-/ouauOTSym/yhz724WHHSzGhVrNf7I0DgqUTIm/CbUkUqRVJxdr4gUHkiucNhSTimGi2M2JbR4k2Pl1BP2Lqmw==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@wordpress/a11y": "^3.35.1",
"@wordpress/api-fetch": "^6.32.1",
"@wordpress/block-editor": "^12.3.12",
"@wordpress/block-editor": "^12.3.13",
"@wordpress/blocks": "^12.12.7",
"@wordpress/components": "^25.1.10",
"@wordpress/compose": "^6.12.2",
"@wordpress/core-data": "^6.12.12",
"@wordpress/core-data": "^6.12.14",
"@wordpress/data": "^9.5.5",
"@wordpress/edit-post": "^7.12.14",
"@wordpress/editor": "^13.12.12",
"@wordpress/edit-post": "^7.12.16",
"@wordpress/editor": "^13.12.14",
"@wordpress/element": "^5.12.1",
"@wordpress/hooks": "^3.35.1",
"@wordpress/html-entities": "^3.35.1",
@ -6109,9 +6109,9 @@
}
},
"node_modules/@wordpress/block-editor": {
"version": "12.3.12",
"resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-12.3.12.tgz",
"integrity": "sha512-LcrcDKp/bMSzIN7dvGAZmvXDMVsw1rPxww5hJLe6/XHMU/cRrhgLAh4XSVTg7lz9UsbuiTQLsX7hCL5sJPH3xA==",
"version": "12.3.13",
"resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-12.3.13.tgz",
"integrity": "sha512-wfDc3mbyVM84yGf+r5J3aDA//z1I9v5GZhXcFg+OLlSw5CEFVcPTPzYZ97dcOQaORunQa0ysFUP/Sb7MY7hDwQ==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@emotion/styled": "^11.6.0",
@ -6169,9 +6169,9 @@
}
},
"node_modules/@wordpress/block-library": {
"version": "8.12.14",
"resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.12.14.tgz",
"integrity": "sha512-PnsJN+yWhccZcQhYr+wMdejiNSkUUiiaiJO9laCtNSowWKf/VKcchWz2o1uyVVq7Kv6TRtQRcmUn/qSEGRBmkA==",
"version": "8.12.16",
"resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-8.12.16.tgz",
"integrity": "sha512-ELYzjbquv6zgMJUgqC6eco5+xhnCgHnoLHbnREDTgnJ6ldwkS+2XzNexRsqOK8E+hHFgGrIkwNBO4AAaEWL+1g==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@preact/signals": "^1.1.3",
@ -6179,11 +6179,11 @@
"@wordpress/api-fetch": "^6.32.1",
"@wordpress/autop": "^3.35.1",
"@wordpress/blob": "^3.35.1",
"@wordpress/block-editor": "^12.3.12",
"@wordpress/block-editor": "^12.3.13",
"@wordpress/blocks": "^12.12.7",
"@wordpress/components": "^25.1.10",
"@wordpress/compose": "^6.12.2",
"@wordpress/core-data": "^6.12.12",
"@wordpress/core-data": "^6.12.14",
"@wordpress/data": "^9.5.5",
"@wordpress/date": "^4.35.1",
"@wordpress/deprecated": "^3.35.1",
@ -6198,7 +6198,7 @@
"@wordpress/notices": "^4.3.5",
"@wordpress/primitives": "^3.33.1",
"@wordpress/private-apis": "^0.17.2",
"@wordpress/reusable-blocks": "^4.12.12",
"@wordpress/reusable-blocks": "^4.12.14",
"@wordpress/rich-text": "^6.12.7",
"@wordpress/server-side-render": "^4.12.12",
"@wordpress/url": "^3.36.1",
@ -6422,13 +6422,13 @@
}
},
"node_modules/@wordpress/core-commands": {
"version": "0.4.12",
"resolved": "https://registry.npmjs.org/@wordpress/core-commands/-/core-commands-0.4.12.tgz",
"integrity": "sha512-IUqdY2IEJRwEobZlGLCgsYIWjhIPOeotTaChxIXGHQiwf3P27VsOymmM6sgkEbBk2n6o0dR0/vopnVVs+SBt1g==",
"version": "0.4.14",
"resolved": "https://registry.npmjs.org/@wordpress/core-commands/-/core-commands-0.4.14.tgz",
"integrity": "sha512-Ou1LSnJzyutXRGfqSZm3BgMzTCeFxStO9MAgXCpkw5klC09/MQwgPZWK+VNst7fRDw5R8uAoNAzisg7IqGEE+A==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@wordpress/commands": "^0.6.11",
"@wordpress/core-data": "^6.12.12",
"@wordpress/core-data": "^6.12.14",
"@wordpress/data": "^9.5.5",
"@wordpress/element": "^5.12.1",
"@wordpress/i18n": "^4.35.1",
@ -6445,13 +6445,13 @@
}
},
"node_modules/@wordpress/core-data": {
"version": "6.12.12",
"resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-6.12.12.tgz",
"integrity": "sha512-blvSNAIFXbAwyXIO0DKIKwz6KDLPHZdtwEOGlr1Gq/c1w53kLQ56B36fNSB10YYlHhUuZ+Ir/PXhZgoT0QhsVg==",
"version": "6.12.14",
"resolved": "https://registry.npmjs.org/@wordpress/core-data/-/core-data-6.12.14.tgz",
"integrity": "sha512-mAS9r8Ve8KBW9JX7WUC4JEJWxrJ2b2v5xRx8h/nL6tZZzCC46CN78jluLzZZaJ5Mj1qMAGj8bfET0B71dcKkDw==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@wordpress/api-fetch": "^6.32.1",
"@wordpress/block-editor": "^12.3.12",
"@wordpress/block-editor": "^12.3.13",
"@wordpress/blocks": "^12.12.7",
"@wordpress/compose": "^6.12.2",
"@wordpress/data": "^9.5.5",
@ -6485,17 +6485,17 @@
}
},
"node_modules/@wordpress/customize-widgets": {
"version": "4.12.14",
"resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.12.14.tgz",
"integrity": "sha512-i/aViHMjyDZWtimGjO8bishrAYBDTaKo8oVNC609Z1r3xLS769i/cDIAFzn1MaEBguo/GwsEqMC/g9WMy8SU+Q==",
"version": "4.12.16",
"resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-4.12.16.tgz",
"integrity": "sha512-PmMgfpo/tbvWWVriYHUC128qYhofhxrHQagTsMcGVf/0CpFfTtewJr04oj2mWdbOUgUnx/y3yTeYuoBPqVOvZw==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@wordpress/block-editor": "^12.3.12",
"@wordpress/block-library": "^8.12.14",
"@wordpress/block-editor": "^12.3.13",
"@wordpress/block-library": "^8.12.16",
"@wordpress/blocks": "^12.12.7",
"@wordpress/components": "^25.1.10",
"@wordpress/compose": "^6.12.2",
"@wordpress/core-data": "^6.12.12",
"@wordpress/core-data": "^6.12.14",
"@wordpress/data": "^9.5.5",
"@wordpress/dom": "^3.35.1",
"@wordpress/element": "^5.12.1",
@ -6509,7 +6509,7 @@
"@wordpress/media-utils": "^4.26.1",
"@wordpress/preferences": "^3.12.10",
"@wordpress/private-apis": "^0.17.2",
"@wordpress/widgets": "^3.12.12",
"@wordpress/widgets": "^3.12.14",
"classnames": "^2.3.1",
"fast-deep-equal": "^3.1.3"
},
@ -6665,25 +6665,25 @@
}
},
"node_modules/@wordpress/edit-post": {
"version": "7.12.14",
"resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.12.14.tgz",
"integrity": "sha512-YDzWAe5iK/9ZO79btikwbm0IhoxOOYgJZhx/wl+yzpe31Leo2ihtchDJt7PsIVSk5bFVkHyxNaw4gXEerl/cTw==",
"version": "7.12.16",
"resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-7.12.16.tgz",
"integrity": "sha512-ZKpLin+kyREWswSx3mF5b8RHeH+M2IcJgNljWtF4aRK+rI+eMT7lBBYNMHRB5a89UkAqBj6rUEN/Pb0QwXL0sg==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@wordpress/a11y": "^3.35.1",
"@wordpress/api-fetch": "^6.32.1",
"@wordpress/block-editor": "^12.3.12",
"@wordpress/block-library": "^8.12.14",
"@wordpress/block-editor": "^12.3.13",
"@wordpress/block-library": "^8.12.16",
"@wordpress/blocks": "^12.12.7",
"@wordpress/commands": "^0.6.11",
"@wordpress/components": "^25.1.10",
"@wordpress/compose": "^6.12.2",
"@wordpress/core-commands": "^0.4.12",
"@wordpress/core-data": "^6.12.12",
"@wordpress/core-commands": "^0.4.14",
"@wordpress/core-data": "^6.12.14",
"@wordpress/data": "^9.5.5",
"@wordpress/deprecated": "^3.35.1",
"@wordpress/dom": "^3.35.1",
"@wordpress/editor": "^13.12.12",
"@wordpress/editor": "^13.12.14",
"@wordpress/element": "^5.12.1",
"@wordpress/hooks": "^3.35.1",
"@wordpress/i18n": "^4.35.1",
@ -6699,7 +6699,7 @@
"@wordpress/url": "^3.36.1",
"@wordpress/viewport": "^5.12.5",
"@wordpress/warning": "^2.35.1",
"@wordpress/widgets": "^3.12.12",
"@wordpress/widgets": "^3.12.14",
"classnames": "^2.3.1",
"memize": "^2.1.0",
"rememo": "^4.0.2"
@ -6713,26 +6713,26 @@
}
},
"node_modules/@wordpress/edit-site": {
"version": "5.12.14",
"resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.12.14.tgz",
"integrity": "sha512-IFHVpcAkFb2JM01kElWE1iKSTHYwjUIKhaWNCTi/BtjQ/cDJ3fpUmC30N5L+63uUKPkyZUBJmkIoiT+sTGfQ3A==",
"version": "5.12.16",
"resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-5.12.16.tgz",
"integrity": "sha512-O7iZR2l41fhy88r+gkRlTjLKNQFKbm+L6k16azLLRIGTnRqdRoRqIUnSkFZBkH2yiaPs6Cx6DOJFVf3OWS0mUw==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@wordpress/a11y": "^3.35.1",
"@wordpress/api-fetch": "^6.32.1",
"@wordpress/block-editor": "^12.3.12",
"@wordpress/block-library": "^8.12.14",
"@wordpress/block-editor": "^12.3.13",
"@wordpress/block-library": "^8.12.16",
"@wordpress/blocks": "^12.12.7",
"@wordpress/commands": "^0.6.11",
"@wordpress/components": "^25.1.10",
"@wordpress/compose": "^6.12.2",
"@wordpress/core-commands": "^0.4.12",
"@wordpress/core-data": "^6.12.12",
"@wordpress/core-commands": "^0.4.14",
"@wordpress/core-data": "^6.12.14",
"@wordpress/data": "^9.5.5",
"@wordpress/date": "^4.35.1",
"@wordpress/deprecated": "^3.35.1",
"@wordpress/dom": "^3.35.1",
"@wordpress/editor": "^13.12.12",
"@wordpress/editor": "^13.12.14",
"@wordpress/element": "^5.12.1",
"@wordpress/escape-html": "^2.35.1",
"@wordpress/hooks": "^3.35.1",
@ -6748,12 +6748,12 @@
"@wordpress/preferences": "^3.12.10",
"@wordpress/primitives": "^3.33.1",
"@wordpress/private-apis": "^0.17.2",
"@wordpress/reusable-blocks": "^4.12.12",
"@wordpress/reusable-blocks": "^4.12.14",
"@wordpress/router": "^0.4.2",
"@wordpress/style-engine": "^1.18.1",
"@wordpress/url": "^3.36.1",
"@wordpress/viewport": "^5.12.5",
"@wordpress/widgets": "^3.12.12",
"@wordpress/widgets": "^3.12.14",
"@wordpress/wordcount": "^3.35.1",
"change-case": "^4.1.2",
"classnames": "^2.3.1",
@ -6777,18 +6777,18 @@
}
},
"node_modules/@wordpress/edit-widgets": {
"version": "5.12.14",
"resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.12.14.tgz",
"integrity": "sha512-y8XWAaxW8k7IufIbAFwQMnqQpyXtjcnJgRTUERscUQyXdfcOWDiKvjQE/AH6fcZLLYqzmkVj+YR3OJP121HA+w==",
"version": "5.12.16",
"resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-5.12.16.tgz",
"integrity": "sha512-rT7S+Dgs50ORLIC7z75T796hOG9wcswuAKK//Ac1ZFRMoh3SUsjTAkIWY1uxtAuFTw2AimJt62fc/bI9Q95rvQ==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@wordpress/api-fetch": "^6.32.1",
"@wordpress/block-editor": "^12.3.12",
"@wordpress/block-library": "^8.12.14",
"@wordpress/block-editor": "^12.3.13",
"@wordpress/block-library": "^8.12.16",
"@wordpress/blocks": "^12.12.7",
"@wordpress/components": "^25.1.10",
"@wordpress/compose": "^6.12.2",
"@wordpress/core-data": "^6.12.12",
"@wordpress/core-data": "^6.12.14",
"@wordpress/data": "^9.5.5",
"@wordpress/deprecated": "^3.35.1",
"@wordpress/dom": "^3.35.1",
@ -6804,9 +6804,9 @@
"@wordpress/plugins": "^6.3.10",
"@wordpress/preferences": "^3.12.10",
"@wordpress/private-apis": "^0.17.2",
"@wordpress/reusable-blocks": "^4.12.12",
"@wordpress/reusable-blocks": "^4.12.14",
"@wordpress/url": "^3.36.1",
"@wordpress/widgets": "^3.12.12",
"@wordpress/widgets": "^3.12.14",
"classnames": "^2.3.1"
},
"engines": {
@ -6818,19 +6818,19 @@
}
},
"node_modules/@wordpress/editor": {
"version": "13.12.12",
"resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-13.12.12.tgz",
"integrity": "sha512-p4/C12ifl0RQW6I5VtZnXNng77V+b0jWHY5JRl5n/xL1Bdcg3JAUqlCVYmk9IYI5rBN/m+CTdbaAJYirglpKyA==",
"version": "13.12.14",
"resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-13.12.14.tgz",
"integrity": "sha512-J//UpwTE2hoA8zw6l4RuEaGkNQQluwrnXUOIpy606UjpAxdJxBeatzRHlzFm16Zo5YnT4fg95YWOtvjIMy/9yQ==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@wordpress/a11y": "^3.35.1",
"@wordpress/api-fetch": "^6.32.1",
"@wordpress/blob": "^3.35.1",
"@wordpress/block-editor": "^12.3.12",
"@wordpress/block-editor": "^12.3.13",
"@wordpress/blocks": "^12.12.7",
"@wordpress/components": "^25.1.10",
"@wordpress/compose": "^6.12.2",
"@wordpress/core-data": "^6.12.12",
"@wordpress/core-data": "^6.12.14",
"@wordpress/data": "^9.5.5",
"@wordpress/date": "^4.35.1",
"@wordpress/deprecated": "^3.35.1",
@ -6846,7 +6846,7 @@
"@wordpress/notices": "^4.3.5",
"@wordpress/preferences": "^3.12.10",
"@wordpress/private-apis": "^0.17.2",
"@wordpress/reusable-blocks": "^4.12.12",
"@wordpress/reusable-blocks": "^4.12.14",
"@wordpress/rich-text": "^6.12.7",
"@wordpress/server-side-render": "^4.12.12",
"@wordpress/url": "^3.36.1",
@ -7016,13 +7016,13 @@
}
},
"node_modules/@wordpress/format-library": {
"version": "4.12.12",
"resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-4.12.12.tgz",
"integrity": "sha512-MWJmQwp+V5jlE1U3+8Gk4Ok8JXzjIWANXMUEwQL6YrgsYGgPqezF8wMpHbc/kp8E07M5ty2it5cWlCoEUz/4Zg==",
"version": "4.12.13",
"resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-4.12.13.tgz",
"integrity": "sha512-NJ7O3YPCk+qzbiwYNMgzwNTz4yzkH7lE0eFzTec5CDP/iS6WhX1QJNrZWxvI91ArZEd9Zqaz1w7FDWwv0lsOeA==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@wordpress/a11y": "^3.35.1",
"@wordpress/block-editor": "^12.3.12",
"@wordpress/block-editor": "^12.3.13",
"@wordpress/components": "^25.1.10",
"@wordpress/compose": "^6.12.2",
"@wordpress/data": "^9.5.5",
@ -7417,14 +7417,14 @@
}
},
"node_modules/@wordpress/reusable-blocks": {
"version": "4.12.12",
"resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-4.12.12.tgz",
"integrity": "sha512-iIkx1Aqz09xfs0T9sVKutuEkNCfM/jQwZBhsaMhBaJ+MSjXksx0SE1ju7nG9Khz4Kv5BeGPk8L76yulKZpvZaw==",
"version": "4.12.14",
"resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-4.12.14.tgz",
"integrity": "sha512-ygsXONf5JPGUEG6U5LKbEXsbxXJtleCZhBvUy+hJPG5bnIDLaBVCiuTXyULB2B0SVe9yFVYBOAI7ksMhahe9Tw==",
"dependencies": {
"@wordpress/block-editor": "^12.3.12",
"@wordpress/block-editor": "^12.3.13",
"@wordpress/blocks": "^12.12.7",
"@wordpress/components": "^25.1.10",
"@wordpress/core-data": "^6.12.12",
"@wordpress/core-data": "^6.12.14",
"@wordpress/data": "^9.5.5",
"@wordpress/element": "^5.12.1",
"@wordpress/i18n": "^4.35.1",
@ -8635,17 +8635,17 @@
}
},
"node_modules/@wordpress/widgets": {
"version": "3.12.12",
"resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-3.12.12.tgz",
"integrity": "sha512-pzgVc5FfhDqnMF0v7sSwwuCv7TJcGguuKAl4rGE8TQ46Nm8N8XSMpoi6xLqLuTCDvCBcM2HxNtOG+aiKrvAeQA==",
"version": "3.12.14",
"resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-3.12.14.tgz",
"integrity": "sha512-DB2Oy8XIskE2OlvmC6CNjYeh4gmthUvrJoHPFQPnG0ahOLPfAVM5vPrPvMcoyDO5/aLvDH2ghxhl3CiNw2XNwg==",
"dependencies": {
"@babel/runtime": "^7.16.0",
"@wordpress/api-fetch": "^6.32.1",
"@wordpress/block-editor": "^12.3.12",
"@wordpress/block-editor": "^12.3.13",
"@wordpress/blocks": "^12.12.7",
"@wordpress/components": "^25.1.10",
"@wordpress/compose": "^6.12.2",
"@wordpress/core-data": "^6.12.12",
"@wordpress/core-data": "^6.12.14",
"@wordpress/data": "^9.5.5",
"@wordpress/element": "^5.12.1",
"@wordpress/i18n": "^4.35.1",

View File

@ -83,30 +83,30 @@
"@wordpress/api-fetch": "6.32.1",
"@wordpress/autop": "3.35.1",
"@wordpress/blob": "3.35.1",
"@wordpress/block-directory": "4.12.14",
"@wordpress/block-editor": "12.3.12",
"@wordpress/block-library": "8.12.14",
"@wordpress/block-directory": "4.12.16",
"@wordpress/block-editor": "12.3.13",
"@wordpress/block-library": "8.12.16",
"@wordpress/block-serialization-default-parser": "4.35.1",
"@wordpress/blocks": "12.12.7",
"@wordpress/commands": "0.6.11",
"@wordpress/components": "25.1.10",
"@wordpress/compose": "6.12.2",
"@wordpress/core-commands": "0.4.12",
"@wordpress/core-data": "6.12.12",
"@wordpress/customize-widgets": "4.12.14",
"@wordpress/core-commands": "0.4.14",
"@wordpress/core-data": "6.12.14",
"@wordpress/customize-widgets": "4.12.16",
"@wordpress/data": "9.5.5",
"@wordpress/data-controls": "3.4.5",
"@wordpress/date": "4.35.1",
"@wordpress/deprecated": "3.35.1",
"@wordpress/dom": "3.35.1",
"@wordpress/dom-ready": "3.35.1",
"@wordpress/edit-post": "7.12.14",
"@wordpress/edit-site": "5.12.14",
"@wordpress/edit-widgets": "5.12.14",
"@wordpress/editor": "13.12.12",
"@wordpress/edit-post": "7.12.16",
"@wordpress/edit-site": "5.12.16",
"@wordpress/edit-widgets": "5.12.16",
"@wordpress/editor": "13.12.14",
"@wordpress/element": "5.12.1",
"@wordpress/escape-html": "2.35.1",
"@wordpress/format-library": "4.12.12",
"@wordpress/format-library": "4.12.13",
"@wordpress/hooks": "3.35.1",
"@wordpress/html-entities": "3.35.1",
"@wordpress/i18n": "4.35.1",
@ -126,7 +126,7 @@
"@wordpress/priority-queue": "2.35.1",
"@wordpress/private-apis": "0.17.2",
"@wordpress/redux-routine": "4.35.1",
"@wordpress/reusable-blocks": "4.12.12",
"@wordpress/reusable-blocks": "4.12.14",
"@wordpress/rich-text": "6.12.7",
"@wordpress/router": "0.4.2",
"@wordpress/server-side-render": "4.12.12",
@ -136,7 +136,7 @@
"@wordpress/url": "3.36.1",
"@wordpress/viewport": "5.12.5",
"@wordpress/warning": "2.35.1",
"@wordpress/widgets": "3.12.12",
"@wordpress/widgets": "3.12.14",
"@wordpress/wordcount": "3.35.1",
"backbone": "1.5.0",
"clipboard": "2.0.11",

File diff suppressed because one or more lines are too long

View File

@ -34,7 +34,7 @@ function render_block_core_footnotes( $attributes, $content, $block ) {
$footnotes = json_decode( $footnotes, true );
if ( count( $footnotes ) === 0 ) {
if ( ! is_array( $footnotes ) || count( $footnotes ) === 0 ) {
return '';
}
@ -98,7 +98,7 @@ function wp_save_footnotes_meta( $revision_id ) {
if ( $footnotes ) {
// Can't use update_post_meta() because it doesn't allow revisions.
update_metadata( 'post', $revision_id, 'footnotes', $footnotes );
update_metadata( 'post', $revision_id, 'footnotes', wp_slash( $footnotes ) );
}
}
}
@ -154,15 +154,14 @@ function wp_add_footnotes_revisions_to_post_meta( $post ) {
if ( $footnotes ) {
// Can't use update_post_meta() because it doesn't allow revisions.
update_metadata( 'post', $wp_temporary_footnote_revision_id, 'footnotes', $footnotes );
update_metadata( 'post', $wp_temporary_footnote_revision_id, 'footnotes', wp_slash( $footnotes ) );
}
}
}
}
foreach ( array( 'post', 'page' ) as $post_type ) {
add_action( "rest_after_insert_{$post_type}", 'wp_add_footnotes_revisions_to_post_meta' );
}
add_action( 'rest_after_insert_post', 'wp_add_footnotes_revisions_to_post_meta' );
add_action( 'rest_after_insert_page', 'wp_add_footnotes_revisions_to_post_meta' );
/**
* Restores the footnotes meta value from the revision.
@ -176,7 +175,7 @@ function wp_restore_footnotes_from_revision( $post_id, $revision_id ) {
$footnotes = get_post_meta( $revision_id, 'footnotes', true );
if ( $footnotes ) {
update_post_meta( $post_id, 'footnotes', $footnotes );
update_post_meta( $post_id, 'footnotes', wp_slash( $footnotes ) );
} else {
delete_post_meta( $post_id, 'footnotes' );
}
@ -243,7 +242,7 @@ function _wp_rest_api_autosave_meta( $autosave ) {
return;
}
update_post_meta( $id, 'footnotes', $body['meta']['footnotes'] );
update_post_meta( $id, 'footnotes', wp_slash( $body['meta']['footnotes'] ) );
}
// See https://github.com/WordPress/wordpress-develop/blob/2103cb9966e57d452c94218bbc3171579b536a40/src/wp-includes/rest-api/endpoints/class-wp-rest-autosaves-controller.php#L391C1-L391C1.
add_action( 'wp_creating_autosave', '_wp_rest_api_autosave_meta' );