Changeset 52322
- Timestamp:
- 12/04/2021 05:18:48 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/block-editor.php
r52312 r52322 84 84 */ 85 85 $block_categories = apply_filters( 'block_categories_all', $block_categories, $block_editor_context ); 86 86 87 if ( ! empty( $block_editor_context->post ) ) { 87 88 $post = $block_editor_context->post; … … 124 125 */ 125 126 $allowed_block_types = apply_filters( 'allowed_block_types_all', $allowed_block_types, $block_editor_context ); 127 126 128 if ( ! empty( $block_editor_context->post ) ) { 127 129 $post = $block_editor_context->post; … … 398 400 */ 399 401 $editor_settings = apply_filters( 'block_editor_settings_all', $editor_settings, $block_editor_context ); 402 400 403 if ( ! empty( $block_editor_context->post ) ) { 401 404 $post = $block_editor_context->post; … … 441 444 */ 442 445 $preload_paths = apply_filters( 'block_editor_rest_api_preload_paths', $preload_paths, $block_editor_context ); 446 443 447 if ( ! empty( $block_editor_context->post ) ) { 444 448 $selected_post = $block_editor_context->post; … … 479 483 } 480 484 } 485 486 unset( $path ); 481 487 482 488 $preload_data = array_reduce(
Note: See TracChangeset
for help on using the changeset viewer.