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__missing.parsed.json

    r43751 r43884  
    33        "blockName": "unregistered/example",
    44        "attrs": {
    5             "attr1": "One",
    6             "attr2": "Two"
    7         },
     5            "attr1": "One",
     6            "attr2": "Two"
     7        },
    88        "innerBlocks": [],
    9         "innerHTML": "\n<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n"
     9        "innerHTML": "\n<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n",
     10        "innerContent": [ "\n<p>Testing missing block with some</p>\n<div class=\"wp-some-class\">\n\tHTML <span style=\"color: red;\">content</span>\n</div>\n" ]
    1011    },
    1112    {
    12         "blockName": null,
    13         "attrs": {},
    14         "innerBlocks": [],
    15         "innerHTML": "\n"
     13        "blockName": null,
     14        "attrs": {},
     15        "innerBlocks": [],
     16        "innerHTML": "\n",
     17        "innerContent": [ "\n" ]
    1618    }
    1719]
Note: See TracChangeset for help on using the changeset viewer.