Make WordPress Core


Ignore:
Timestamp:
10/21/2025 02:00:33 PM (9 months ago)
Author:
jorbin
Message:

Coding Standards: Fix blank spaces.

Nice to meet you, where you been?

See #63168.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r61029 r61036  
    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' ),
     
    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',
     
    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',
Note: See TracChangeset for help on using the changeset viewer.