From 892d83f1eb4a4e457fcd9404de5f5df63c7ca1b3 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 6 Feb 2024 10:58:13 +0000 Subject: [PATCH] Coding Standards: Fix array key alignment after [57539]. See #59166. Built from https://develop.svn.wordpress.org/trunk@57541 git-svn-id: http://core.svn.wordpress.org/trunk@57042 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 36 ++++++++++++++++++------------------ wp-includes/version.php | 2 +- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index eb0d8c1926..08cb5fb2ca 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -567,14 +567,14 @@ function create_initial_post_types() { register_post_type( 'wp_font_family', array( - 'labels' => array( + 'labels' => array( 'name' => __( 'Font Families' ), 'singular_name' => __( 'Font Family' ), ), - 'public' => false, - '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ - 'hierarchical' => false, - 'capabilities' => array( + 'public' => false, + '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ + 'hierarchical' => false, + 'capabilities' => array( 'read' => 'edit_theme_options', 'read_private_posts' => 'edit_theme_options', 'create_posts' => 'edit_theme_options', @@ -586,24 +586,24 @@ function create_initial_post_types() { 'delete_others_posts' => 'edit_theme_options', 'delete_published_posts' => 'edit_theme_options', ), - 'map_meta_cap' => true, - 'query_var' => false, - 'show_in_rest' => false, - 'rewrite' => false, + 'map_meta_cap' => true, + 'query_var' => false, + 'show_in_rest' => false, + 'rewrite' => false, ) ); register_post_type( 'wp_font_face', array( - 'labels' => array( + 'labels' => array( 'name' => __( 'Font Faces' ), 'singular_name' => __( 'Font Face' ), ), - 'public' => false, - '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ - 'hierarchical' => false, - 'capabilities' => array( + 'public' => false, + '_builtin' => true, /* internal use only. don't use this when registering your own post type. */ + 'hierarchical' => false, + 'capabilities' => array( 'read' => 'edit_theme_options', 'read_private_posts' => 'edit_theme_options', 'create_posts' => 'edit_theme_options', @@ -615,10 +615,10 @@ function create_initial_post_types() { 'delete_others_posts' => 'edit_theme_options', 'delete_published_posts' => 'edit_theme_options', ), - 'map_meta_cap' => true, - 'query_var' => false, - 'show_in_rest' => false, - 'rewrite' => false, + 'map_meta_cap' => true, + 'query_var' => false, + 'show_in_rest' => false, + 'rewrite' => false, ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 2c81453fd9..138d449087 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57540'; +$wp_version = '6.5-alpha-57541'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.