Make WordPress Core

Changeset 55079


Ignore:
Timestamp:
01/16/2023 07:57:29 PM (21 months ago)
Author:
flixos90
Message:

Editor: Update packages to unblock lazy-loading issues.

Fixing the issue that featured images are always lazy-loaded in block themes required an upstream Gutenberg change https://github.com/WordPress/gutenberg/pull/45534. This changeset updates packages in order to unblock the remainder of the fix in trunk.

Props mamaduka.
See #56930.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r55012 r55079  
    40224022        },
    40234023        "@wordpress/block-directory": {
    4024             "version": "3.15.11",
    4025             "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.15.11.tgz",
    4026             "integrity": "sha512-KiQrYfxkiLrrQJgRaw1C32a9vXbNEZorEd0KuEVRZs4LYtNOKj/Je1low4Tvj77lh870Q38SiOCMWgtqtRtRJA==",
     4024            "version": "3.15.12",
     4025            "resolved": "https://registry.npmjs.org/@wordpress/block-directory/-/block-directory-3.15.12.tgz",
     4026            "integrity": "sha512-pcrjkDFRehae4Q9ZwYa7dXHwSaGgJl5iDHDavNIEdNeH3xFZi3KzWvumwSWtUWqM19W8EiekTR0T2qQytnKKvw==",
    40274027            "requires": {
    40284028                "@babel/runtime": "^7.16.0",
     
    40354035                "@wordpress/core-data": "^5.0.4",
    40364036                "@wordpress/data": "^7.1.3",
    4037                 "@wordpress/edit-post": "^6.14.11",
     4037                "@wordpress/edit-post": "^6.14.12",
    40384038                "@wordpress/editor": "^12.16.10",
    40394039                "@wordpress/element": "^4.15.1",
     
    40964096        },
    40974097        "@wordpress/block-library": {
    4098             "version": "7.14.11",
    4099             "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-7.14.11.tgz",
    4100             "integrity": "sha512-BiLDYp1snS+FCzNWJJEjMxNjKlhLTRQgKzNUwiK/UIQr/5Drif6GNPsNOiFs3ha5kKZli7l4CyFHiZE99PNiJA==",
     4098            "version": "7.14.12",
     4099            "resolved": "https://registry.npmjs.org/@wordpress/block-library/-/block-library-7.14.12.tgz",
     4100            "integrity": "sha512-iw3ndfgsbMTf7RMhXumH3Fsj40va73u/EdiE9E9I+EXO72YU/deEMt0BImkfZrnp4AF21ji4zFItLUBt+b/GMQ==",
    41014101            "requires": {
    41024102                "@babel/runtime": "^7.16.0",
     
    43014301        },
    43024302        "@wordpress/customize-widgets": {
    4303             "version": "3.14.11",
    4304             "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-3.14.11.tgz",
    4305             "integrity": "sha512-aJ/++NFDjirmTF0zAbOzfKSeX+6sMK0vjv07Pjis4gztRJ4P+lfYaj/aUCjQz/OhJwaw1jyQNx3FxcbS3L/iLg==",
     4303            "version": "3.14.12",
     4304            "resolved": "https://registry.npmjs.org/@wordpress/customize-widgets/-/customize-widgets-3.14.12.tgz",
     4305            "integrity": "sha512-s5zZzkg5gZnunwS1ZOHXrCnxIUl1CpYdiEX5vVYZT5UpbvLtk5HiOAsoXtAZoIJfIKKPjNPugFTHSi8VL3vWZw==",
    43064306            "requires": {
    43074307                "@babel/runtime": "^7.16.0",
    43084308                "@wordpress/block-editor": "^10.0.10",
    4309                 "@wordpress/block-library": "^7.14.11",
     4309                "@wordpress/block-library": "^7.14.12",
    43104310                "@wordpress/blocks": "^11.16.4",
    43114311                "@wordpress/components": "^21.0.7",
     
    44524452        },
    44534453        "@wordpress/edit-post": {
    4454             "version": "6.14.11",
    4455             "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-6.14.11.tgz",
    4456             "integrity": "sha512-ZqNPUlCRBRd4rUYExTVDmaIX/J0yAwaZybtcfSWPacrNnq40xrv16wrLFNZAFn5oCTrKAkuTWWjsjuQhEbw8yg==",
     4454            "version": "6.14.12",
     4455            "resolved": "https://registry.npmjs.org/@wordpress/edit-post/-/edit-post-6.14.12.tgz",
     4456            "integrity": "sha512-8m2TTf0nJTodmhX9Fv32HtP72r8vqfyoBVYVgfYIpOubquMESZpQnbrwmMksthE9wKrcKm/B3/J3SdxX03Cw6Q==",
    44574457            "requires": {
    44584458                "@babel/runtime": "^7.16.0",
     
    44604460                "@wordpress/api-fetch": "^6.14.1",
    44614461                "@wordpress/block-editor": "^10.0.10",
    4462                 "@wordpress/block-library": "^7.14.11",
     4462                "@wordpress/block-library": "^7.14.12",
    44634463                "@wordpress/blocks": "^11.16.4",
    44644464                "@wordpress/components": "^21.0.7",
     
    44894489        },
    44904490        "@wordpress/edit-site": {
    4491             "version": "4.14.13",
    4492             "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-4.14.13.tgz",
    4493             "integrity": "sha512-A5mmwIOSVgiJ1QoCHfnO+ehECoI4gW/g0/GDCpvxbEiHLhexKh3aNDwsy2izO990IoAd1h55hYPYAUBxNX8a+w==",
     4491            "version": "4.14.14",
     4492            "resolved": "https://registry.npmjs.org/@wordpress/edit-site/-/edit-site-4.14.14.tgz",
     4493            "integrity": "sha512-gmkteOtJcxBdC6sAaRUQiJCFaLBKydsagYtSEQQ5EX6BDRnphns8Euurm8/UVqMSZetMFYxwXd1o7PdwIt3WeQ==",
    44944494            "requires": {
    44954495                "@babel/runtime": "^7.16.0",
     
    44974497                "@wordpress/api-fetch": "^6.14.1",
    44984498                "@wordpress/block-editor": "^10.0.10",
    4499                 "@wordpress/block-library": "^7.14.11",
     4499                "@wordpress/block-library": "^7.14.12",
    45004500                "@wordpress/blocks": "^11.16.4",
    45014501                "@wordpress/components": "^21.0.7",
     
    45304530        },
    45314531        "@wordpress/edit-widgets": {
    4532             "version": "4.14.11",
    4533             "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-4.14.11.tgz",
    4534             "integrity": "sha512-5nb583zlv/YZCbIfEkV7gTk+UddZNDGr1C4B/7EWAjNhQAg3/dv3eqD0N/WYTYLxBAUI3O2heO0i85/AiGqUKg==",
     4532            "version": "4.14.12",
     4533            "resolved": "https://registry.npmjs.org/@wordpress/edit-widgets/-/edit-widgets-4.14.12.tgz",
     4534            "integrity": "sha512-a0+2oyG9qgFMk9Omhz7x2A1SKmUg7yanM3MBBljtTfhl5Ipt6uqal/lGiIaiGeAamTKh45g6j7mpGmwx2mTSFQ==",
    45354535            "requires": {
    45364536                "@babel/runtime": "^7.16.0",
    45374537                "@wordpress/api-fetch": "^6.14.1",
    45384538                "@wordpress/block-editor": "^10.0.10",
    4539                 "@wordpress/block-library": "^7.14.11",
     4539                "@wordpress/block-library": "^7.14.12",
    45404540                "@wordpress/blocks": "^11.16.4",
    45414541                "@wordpress/components": "^21.0.7",
  • trunk/package.json

    r55012 r55079  
    8282        "@wordpress/autop": "3.17.1",
    8383        "@wordpress/blob": "3.17.1",
    84         "@wordpress/block-directory": "3.15.11",
     84        "@wordpress/block-directory": "3.15.12",
    8585        "@wordpress/block-editor": "10.0.10",
    86         "@wordpress/block-library": "7.14.11",
     86        "@wordpress/block-library": "7.14.12",
    8787        "@wordpress/block-serialization-default-parser": "4.17.1",
    8888        "@wordpress/blocks": "11.16.4",
     
    9090        "@wordpress/compose": "5.15.2",
    9191        "@wordpress/core-data": "5.0.4",
    92         "@wordpress/customize-widgets": "3.14.11",
     92        "@wordpress/customize-widgets": "3.14.12",
    9393        "@wordpress/data": "7.1.3",
    9494        "@wordpress/data-controls": "2.17.3",
     
    9797        "@wordpress/dom": "3.17.2",
    9898        "@wordpress/dom-ready": "3.17.1",
    99         "@wordpress/edit-post": "6.14.11",
    100         "@wordpress/edit-site": "4.14.13",
    101         "@wordpress/edit-widgets": "4.14.11",
     99        "@wordpress/edit-post": "6.14.12",
     100        "@wordpress/edit-site": "4.14.14",
     101        "@wordpress/edit-widgets": "4.14.12",
    102102        "@wordpress/editor": "12.16.10",
    103103        "@wordpress/element": "4.15.1",
  • trunk/src/wp-includes/blocks/post-featured-image.php

    r54811 r55079  
    1919    }
    2020    $post_ID = $block->context['postId'];
     21
     22    // Check is needed for backward compatibility with third-party plugins
     23    // that might rely on the `in_the_loop` check; calling `the_post` sets it to true.
     24    if ( ! in_the_loop() && have_posts() ) {
     25        the_post();
     26    }
    2127
    2228    $is_link        = isset( $attributes['isLink'] ) && $attributes['isLink'];
Note: See TracChangeset for help on using the changeset viewer.