Changeset 11320
- Timestamp:
- 11/10/2021 03:13:18 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/gutenberg/functions.php
r10914 r11320 314 314 } 315 315 316 /** 317 * Filters the settings to pass to the block editor. 318 * 319 * @since 3.7.0 320 * 321 * @param array $editor_settings Default editor settings. 322 * @param WP_Post $post Post being edited. 323 */ 324 $editor_settings = apply_filters( 'block_editor_settings', $editor_settings, $post ); 316 $editor_context = new WP_Block_Editor_Context( array( 'post' => $post ) ); 317 $editor_settings = get_block_editor_settings( $editor_settings, $editor_context ); 325 318 326 319 $init_script = <<<JS
Note: See TracChangeset
for help on using the changeset viewer.