diff options
author | David Baumwald <davidbaumwald@git.wordpress.org> | 2022-09-29 17:52:39 +0000 |
---|---|---|
committer | David Baumwald <davidbaumwald@git.wordpress.org> | 2022-09-29 17:52:39 +0000 |
commit | d7750e492443cacd5c20f36b1543a68b215e2c58 (patch) | |
tree | 6a282d35c9e9e4470bc2b39a62e7d22fc3ec786f | |
parent | 0cec3d1807e10b2ce02d812a3b96df46533b5633 (diff) | |
download | wordpress-d7750e492443cacd5c20f36b1543a68b215e2c58.tar.gz wordpress-d7750e492443cacd5c20f36b1543a68b215e2c58.zip |
Editor: Remove leading whitespace from some translated strings.
Merges [https://github.com/WordPress/gutenberg/pull/44314 Gutenberg PR #44314] into trunk.
Follow-up to [54263] and [54269].
Props kebbet, bernhard-reiter.
See #56467.
git-svn-id: https://develop.svn.wordpress.org/trunk@54356 602fd350-edb4-49c9-b593-d223f7449a82
3 files changed, 4 insertions, 4 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( diff --git a/tests/qunit/fixtures/wp-api-generated.js b/tests/qunit/fixtures/wp-api-generated.js index 28936c9551..896322ed48 100644 --- a/tests/qunit/fixtures/wp-api-generated.js +++ b/tests/qunit/fixtures/wp-api-generated.js @@ -5157,7 +5157,7 @@ mockedApiResponse.Schema = { "required": true }, "is_custom": { - "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", "required": false }, @@ -5846,7 +5846,7 @@ mockedApiResponse.Schema = { "required": true }, "is_custom": { - "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", "required": false }, |