Skip to content

Commit e683403

Browse files
committed
Coding Standards: Fix blank spaces.
Nice to meet you, where you been? See #63168. git-svn-id: https://develop.svn.wordpress.org/trunk@61036 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 03d3cc1 commit e683403

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

src/wp-includes/class-wp-block-processor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -933,8 +933,8 @@ public function next_token(): bool {
933933

934934
$name_length = 1 + strspn( $text, 'abcdefghijklmnopqrstuvwxyz0123456789-_', $name_at + 1 );
935935
} else {
936-
$name_at = $namespace_at;
937-
$name_length = $namespace_length;
936+
$name_at = $namespace_at;
937+
$name_length = $namespace_length;
938938
}
939939

940940
if ( $name_at + $name_length >= $end ) {

src/wp-includes/comment.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4120,10 +4120,10 @@ function wp_create_initial_comment_meta() {
41204120
'comment',
41214121
'_wp_note_status',
41224122
array(
4123-
'type' => 'string',
4124-
'description' => __( 'Note resolution status' ),
4125-
'single' => true,
4126-
'show_in_rest' => array(
4123+
'type' => 'string',
4124+
'description' => __( 'Note resolution status' ),
4125+
'single' => true,
4126+
'show_in_rest' => array(
41274127
'schema' => array(
41284128
'type' => 'string',
41294129
'enum' => array( 'resolved', 'reopen' ),

src/wp-includes/compat-utf8.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ function _wp_utf8_decode_fallback( $utf8_text ) {
535535
}
536536

537537
// All convertible code points are not greater than U+FF.
538-
$byte2 = ord( $utf8_text[ $at + 1 ] );
538+
$byte2 = ord( $utf8_text[ $at + 1 ] );
539539
$code_point = ( ( $byte1 & 0x1F ) << 6 ) | ( ( $byte2 & 0x3F ) );
540540
if ( $code_point > 0xFF ) {
541541
goto flush_sub_part;

src/wp-includes/post.php

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ function create_initial_post_types() {
368368
register_post_type(
369369
'wp_template',
370370
array(
371-
'labels' => array(
371+
'labels' => array(
372372
'name' => _x( 'Templates', 'post type general name' ),
373373
'singular_name' => _x( 'Template', 'post type singular name' ),
374374
'add_new' => __( 'Add Template' ),
@@ -389,20 +389,20 @@ function create_initial_post_types() {
389389
'items_list' => __( 'Templates list' ),
390390
'item_updated' => __( 'Template updated.' ),
391391
),
392-
'description' => __( 'Templates to include in your theme.' ),
393-
'public' => false,
394-
'_builtin' => true, /* internal use only. don't use this when registering your own post type. */
395-
'_edit_link' => $template_edit_link, /* internal use only. don't use this when registering your own post type. */
396-
'has_archive' => false,
397-
'show_ui' => false,
398-
'show_in_menu' => false,
399-
'show_in_rest' => true,
400-
'rewrite' => false,
401-
'rest_base' => 'wp_template',
402-
'rest_controller_class' => 'WP_REST_Posts_Controller',
403-
'late_route_registration' => true,
404-
'capability_type' => array( 'template', 'templates' ),
405-
'capabilities' => array(
392+
'description' => __( 'Templates to include in your theme.' ),
393+
'public' => false,
394+
'_builtin' => true, /* internal use only. don't use this when registering your own post type. */
395+
'_edit_link' => $template_edit_link, /* internal use only. don't use this when registering your own post type. */
396+
'has_archive' => false,
397+
'show_ui' => false,
398+
'show_in_menu' => false,
399+
'show_in_rest' => true,
400+
'rewrite' => false,
401+
'rest_base' => 'wp_template',
402+
'rest_controller_class' => 'WP_REST_Posts_Controller',
403+
'late_route_registration' => true,
404+
'capability_type' => array( 'template', 'templates' ),
405+
'capabilities' => array(
406406
'create_posts' => 'edit_theme_options',
407407
'delete_posts' => 'edit_theme_options',
408408
'delete_others_posts' => 'edit_theme_options',
@@ -416,8 +416,8 @@ function create_initial_post_types() {
416416
'read' => 'edit_theme_options',
417417
'read_private_posts' => 'edit_theme_options',
418418
),
419-
'map_meta_cap' => true,
420-
'supports' => array(
419+
'map_meta_cap' => true,
420+
'supports' => array(
421421
'title',
422422
'slug',
423423
'excerpt',

src/wp-includes/rest-api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ function create_initial_rest_routes() {
485485
$font_collections_controller->register_routes();
486486

487487
// Abilities.
488-
$abilities_run_controller = new WP_REST_Abilities_V1_Run_Controller();
488+
$abilities_run_controller = new WP_REST_Abilities_V1_Run_Controller();
489489
$abilities_run_controller->register_routes();
490490
$abilities_list_controller = new WP_REST_Abilities_V1_List_Controller();
491491
$abilities_list_controller->register_routes();

0 commit comments

Comments
 (0)