WordPress.org

Make WordPress Core

Changeset 51443


Ignore:
Timestamp:
07/15/2021 06:53:34 PM (5 months ago)
Author:
youknowriad
Message:

Block Editor: Backport fixes targetted for WordPress 5.8 RC4.

This includes:

  • Suggestion List: Check if a node exists to scroll into view.
  • Autocomplete: reset state for empty text.
  • Adds auxiliary class names for editor styles in the widgets editor.
  • Extract snackbars into a separate component.
  • Rich text: run input rules after composition end.
  • iframe: load inline styles.
  • Multi select: select all: restore ref callback.
  • Writing flow: allow select all from empty selection.
  • Post Excerpt: Fix excerpt_more filter conflict and remove wordCount attribute.
  • Add the percent unit to the default units in Core.

Props desrosj.
See #53397.

Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r51426 r51443  
    32543254        },
    32553255        "@wordpress/block-directory": {
    3256             "version": "2.1.19",
    3257             "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-2.1.19.tgz",
    3258             "integrity": "sha512-IQ0LKuNQ0VpV5Z0EADhZ1qCUhriAbQdfOIzPEcXM070Unx4y5BKhRnz4KW5dqS/k6L7FFe12jTeOdD3Dspv/fA==",
     3256            "version": "2.1.20",
     3257            "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-2.1.20.tgz",
     3258            "integrity": "sha512-22RezQMYfF78N2yPFabAx44U/3DlrHgT6i77wqzZktGw97PaWJtbw9pJkCxDbve3hDjb6EuAkXF1LpRxpLkGjw==",
    32593259            "requires": {
    32603260                "@babel/runtime": "^7.13.10",
    32613261                "@wordpress/a11y": "^3.1.1",
    32623262                "@wordpress/api-fetch": "^5.1.1",
    3263                 "@wordpress/block-editor": "^6.1.12",
     3263                "@wordpress/block-editor": "^6.1.13",
    32643264                "@wordpress/blocks": "^9.1.7",
    3265                 "@wordpress/components": "^14.1.9",
     3265                "@wordpress/components": "^14.1.10",
    32663266                "@wordpress/compose": "^4.1.5",
    32673267                "@wordpress/core-data": "^3.1.11",
    32683268                "@wordpress/data": "^5.1.5",
    32693269                "@wordpress/data-controls": "^2.1.5",
    3270                 "@wordpress/edit-post": "^4.1.19",
    3271                 "@wordpress/editor": "^10.1.15",
     3270                "@wordpress/edit-post": "^4.1.20",
     3271                "@wordpress/editor": "^10.1.16",
    32723272                "@wordpress/element": "^3.1.1",
    32733273                "@wordpress/hooks": "^3.1.1",
     
    32953295        },
    32963296        "@wordpress/block-editor": {
    3297             "version": "6.1.12",
    3298             "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-6.1.12.tgz",
    3299             "integrity": "sha512-WhCGKEGDvPVAsUSLhUIzS/kW0Hn85wFLCgthSiIivzZKPlisJXnzojIcz64+FaDip9CKZKLmaxyRvpSt6JeP+Q==",
     3297            "version": "6.1.13",
     3298            "resolved": "https://registry.npmjs.org/@wordpress/block-editor/-/block-editor-6.1.13.tgz",
     3299            "integrity": "sha512-I2NEN+7fUTNiJ/NDkap5NuVT6T9CP+KcpZYziYvYWomcP1iCwBFo78EqBY4mqdhcczWfl1ykjhljPq2DW4ELPg==",
    33003300            "requires": {
    33013301                "@babel/runtime": "^7.13.10",
     
    33043304                "@wordpress/block-serialization-default-parser": "^4.1.1",
    33053305                "@wordpress/blocks": "^9.1.7",
    3306                 "@wordpress/components": "^14.1.9",
     3306                "@wordpress/components": "^14.1.10",
    33073307                "@wordpress/compose": "^4.1.5",
    33083308                "@wordpress/data": "^5.1.5",
     
    33163316                "@wordpress/icons": "^4.0.2",
    33173317                "@wordpress/is-shallow-equal": "^4.1.1",
    3318                 "@wordpress/keyboard-shortcuts": "^2.1.5",
     3318                "@wordpress/keyboard-shortcuts": "^2.1.6",
    33193319                "@wordpress/keycodes": "^3.1.1",
    33203320                "@wordpress/notices": "^3.1.5",
     
    33533353        },
    33543354        "@wordpress/block-library": {
    3355             "version": "3.2.17",
    3356             "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-3.2.17.tgz",
    3357             "integrity": "sha512-JfkLaycaF+gVEMJq0THiAjrHHJGp9APXIYWEHHQc1jzR6KSL7jiplild9eO3ZwLNSXSjzztwG0I3NBfKd5xddA==",
     3355            "version": "3.2.18",
     3356            "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-3.2.18.tgz",
     3357            "integrity": "sha512-f61TICHWTIjvWnf8X5NvzYUDZ+RdJ944JLxWKJEhWGljk5iw0Cis+fZbPGK0QQoo8PzKXxqsTNj0oKRYpq92Pw==",
    33583358            "requires": {
    33593359                "@babel/runtime": "^7.13.10",
     
    33623362                "@wordpress/autop": "^3.1.1",
    33633363                "@wordpress/blob": "^3.1.1",
    3364                 "@wordpress/block-editor": "^6.1.12",
     3364                "@wordpress/block-editor": "^6.1.13",
    33653365                "@wordpress/blocks": "^9.1.7",
    3366                 "@wordpress/components": "^14.1.9",
     3366                "@wordpress/components": "^14.1.10",
    33673367                "@wordpress/compose": "^4.1.5",
    33683368                "@wordpress/core-data": "^3.1.11",
     
    33803380                "@wordpress/notices": "^3.1.5",
    33813381                "@wordpress/primitives": "^2.1.1",
    3382                 "@wordpress/reusable-blocks": "^2.1.15",
     3382                "@wordpress/reusable-blocks": "^2.1.16",
    33833383                "@wordpress/rich-text": "^4.1.5",
    3384                 "@wordpress/server-side-render": "^2.1.10",
     3384                "@wordpress/server-side-render": "^2.1.11",
    33853385                "@wordpress/url": "^3.1.1",
    33863386                "@wordpress/viewport": "^3.1.5",
     
    34393439        },
    34403440        "@wordpress/components": {
    3441             "version": "14.1.9",
    3442             "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-14.1.9.tgz",
    3443             "integrity": "sha512-DxKM98U/iNpHF74vd4eohwvo04V9AONoulkJALJDcB8yTGfUmtCrauDLqfMAwCZf71vCcDqmp0RbprXAXk/elQ==",
     3441            "version": "14.1.10",
     3442            "resolved": "https://registry.npmjs.org/@wordpress/components/-/components-14.1.10.tgz",
     3443            "integrity": "sha512-MQ1wgJcLtZJcu2jztR2USELbEamqcPTEnZJmJMpdFYg2cR5b3puj3X0ehPjq3G7kSNCRu1J6mPEv5iADbLM6Yg==",
    34443444            "requires": {
    34453445                "@babel/runtime": "^7.13.10",
     
    35463546        },
    35473547        "@wordpress/customize-widgets": {
    3548             "version": "1.0.18",
    3549             "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-1.0.18.tgz",
    3550             "integrity": "sha512-F0kaaVg3OEoSudJtcaPxAxmOAzQOMvPPHant8Ht3JMJlpIT0h75GvERF3ARapzNepct6M3gpKixOkPUN3o4f1w==",
     3548            "version": "1.0.19",
     3549            "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-1.0.19.tgz",
     3550            "integrity": "sha512-3nQMd0Rxy0PIPL3Q6F+ZnHoWVahcWUKvzLnHpdJSx37CGXDJcA4Mx6fl+KLJSUE1ADccZhtKYQRtVIxexaj2ng==",
    35513551            "requires": {
    35523552                "@babel/runtime": "^7.11.2",
    35533553                "@wordpress/a11y": "^3.1.1",
    3554                 "@wordpress/block-editor": "^6.1.12",
    3555                 "@wordpress/block-library": "^3.2.17",
     3554                "@wordpress/block-editor": "^6.1.13",
     3555                "@wordpress/block-library": "^3.2.18",
    35563556                "@wordpress/blocks": "^9.1.7",
    3557                 "@wordpress/components": "^14.1.9",
     3557                "@wordpress/components": "^14.1.10",
    35583558                "@wordpress/compose": "^4.1.5",
    35593559                "@wordpress/core-data": "^3.1.11",
     
    35653565                "@wordpress/icons": "^4.0.2",
    35663566                "@wordpress/is-shallow-equal": "^4.1.1",
    3567                 "@wordpress/keyboard-shortcuts": "^2.1.5",
     3567                "@wordpress/keyboard-shortcuts": "^2.1.6",
    35683568                "@wordpress/keycodes": "^3.1.1",
    35693569                "@wordpress/media-utils": "^2.1.1",
    3570                 "@wordpress/widgets": "^1.1.17",
     3570                "@wordpress/widgets": "^1.1.18",
    35713571                "classnames": "^2.2.6",
    35723572                "lodash": "^4.17.21"
     
    36833683        },
    36843684        "@wordpress/edit-post": {
    3685             "version": "4.1.19",
    3686             "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-4.1.19.tgz",
    3687             "integrity": "sha512-KZ9Xr9lrbq9sPeRJ9s+xxsPg1jJHJUge8G24mo13aI7eyNa7u3ruQPHsuI4qH7tHN5sZtjBSiY3Xboxfl6kJQg==",
     3685            "version": "4.1.20",
     3686            "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-4.1.20.tgz",
     3687            "integrity": "sha512-W420fWlb025GsXIZEawCF4O8B7vtwzGu1UmwvdM3kOcsq09yvSAoIuoiPNzQDJhkK1DcsBvglH6vEYA6uEbwPA==",
    36883688            "requires": {
    36893689                "@babel/runtime": "^7.13.10",
    36903690                "@wordpress/a11y": "^3.1.1",
    36913691                "@wordpress/api-fetch": "^5.1.1",
    3692                 "@wordpress/block-editor": "^6.1.12",
    3693                 "@wordpress/block-library": "^3.2.17",
     3692                "@wordpress/block-editor": "^6.1.13",
     3693                "@wordpress/block-library": "^3.2.18",
    36943694                "@wordpress/blocks": "^9.1.7",
    3695                 "@wordpress/components": "^14.1.9",
     3695                "@wordpress/components": "^14.1.10",
    36963696                "@wordpress/compose": "^4.1.5",
    36973697                "@wordpress/core-data": "^3.1.11",
    36983698                "@wordpress/data": "^5.1.5",
    36993699                "@wordpress/data-controls": "^2.1.5",
    3700                 "@wordpress/editor": "^10.1.15",
     3700                "@wordpress/editor": "^10.1.16",
    37013701                "@wordpress/element": "^3.1.1",
    37023702                "@wordpress/hooks": "^3.1.1",
    37033703                "@wordpress/i18n": "^4.1.1",
    37043704                "@wordpress/icons": "^4.0.2",
    3705                 "@wordpress/interface": "^3.1.10",
    3706                 "@wordpress/keyboard-shortcuts": "^2.1.5",
     3705                "@wordpress/interface": "^3.1.11",
     3706                "@wordpress/keyboard-shortcuts": "^2.1.6",
    37073707                "@wordpress/keycodes": "^3.1.1",
    37083708                "@wordpress/media-utils": "^2.1.1",
     
    37403740        },
    37413741        "@wordpress/edit-widgets": {
    3742             "version": "2.1.19",
    3743             "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-2.1.19.tgz",
    3744             "integrity": "sha512-OW9sMWg42bY0aj/1qXREOkXbtgXQoamgdKkNQNJIrkTjmZL9xFHDXaYiUmGI3tkmeaUvYRdjXOiJWTgpPBpdZA==",
     3742            "version": "2.1.20",
     3743            "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-2.1.20.tgz",
     3744            "integrity": "sha512-nCG4DCqfU1a87BI5YQi6MjWMsLNSZ/NWaC8xGECmZF7m+jGJ3WcXDNz1wISUjRPlfTB88uDfxirK7x9RTL5zLA==",
    37453745            "requires": {
    37463746                "@babel/runtime": "^7.13.10",
    37473747                "@wordpress/a11y": "^3.1.1",
    37483748                "@wordpress/api-fetch": "^5.1.1",
    3749                 "@wordpress/block-editor": "^6.1.12",
    3750                 "@wordpress/block-library": "^3.2.17",
     3749                "@wordpress/block-editor": "^6.1.13",
     3750                "@wordpress/block-library": "^3.2.18",
    37513751                "@wordpress/blocks": "^9.1.7",
    3752                 "@wordpress/components": "^14.1.9",
     3752                "@wordpress/components": "^14.1.10",
    37533753                "@wordpress/compose": "^4.1.5",
    37543754                "@wordpress/core-data": "^3.1.11",
     
    37593759                "@wordpress/i18n": "^4.1.1",
    37603760                "@wordpress/icons": "^4.0.2",
    3761                 "@wordpress/interface": "^3.1.10",
    3762                 "@wordpress/keyboard-shortcuts": "^2.1.5",
     3761                "@wordpress/interface": "^3.1.11",
     3762                "@wordpress/keyboard-shortcuts": "^2.1.6",
    37633763                "@wordpress/keycodes": "^3.1.1",
    37643764                "@wordpress/media-utils": "^2.1.1",
    37653765                "@wordpress/notices": "^3.1.5",
    37663766                "@wordpress/plugins": "^3.1.5",
    3767                 "@wordpress/reusable-blocks": "^2.1.15",
    3768                 "@wordpress/server-side-render": "^2.1.10",
     3767                "@wordpress/reusable-blocks": "^2.1.16",
     3768                "@wordpress/server-side-render": "^2.1.11",
    37693769                "@wordpress/url": "^3.1.1",
    3770                 "@wordpress/widgets": "^1.1.17",
     3770                "@wordpress/widgets": "^1.1.18",
    37713771                "classnames": "^2.2.5",
    37723772                "lodash": "^4.17.21",
     
    37893789        },
    37903790        "@wordpress/editor": {
    3791             "version": "10.1.15",
    3792             "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-10.1.15.tgz",
    3793             "integrity": "sha512-IGhgRbo4pR6TrhW5XvfHV2bL0tuuMSwPYd3DpWXgFDNTALvuDgJx9BCHn0LgIZFjM0JJJgA+HAJjGl7OfPsYzQ==",
     3791            "version": "10.1.16",
     3792            "resolved": "https://registry.npmjs.org/@wordpress/editor/-/editor-10.1.16.tgz",
     3793            "integrity": "sha512-QXvV6BxSKAapQeocBn5m83FPzO4x+UFw8EUuM37fiZ0VLeqRuv0Ec2HhxW3WrimeZGEhlG7M1vboGQ2U7VJtmw==",
    37943794            "requires": {
    37953795                "@babel/runtime": "^7.13.10",
     
    37973797                "@wordpress/autop": "^3.1.1",
    37983798                "@wordpress/blob": "^3.1.1",
    3799                 "@wordpress/block-editor": "^6.1.12",
     3799                "@wordpress/block-editor": "^6.1.13",
    38003800                "@wordpress/blocks": "^9.1.7",
    3801                 "@wordpress/components": "^14.1.9",
     3801                "@wordpress/components": "^14.1.10",
    38023802                "@wordpress/compose": "^4.1.5",
    38033803                "@wordpress/core-data": "^3.1.11",
     
    38123812                "@wordpress/icons": "^4.0.2",
    38133813                "@wordpress/is-shallow-equal": "^4.1.1",
    3814                 "@wordpress/keyboard-shortcuts": "^2.1.5",
     3814                "@wordpress/keyboard-shortcuts": "^2.1.6",
    38153815                "@wordpress/keycodes": "^3.1.1",
    38163816                "@wordpress/media-utils": "^2.1.1",
    38173817                "@wordpress/notices": "^3.1.5",
    3818                 "@wordpress/reusable-blocks": "^2.1.15",
     3818                "@wordpress/reusable-blocks": "^2.1.16",
    38193819                "@wordpress/rich-text": "^4.1.5",
    3820                 "@wordpress/server-side-render": "^2.1.10",
     3820                "@wordpress/server-side-render": "^2.1.11",
    38213821                "@wordpress/url": "^3.1.1",
    38223822                "@wordpress/wordcount": "^3.1.1",
     
    39183918        },
    39193919        "@wordpress/format-library": {
    3920             "version": "2.1.12",
    3921             "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-2.1.12.tgz",
    3922             "integrity": "sha512-VajW9ilcVrp3lq4Jr7ngkpTO5RNm8y7taRbKGIwpp6UrOskb5123VZxgc1PPtLW+jlXNx3JerPys3sGTsMc2oQ==",
     3920            "version": "2.1.13",
     3921            "resolved": "https://registry.npmjs.org/@wordpress/format-library/-/format-library-2.1.13.tgz",
     3922            "integrity": "sha512-svWUeJATHapPXeh7wEGCHKy4eoYwERe1JQF7Rxir/s3Z1jAOmmzWDOxXKBcUVUGZp31laAQ3czJ7BzuPuyurlw==",
    39233923            "requires": {
    39243924                "@babel/runtime": "^7.13.10",
    39253925                "@wordpress/a11y": "^3.1.1",
    3926                 "@wordpress/block-editor": "^6.1.12",
    3927                 "@wordpress/components": "^14.1.9",
     3926                "@wordpress/block-editor": "^6.1.13",
     3927                "@wordpress/components": "^14.1.10",
    39283928                "@wordpress/compose": "^4.1.5",
    39293929                "@wordpress/data": "^5.1.5",
     
    39803980        },
    39813981        "@wordpress/interface": {
    3982             "version": "3.1.10",
    3983             "resolved": "https://registry.npmjs.org/@wordpress/interface/-/interface-3.1.10.tgz",
    3984             "integrity": "sha512-Abv+S/NanPZfYJbv3pVegVF7tUCbeRInz7mh5uofFJ5fjWlt2n3p2Ojl2E34QzxAy14d8kJLUY0i+KSGBxD+3w==",
     3982            "version": "3.1.11",
     3983            "resolved": "https://registry.npmjs.org/@wordpress/interface/-/interface-3.1.11.tgz",
     3984            "integrity": "sha512-oyDHaIzYRYLiARBS0sEvpKbNmSrv1KaVp9IugUFDOGwT6NE6l9n2+3j600G8mZBpfg3iL222rMFi40LOc6f5Kg==",
    39853985            "requires": {
    39863986                "@babel/runtime": "^7.13.10",
    3987                 "@wordpress/components": "^14.1.9",
     3987                "@wordpress/components": "^14.1.10",
    39883988                "@wordpress/compose": "^4.1.5",
    39893989                "@wordpress/data": "^5.1.5",
     
    40314031        },
    40324032        "@wordpress/keyboard-shortcuts": {
    4033             "version": "2.1.5",
    4034             "resolved": "https://registry.npmjs.org/@wordpress/keyboard-shortcuts/-/keyboard-shortcuts-2.1.5.tgz",
    4035             "integrity": "sha512-Uis6gU1vwyaI7ii6m8nJS369k34ebLaOcCHyROC40Z9FAiuIXjBH8RfwaDEKBa/D7LMygIeFlG7fcFa6qdNNQQ==",
     4033            "version": "2.1.6",
     4034            "resolved": "https://registry.npmjs.org/@wordpress/keyboard-shortcuts/-/keyboard-shortcuts-2.1.6.tgz",
     4035            "integrity": "sha512-YyF0Iy6F9udYwsxHKsWFLcIUQzfbr9MS3qcm0YmhszZCtLEwKmfcL6s3n4KTFD7EosDXcxyivoifLdiWY3R27w==",
    40364036            "requires": {
    40374037                "@babel/runtime": "^7.13.10",
     
    40834083        },
    40844084        "@wordpress/list-reusable-blocks": {
    4085             "version": "2.1.9",
    4086             "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-2.1.9.tgz",
    4087             "integrity": "sha512-aiqHf/YDuautZsZzwiNc3koY1A+bWjkuWuo59fwIAhAWlZa7KfSHyhl+t93ZmG8SFooCAXyhmnegcLmfqygWXA==",
     4085            "version": "2.1.10",
     4086            "resolved": "https://registry.npmjs.org/@wordpress/list-reusable-blocks/-/list-reusable-blocks-2.1.10.tgz",
     4087            "integrity": "sha512-benX4UNOuXZR6Vzkxe48QR/eusqyCs44yCJjh1foem6kdVyMeduwEx88WALVIJq34Y6X3l3bHpQRcVVtEpdEAA==",
    40884088            "requires": {
    40894089                "@babel/runtime": "^7.13.10",
    40904090                "@wordpress/api-fetch": "^5.1.1",
    4091                 "@wordpress/components": "^14.1.9",
     4091                "@wordpress/components": "^14.1.10",
    40924092                "@wordpress/compose": "^4.1.5",
    40934093                "@wordpress/element": "^3.1.1",
     
    41274127        },
    41284128        "@wordpress/nux": {
    4129             "version": "4.1.9",
    4130             "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-4.1.9.tgz",
    4131             "integrity": "sha512-Fp998AcoZ/bsCZM8B+RitDRvVFR+06QoUaILZByHVLjoZ8x1XgsjPXYqIjEgnjUE9v6ediWPYNO59cigDfXSRg==",
     4129            "version": "4.1.10",
     4130            "resolved": "https://registry.npmjs.org/@wordpress/nux/-/nux-4.1.10.tgz",
     4131            "integrity": "sha512-DONHYpLwZV7hAh4C0ZVJTBgKyItcq7zC2UTyXASA2jKj1KDWTQGf0SgxdK5KZLUz43/GlqfTBadl3IaFl9gpvA==",
    41324132            "requires": {
    41334133                "@babel/runtime": "^7.13.10",
    4134                 "@wordpress/components": "^14.1.9",
     4134                "@wordpress/components": "^14.1.10",
    41354135                "@wordpress/compose": "^4.1.5",
    41364136                "@wordpress/data": "^5.1.5",
     
    42374237        },
    42384238        "@wordpress/reusable-blocks": {
    4239             "version": "2.1.15",
    4240             "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-2.1.15.tgz",
    4241             "integrity": "sha512-S8M5g/qKUkawFykInR4WwKqLgMUkfFDS85L8wZTeKCeodQVuf/BdJ26gIUNa0ORS4MP46SmSEq8rsYfnXwIXNA==",
    4242             "requires": {
    4243                 "@wordpress/block-editor": "^6.1.12",
     4239            "version": "2.1.16",
     4240            "resolved": "https://registry.npmjs.org/@wordpress/reusable-blocks/-/reusable-blocks-2.1.16.tgz",
     4241            "integrity": "sha512-CEVKQcUS7VJH7qUMRzRQqmVZB3JpZ0dKphjWYS0NacJIN2Jlm1HLJS1Sxf4Ayv0SKmYgQp2NE5Zas4aki8wPfA==",
     4242            "requires": {
     4243                "@wordpress/block-editor": "^6.1.13",
    42444244                "@wordpress/blocks": "^9.1.7",
    4245                 "@wordpress/components": "^14.1.9",
     4245                "@wordpress/components": "^14.1.10",
    42464246                "@wordpress/compose": "^4.1.5",
    42474247                "@wordpress/core-data": "^3.1.11",
     
    48344834        },
    48354835        "@wordpress/server-side-render": {
    4836             "version": "2.1.10",
    4837             "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-2.1.10.tgz",
    4838             "integrity": "sha512-AGkH0Md+y2JKj/kwFS35RBd5Rbb8pwmX3hU7m0gEqm/dakZmQ4n02tVpOPACn8BtZIeP2HiIbjHihCnr5UK5mg==",
     4836            "version": "2.1.11",
     4837            "resolved": "https://registry.npmjs.org/@wordpress/server-side-render/-/server-side-render-2.1.11.tgz",
     4838            "integrity": "sha512-TY2OcJRfGpnhCaeAsh7/tHVNOLzToZ1lJ07zfIePCVQ6lNuQvBpLWXuEf7EGXH6jc2AyRS8ler3zCxHX2MaIBA==",
    48394839            "requires": {
    48404840                "@babel/runtime": "^7.13.10",
    48414841                "@wordpress/api-fetch": "^5.1.1",
    48424842                "@wordpress/blocks": "^9.1.7",
    4843                 "@wordpress/components": "^14.1.9",
     4843                "@wordpress/components": "^14.1.10",
    48444844                "@wordpress/compose": "^4.1.5",
    48454845                "@wordpress/data": "^5.1.5",
     
    49084908        },
    49094909        "@wordpress/widgets": {
    4910             "version": "1.1.17",
    4911             "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-1.1.17.tgz",
    4912             "integrity": "sha512-kGQhtYBEPCKFkQwpMEGIhgca4qrF0wXSqgr0Tdec4dbZGqCS6GTasUCoKoCZmogAMHVkIP6KiEM34ZFSQIM8Yw==",
     4910            "version": "1.1.18",
     4911            "resolved": "https://registry.npmjs.org/@wordpress/widgets/-/widgets-1.1.18.tgz",
     4912            "integrity": "sha512-qUg595IecNXmu/8sS5l7NJdcMJbToj+0bjOQzj3bZDapQuASpWHl9YjrrNNRwt1koq9CXp65E14dNuDFj0RKeQ==",
    49134913            "requires": {
    49144914                "@babel/runtime": "^7.13.10",
    49154915                "@wordpress/api-fetch": "^5.1.1",
    4916                 "@wordpress/block-editor": "^6.1.12",
     4916                "@wordpress/block-editor": "^6.1.13",
    49174917                "@wordpress/blocks": "^9.1.7",
    4918                 "@wordpress/components": "^14.1.9",
     4918                "@wordpress/components": "^14.1.10",
    49194919                "@wordpress/compose": "^4.1.5",
    49204920                "@wordpress/core-data": "^3.1.11",
  • trunk/package.json

    r51426 r51443  
    8383        "@wordpress/autop": "3.1.1",
    8484        "@wordpress/blob": "3.1.1",
    85         "@wordpress/block-directory": "2.1.19",
    86         "@wordpress/block-editor": "6.1.12",
    87         "@wordpress/block-library": "3.2.17",
     85        "@wordpress/block-directory": "2.1.20",
     86        "@wordpress/block-editor": "6.1.13",
     87        "@wordpress/block-library": "3.2.18",
    8888        "@wordpress/block-serialization-default-parser": "4.1.1",
    8989        "@wordpress/blocks": "9.1.7",
    90         "@wordpress/components": "14.1.9",
     90        "@wordpress/components": "14.1.10",
    9191        "@wordpress/compose": "4.1.5",
    9292        "@wordpress/core-data": "3.1.11",
    93         "@wordpress/customize-widgets": "1.0.18",
     93        "@wordpress/customize-widgets": "1.0.19",
    9494        "@wordpress/data": "5.1.5",
    9595        "@wordpress/data-controls": "2.1.3",
     
    9898        "@wordpress/dom": "3.1.4",
    9999        "@wordpress/dom-ready": "3.1.1",
    100         "@wordpress/edit-post": "4.1.19",
    101         "@wordpress/edit-widgets": "2.1.19",
    102         "@wordpress/editor": "10.1.15",
     100        "@wordpress/edit-post": "4.1.20",
     101        "@wordpress/edit-widgets": "2.1.20",
     102        "@wordpress/editor": "10.1.16",
    103103        "@wordpress/element": "3.1.1",
    104104        "@wordpress/escape-html": "2.1.1",
    105         "@wordpress/format-library": "2.1.12",
     105        "@wordpress/format-library": "2.1.13",
    106106        "@wordpress/hooks": "3.1.1",
    107107        "@wordpress/html-entities": "3.1.1",
    108108        "@wordpress/i18n": "4.1.1",
    109109        "@wordpress/icons": "4.0.2",
    110         "@wordpress/interface": "3.1.10",
     110        "@wordpress/interface": "3.1.11",
    111111        "@wordpress/is-shallow-equal": "4.1.1",
    112         "@wordpress/keyboard-shortcuts": "2.1.5",
     112        "@wordpress/keyboard-shortcuts": "2.1.6",
    113113        "@wordpress/keycodes": "3.1.1",
    114         "@wordpress/list-reusable-blocks": "2.1.9",
     114        "@wordpress/list-reusable-blocks": "2.1.10",
    115115        "@wordpress/media-utils": "2.1.1",
    116116        "@wordpress/notices": "3.1.5",
    117         "@wordpress/nux": "4.1.9",
     117        "@wordpress/nux": "4.1.10",
    118118        "@wordpress/plugins": "3.1.5",
    119119        "@wordpress/primitives": "2.1.1",
    120120        "@wordpress/priority-queue": "2.1.1",
    121121        "@wordpress/redux-routine": "4.1.1",
    122         "@wordpress/reusable-blocks": "2.1.15",
     122        "@wordpress/reusable-blocks": "2.1.16",
    123123        "@wordpress/rich-text": "4.1.5",
    124         "@wordpress/server-side-render": "2.1.10",
     124        "@wordpress/server-side-render": "2.1.11",
    125125        "@wordpress/shortcode": "3.1.1",
    126126        "@wordpress/token-list": "2.1.1",
     
    128128        "@wordpress/viewport": "3.1.5",
    129129        "@wordpress/warning": "2.1.1",
    130         "@wordpress/widgets": "1.1.17",
     130        "@wordpress/widgets": "1.1.18",
    131131        "@wordpress/wordcount": "3.1.1",
    132132        "backbone": "1.4.0",
  • trunk/src/wp-includes/assets/script-loader-packages.php

    r51426 r51443  
    1 <?php return array('a11y.js' => array('dependencies' => array('wp-dom-ready', 'wp-i18n', 'wp-polyfill'), 'version' => '3243bf46da298d46850bacd71bcc111e'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '4556c7bbdf2d9d6a81c1ca770cf73893'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '293ce6ecd6439249249485d369385617'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'bed28c77ea305cd8e02b0529011189f9'), '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-data-controls', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'de3c45fbc5977806e2091ee4f6f59b13'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', '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-wordcount'), 'version' => 'b1d2911ca70ae9912d0c3a012c27950d'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'react', '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-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '2da8696d9bbd1cfe2f543c410a5765f7'), '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-primitives', 'wp-shortcode'), 'version' => '751c2504a888adf0398a0c604da94753'), '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' => '1698a3f4874a43bc1819f2af4fe447ff'), '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' => '0f215b3868e125c7f29468d3cbb4a759'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '2b920f4b2b10716d0b8d2bbfe4799a48'), '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-polyfill', 'wp-primitives', 'wp-widgets'), 'version' => '66b17b2fb27061c0a1266a6186e1b854'), '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' => '98309fcd2b4633f5d768069fc08ac82a'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'ceef9ce8c9c058d69ebf44db39353687'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '2abad43cdd2da929e01f7d7648e392ab'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '13724e4923d40e224e7c99fdc350a6a1'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '25489fd13f6cba04738b00752f79a668'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '1e1b9c1535c1c32d3236d41aa27c7bf9'), 'edit-post.js' => array('dependencies' => array('lodash', 'react', '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' => '155da20744fa278dc73aed005c7815ca'), '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-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' => '2c2e9a13463310bd201fe9984abedbff'), 'editor.js' => array('dependencies' => array('lodash', 'react', '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' => 'e9eb373dc2b2b1f49a3c385b813b3deb'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '669f5c11ca4fe7c44d64157347343913'), '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' => '23c734677604301357e154aef27733a3'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f7ecf196f38940ae0673c46c6c30cd86'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'd897c43bea0c2753dd7368eb2d990898'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '8a860f4afab68874dffb1e7eec6c1bc1'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'cf38e80b47baf72f4822ddb8847f4f24'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '80af68069161321e8e131bad6a00d5dc'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'df373dcd13d7abc3f8b042f369b88557'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b08e53c1e070954fa0884cad9a164683'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'c0c1a368ca9ade95dbf55485e8d59b68'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => 'a843ba54a81c99735da976cf43fac526'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'dc0962ac2885a26f8c2abdbe0cf0e333'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '3c50c6bd1563bc7fb88433198400a74c'), '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' => 'bec2012396758ad7603274e338191a42'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-keycodes', 'wp-polyfill'), 'version' => 'f0498feae49f87cd9a121f3e1bae242d'), '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' => '7c732c1add9f9667bdf8dd66fbf74759'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '15757929bc8d52a3b184c3fcaeb38c64'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7bcd3684420783ef1f6ebb7680fe958e'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'e9868cffba8a348b31011f87dd53b3c4'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '0a54bbdc44c5f135018c568a887b8279'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '202ac16e99afe7c33c257b248625a947'), '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', 'wp-url'), 'version' => '0f11251901b3f83a3373551071d06740'), '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' => '3243bf46da298d46850bacd71bcc111e'), 'annotations.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-hooks', 'wp-i18n', 'wp-polyfill', 'wp-rich-text'), 'version' => '4556c7bbdf2d9d6a81c1ca770cf73893'), 'api-fetch.js' => array('dependencies' => array('wp-i18n', 'wp-polyfill', 'wp-url'), 'version' => '293ce6ecd6439249249485d369385617'), 'autop.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'bed28c77ea305cd8e02b0529011189f9'), '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-data-controls', 'wp-edit-post', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-notices', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => 'de3c45fbc5977806e2091ee4f6f59b13'), 'block-editor.js' => array('dependencies' => array('lodash', 'react', 'wp-a11y', '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-wordcount'), 'version' => 'e84b3c853d39dd6df78803fe767d1c88'), 'block-library.js' => array('dependencies' => array('lodash', 'moment', 'react', '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-i18n', 'wp-keycodes', 'wp-notices', 'wp-polyfill', 'wp-primitives', 'wp-reusable-blocks', 'wp-rich-text', 'wp-server-side-render', 'wp-url', 'wp-viewport'), 'version' => '7e6bd6c0e7b1c87f20935dbef3c2d2dd'), '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-primitives', 'wp-shortcode'), 'version' => '751c2504a888adf0398a0c604da94753'), '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' => '89247fd67b948303f04bcba1cf7b9b0a'), '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' => '0f215b3868e125c7f29468d3cbb4a759'), 'core-data.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blocks', 'wp-data', 'wp-data-controls', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-url'), 'version' => '2b920f4b2b10716d0b8d2bbfe4799a48'), '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-polyfill', 'wp-primitives', 'wp-widgets'), 'version' => '66b17b2fb27061c0a1266a6186e1b854'), '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' => '98309fcd2b4633f5d768069fc08ac82a'), 'data-controls.js' => array('dependencies' => array('wp-api-fetch', 'wp-data', 'wp-deprecated', 'wp-polyfill'), 'version' => 'ceef9ce8c9c058d69ebf44db39353687'), 'date.js' => array('dependencies' => array('moment', 'wp-polyfill'), 'version' => '2abad43cdd2da929e01f7d7648e392ab'), 'deprecated.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => '13724e4923d40e224e7c99fdc350a6a1'), 'dom.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '25489fd13f6cba04738b00752f79a668'), 'dom-ready.js' => array('dependencies' => array('wp-polyfill'), 'version' => '1e1b9c1535c1c32d3236d41aa27c7bf9'), 'edit-post.js' => array('dependencies' => array('lodash', 'react', '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' => '6df42dd19732b0afb3d8f29613d6d89b'), '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-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' => '89fce7c4d2f4e3090c0019cc40194413'), 'editor.js' => array('dependencies' => array('lodash', 'react', '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' => '565f9748e2cfcd1679929d424a9cffbe'), 'element.js' => array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-escape-html', 'wp-polyfill'), 'version' => '669f5c11ca4fe7c44d64157347343913'), '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' => '23c734677604301357e154aef27733a3'), 'hooks.js' => array('dependencies' => array('wp-polyfill'), 'version' => 'f7ecf196f38940ae0673c46c6c30cd86'), 'html-entities.js' => array('dependencies' => array('wp-polyfill'), 'version' => '140ecb91be91e7eec34220584d085033'), 'i18n.js' => array('dependencies' => array('wp-hooks', 'wp-polyfill'), 'version' => 'd897c43bea0c2753dd7368eb2d990898'), 'is-shallow-equal.js' => array('dependencies' => array('wp-polyfill'), 'version' => '798b660598677b39413fdb5f68624aa8'), 'keyboard-shortcuts.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-keycodes', 'wp-polyfill'), 'version' => '53d021916e259972fbc68f68892323ac'), 'keycodes.js' => array('dependencies' => array('lodash', 'wp-i18n', 'wp-polyfill'), 'version' => 'cf38e80b47baf72f4822ddb8847f4f24'), 'list-reusable-blocks.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-components', 'wp-compose', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '80af68069161321e8e131bad6a00d5dc'), 'media-utils.js' => array('dependencies' => array('lodash', 'wp-api-fetch', 'wp-blob', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'df373dcd13d7abc3f8b042f369b88557'), 'notices.js' => array('dependencies' => array('lodash', 'wp-data', 'wp-polyfill'), 'version' => 'b08e53c1e070954fa0884cad9a164683'), 'nux.js' => array('dependencies' => array('lodash', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'c0c1a368ca9ade95dbf55485e8d59b68'), 'plugins.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-element', 'wp-hooks', 'wp-polyfill', 'wp-primitives'), 'version' => 'a843ba54a81c99735da976cf43fac526'), 'primitives.js' => array('dependencies' => array('wp-element', 'wp-polyfill'), 'version' => 'dc0962ac2885a26f8c2abdbe0cf0e333'), 'priority-queue.js' => array('dependencies' => array('wp-polyfill'), 'version' => '18c93919f04bb681234310b314675b17'), 'redux-routine.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '3c50c6bd1563bc7fb88433198400a74c'), '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' => 'bec2012396758ad7603274e338191a42'), 'rich-text.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-escape-html', 'wp-keycodes', 'wp-polyfill'), 'version' => 'f0498feae49f87cd9a121f3e1bae242d'), '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' => '7c732c1add9f9667bdf8dd66fbf74759'), 'shortcode.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '15757929bc8d52a3b184c3fcaeb38c64'), 'token-list.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '7bcd3684420783ef1f6ebb7680fe958e'), 'url.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => 'e9868cffba8a348b31011f87dd53b3c4'), 'viewport.js' => array('dependencies' => array('lodash', 'wp-compose', 'wp-data', 'wp-element', 'wp-polyfill'), 'version' => '0a54bbdc44c5f135018c568a887b8279'), 'warning.js' => array('dependencies' => array('wp-polyfill'), 'version' => '202ac16e99afe7c33c257b248625a947'), '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', 'wp-url'), 'version' => '0f11251901b3f83a3373551071d06740'), 'wordcount.js' => array('dependencies' => array('lodash', 'wp-polyfill'), 'version' => '02339c8ad03da1e7a03f9212da004007'));
  • trunk/src/wp-includes/block-patterns/query-grid-posts.php

    r51241 r51443  
    1515                    <!-- wp:group {"style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
    1616                    <div class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:post-title {"isLink":true} /-->
    17                     <!-- wp:post-excerpt {"wordCount":20} /-->
     17                    <!-- wp:post-excerpt /-->
    1818                    <!-- wp:post-date /--></div>
    1919                    <!-- /wp:group -->
  • trunk/src/wp-includes/blocks/post-excerpt.php

    r50929 r51443  
    1919    }
    2020
    21     $more_text = isset( $attributes['moreText'] ) ? '<a class="wp-block-post-excerpt__more-link" href="' . esc_url( get_the_permalink( $block->context['postId'] ) ) . '">' . $attributes['moreText'] . '</a>' : '';
    22 
    23     $filter_excerpt_length = function() use ( $attributes ) {
    24         return isset( $attributes['wordCount'] ) ? $attributes['wordCount'] : 55;
     21    $more_text           = ! empty( $attributes['moreText'] ) ? '<a class="wp-block-post-excerpt__more-link" href="' . esc_url( get_the_permalink( $block->context['postId'] ) ) . '">' . $attributes['moreText'] . '</a>' : '';
     22    $filter_excerpt_more = function( $more ) use ( $more_text ) {
     23        return empty( $more_text ) ? $more : '';
    2524    };
    26     add_filter(
    27         'excerpt_length',
    28         $filter_excerpt_length
    29     );
    30 
     25    /**
     26     * Some themes might use `excerpt_more` filter to handle the
     27     * `more` link displayed after a trimmed excerpt. Since the
     28     * block has a `more text` attribute we have to check and
     29     * override if needed the return value from this filter.
     30     * So if the block's attribute is not empty override the
     31     * `excerpt_more` filter and return nothing. This will
     32     * result in showing only one `read more` link at a time.
     33     */
     34    add_filter( 'excerpt_more', $filter_excerpt_more );
    3135    $classes = '';
    3236    if ( isset( $attributes['textAlign'] ) ) {
    33         $classes .= 'has-text-align-' . $attributes['textAlign'];
     37        $classes .= "has-text-align-{$attributes['textAlign']}";
    3438    }
    3539    $wrapper_attributes = get_block_wrapper_attributes( array( 'class' => $classes ) );
    3640
    37     $content = '<p class="wp-block-post-excerpt__excerpt">' . get_the_excerpt( $block->context['postId'] );
    38     if ( ! isset( $attributes['showMoreOnNewLine'] ) || $attributes['showMoreOnNewLine'] ) {
     41    $content               = '<p class="wp-block-post-excerpt__excerpt">' . get_the_excerpt( $block->context['postId'] );
     42    $show_more_on_new_line = ! isset( $attributes['showMoreOnNewLine'] ) || $attributes['showMoreOnNewLine'];
     43    if ( $show_more_on_new_line && ! empty( $more_text ) ) {
    3944        $content .= '</p><p class="wp-block-post-excerpt__more-text">' . $more_text . '</p>';
    4045    } else {
    4146        $content .= " $more_text</p>";
    4247    }
    43 
    44     remove_filter(
    45         'excerpt_length',
    46         $filter_excerpt_length
    47     );
    48 
     48    remove_filter( 'excerpt_more', $filter_excerpt_more );
    4949    return sprintf( '<div %1$s>%2$s</div>', $wrapper_attributes, $content );
    5050}
  • trunk/src/wp-includes/blocks/post-excerpt/block.json

    r51199 r51443  
    99        "textAlign": {
    1010            "type": "string"
    11         },
    12         "wordCount": {
    13             "type": "number",
    14             "default": 55
    1511        },
    1612        "moreText": {
  • trunk/src/wp-includes/class-wp-theme-json.php

    r51421 r51443  
    11791179            }
    11801180            $theme_settings['settings']['spacing']['units'] = ( true === $settings['enableCustomUnits'] ) ?
    1181                 array( 'px', 'em', 'rem', 'vh', 'vw' ) :
     1181                array( 'px', 'em', 'rem', 'vh', 'vw', '%' ) :
    11821182                $settings['enableCustomUnits'];
    11831183        }
  • trunk/src/wp-includes/theme.json

    r51421 r51443  
    177177            "customMargin": false,
    178178            "customPadding": false,
    179             "units": [ "px", "em", "rem", "vh", "vw" ]
     179            "units": [ "px", "em", "rem", "vh", "vw", "%" ]
    180180        },
    181181        "typography": {
  • trunk/tests/phpunit/tests/theme/wpThemeJson.php

    r51383 r51443  
    926926                ),
    927927                'spacing'    => array(
    928                     'units' => array( 'px', 'em', 'rem', 'vh', 'vw' ),
     928                    'units' => array( 'px', 'em', 'rem', 'vh', 'vw', '%' ),
    929929                ),
    930930                'typography' => array(
     
    10401040
    10411041        $expected = array(
    1042             'units'         => array( 'px', 'em', 'rem', 'vh', 'vw' ),
     1042            'units'         => array( 'px', 'em', 'rem', 'vh', 'vw', '%' ),
    10431043            'customPadding' => false,
    10441044        );
Note: See TracChangeset for help on using the changeset viewer.