Make WordPress Core


Ignore:
Timestamp:
11/12/2018 02:26:18 AM (8 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/src/wp-includes/script-loader.php

    r43878 r43884  
    8686                'wp-polyfill-node-contains',
    8787                'wp-polyfill-element-closest',
    88                 'wp-polyfill-ecmascript',
     88                'wp-polyfill',
    8989        );
    9090
    … …  
    100100        }
    101101
    102         $scripts->add( 'wp-polyfill', null, array( 'wp-polyfill-ecmascript' ) );
     102        $scripts->add( 'wp-polyfill', null, array( 'wp-polyfill' ) );
    103103        did_action( 'init' ) && $scripts->add_data(
    104104                'wp-polyfill',
    … …  
    167167                'api-fetch' => array( 'wp-polyfill', 'wp-hooks', 'wp-i18n', 'wp-url' ),
    168168                'a11y' => array( 'wp-dom-ready', 'wp-polyfill' ),
     169                'annotations' => array(
     170                        'wp-data',
     171                        'wp-hooks',
     172                        'wp-i18n',
     173                        'wp-polyfill',
     174                        'wp-rich-text',
     175                ),
    169176                'autop' => array( 'wp-polyfill' ),
    170177                'blob' => array( 'wp-polyfill' ),
    … …  
    260267                        'wp-core-data',
    261268                        'wp-data',
    262                         'wp-deprecated',
    263269                        'wp-dom-ready',
    264270                        'wp-editor',
    … …  
    335341                        'wp-a11y',
    336342                        'wp-data',
    337                         'wp-polyfill-ecmascript',
     343                        'wp-polyfill',
    338344                ),
    339345                'nux' => array(
Note: See TracChangeset for help on using the changeset viewer.