Skip to content

Commit d7750e4

Browse files
committed
Editor: Remove leading whitespace from some translated strings.
Merges [WordPress/gutenberg#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
1 parent 0cec3d1 commit d7750e4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/wp-includes/rest-api/endpoints/class-wp-rest-block-patterns-controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ public function get_item_schema() {
187187
'context' => array( 'view', 'edit', 'embed' ),
188188
),
189189
'post_types' => array(
190-
'description' => __( ' An array of post types that the pattern is restricted to be used with.' ),
190+
'description' => __( 'An array of post types that the pattern is restricted to be used with.' ),
191191
'type' => 'array',
192192
'readonly' => true,
193193
'context' => array( 'view', 'edit', 'embed' ),

src/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public function register_routes() {
8282
'required' => true,
8383
),
8484
'is_custom' => array(
85-
'description' => __( ' Indicates if a template is custom or part of the template hierarchy' ),
85+
'description' => __( 'Indicates if a template is custom or part of the template hierarchy' ),
8686
'type' => 'boolean',
8787
),
8888
'template_prefix' => array(

tests/qunit/fixtures/wp-api-generated.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5157,7 +5157,7 @@ mockedApiResponse.Schema = {
51575157
"required": true
51585158
},
51595159
"is_custom": {
5160-
"description": " Indicates if a template is custom or part of the template hierarchy",
5160+
"description": "Indicates if a template is custom or part of the template hierarchy",
51615161
"type": "boolean",
51625162
"required": false
51635163
},
@@ -5846,7 +5846,7 @@ mockedApiResponse.Schema = {
58465846
"required": true
58475847
},
58485848
"is_custom": {
5849-
"description": " Indicates if a template is custom or part of the template hierarchy",
5849+
"description": "Indicates if a template is custom or part of the template hierarchy",
58505850
"type": "boolean",
58515851
"required": false
58525852
},

0 commit comments

Comments
 (0)