Editor: Define the labels of the pattern category taxonomy.
In WordPress 6.5, the taxonomy is going to be rendered using a standard UI in the editor, this means that all the labels need to be defined properly. Props ntsekouras. Fixes #60322. Built from https://develop.svn.wordpress.org/trunk@57334 git-svn-id: http://core.svn.wordpress.org/trunk@56840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3a3982b3cc
commit
728299f24a
|
@ -231,8 +231,25 @@ function create_initial_taxonomies() {
|
|||
'publicly_queryable' => false,
|
||||
'hierarchical' => false,
|
||||
'labels' => array(
|
||||
'name' => _x( 'Pattern Categories', 'taxonomy general name' ),
|
||||
'singular_name' => _x( 'Pattern Category', 'taxonomy singular name' ),
|
||||
'name' => _x( 'Pattern Categories', 'taxonomy general name' ),
|
||||
'singular_name' => _x( 'Pattern Category', 'taxonomy singular name' ),
|
||||
'add_new_item' => __( 'Add New Category' ),
|
||||
'add_or_remove_items' => __( 'Add or remove pattern categories' ),
|
||||
'back_to_items' => __( '← Go to pattern categories' ),
|
||||
'choose_from_most_used' => __( 'Choose from the most used pattern categories' ),
|
||||
'edit_item' => __( 'Edit Pattern Category' ),
|
||||
'item_link' => __( 'Pattern Category Link' ),
|
||||
'item_link_description' => __( 'A link to a pattern category.' ),
|
||||
'items_list' => __( 'Pattern Categories list' ),
|
||||
'items_list_navigation' => __( 'Pattern Categories list navigation' ),
|
||||
'new_item_name' => __( 'New Pattern Category Name' ),
|
||||
'no_terms' => __( 'No pattern categories' ),
|
||||
'not_found' => __( 'No pattern categories found.' ),
|
||||
'popular_items' => __( 'Popular Pattern Categories' ),
|
||||
'search_items' => __( 'Search Pattern Categories' ),
|
||||
'separate_items_with_commas' => __( 'Separate pattern categories with commas' ),
|
||||
'update_item' => __( 'Update Pattern Category' ),
|
||||
'view_item' => __( 'View Pattern Category' ),
|
||||
),
|
||||
'query_var' => false,
|
||||
'rewrite' => false,
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-alpha-57333';
|
||||
$wp_version = '6.5-alpha-57334';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue