diff options
Diffstat (limited to 'src/wp-includes/rest-api')
-rw-r--r-- | src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php | 2 | ||||
-rw-r--r-- | src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php index 60064abf05..cb0fe57fed 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php @@ -187,7 +187,7 @@ class WP_REST_Block_Patterns_Controller extends WP_REST_Controller { 'context' => array( 'view', 'edit', 'embed' ), ), 'post_types' => array( - 'description' => __( ' An array of post types that the pattern is restricted to be used with.' ), + 'description' => __( 'An array of post types that the pattern is restricted to be used with.' ), 'type' => 'array', 'readonly' => true, 'context' => array( 'view', 'edit', 'embed' ), diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php index e26b4d17e5..8f70cda9f1 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php @@ -82,7 +82,7 @@ class WP_REST_Templates_Controller extends WP_REST_Controller { 'required' => true, ), 'is_custom' => array( - 'description' => __( ' Indicates if a template is custom or part of the template hierarchy' ), + 'description' => __( 'Indicates if a template is custom or part of the template hierarchy' ), 'type' => 'boolean', ), 'template_prefix' => array( |