Make WordPress Core


Ignore:
Timestamp:
11/12/2018 02:26:18 AM (6 years ago)
Author:
pento
Message:

Block Editor: Update @wordpress dependencies to the latest version.

Changes of note:

  • Includes the new Annotations API package.
  • wp-polyfill-ecmascript.js is renamed to wp-polyfill.js.
  • strip_dynamic_blocks() has been removed in favour of excerpt_remove_blocks().
  • The PHP block parser is now syncing from the block-serialization-default-parser package.
  • do_blocks() uses the new parser.
  • The do_block filter has been removed from do_blocks(), in favour of a render_block filter in render_block().

See #45145, #45190, #45264, #45282.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/5.0/tests/phpunit/data/blocks/fixtures/core__image__custom-link.parsed.json

    r43751 r43884  
    66        },
    77        "innerBlocks": [],
    8         "innerHTML": "\n<figure class=\"wp-block-image\"><a href=\"https://wordpress.org/\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n"
     8        "innerHTML": "\n<figure class=\"wp-block-image\"><a href=\"https://wordpress.org/\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n",
     9        "innerContent": [
     10            "\n<figure class=\"wp-block-image\"><a href=\"https://wordpress.org/\"><img src=\"https://cldup.com/uuUqE_dXzy.jpg\" alt=\"\" /></a></figure>\n"
     11        ]
    912    },
    1013    {
     
    1215        "attrs": {},
    1316        "innerBlocks": [],
    14         "innerHTML": "\n"
     17        "innerHTML": "\n",
     18        "innerContent": [
     19            "\n"
     20        ]
    1521    }
    1622]
Note: See TracChangeset for help on using the changeset viewer.