Make WordPress Core

Changes between Version 31 and Version 49 of Ticket #52920


Ignore:
Timestamp:
05/24/2021 09:24:48 PM (4 years ago)
Author:
gziolo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #52920

    • Property Keywords dev-feedback removed
    • Property Owner set to gziolo
    • Property Resolution changed from to fixed
    • Property Status changed from new to closed
  • Ticket #52920 – Description

    v31 v49  
    66
    77Changes included so far:
    8 - new method `get_default_block_categories` were introduced to make is possible to share default block categories
     8- new method `get_default_block_categories` were introduced to make it possible to share default block categories
    99- new method `get_allowed_block_types` was introduced to handle filters depending on the editor type
    1010- most of the settings that are defined on the client in the block editor package in https://github.com/WordPress/gutenberg/blob/trunk/packages/block-editor/src/store/defaults.js are already exposed from the new `get_default_block_editor_settings` method
    1111- another method `get_block_editor_settings` got introduced to ensure that editor settings can be filtered depending on the editor type
    12 - the logic that preloads common data used with the block editor by processing an array of REST API paths is now abstracted in `block_editor_preload_api_requests` method
     12- the logic that preloads common data used with the block editor by processing an array of REST API paths is now abstracted in `block_editor_rest_api_preload` method
    1313
    1414All existing filters that depend on `$post` object get deprecated with `apply_filters_deprecated` as suggested by @jeremyfelt:
     
    2121- `allowed_block_types_all`
    2222- `block_categories_all`
     23- `block_editor_rest_api_preload_paths`
    2324- `block_editor_settings_all`