← All changes
|
lib/class-wp-rest-block-editor-settings-controller.php
+1
-1
12.6.0
→
12.1.0
View file →
| @@ -75,9 +75,9 @@ | ||
| 75 | 75 | * @return WP_Error|WP_REST_Response Response object on success, or WP_Error object on failure. |
| 76 | 76 | */ |
| 77 | 77 | public function get_items( $request ) { // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis |
| 78 | 78 | $editor_context = new WP_Block_Editor_Context(); |
| 79 | - $settings = get_block_editor_settings( array(), $editor_context ); | |
| 79 | + $settings = gutenberg_get_block_editor_settings( array(), $editor_context ); | |
| 80 | 80 | |
| 81 | 81 | return rest_ensure_response( $settings ); |
| 82 | 82 | } |
| 83 | 83 | |