REST API: Translate the taxonomy visibility description strings.

This was missed in [42729].

Props TimothyBlynJacobs.
Fixes #42707.


Built from https://develop.svn.wordpress.org/trunk@42730


git-svn-id: http://core.svn.wordpress.org/trunk@42560 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2018-02-22 00:59:30 +00:00
parent d6923d285c
commit cf49eacd62
2 changed files with 7 additions and 7 deletions

View File

@ -310,27 +310,27 @@ class WP_REST_Taxonomies_Controller extends WP_REST_Controller {
'readonly' => true, 'readonly' => true,
'properties' => array( 'properties' => array(
'public' => array( 'public' => array(
'description' => 'Whether a taxonomy is intended for use publicly either via the admin interface or by front-end users.', 'description' => __( 'Whether a taxonomy is intended for use publicly either via the admin interface or by front-end users.' ),
'type' => 'boolean', 'type' => 'boolean',
), ),
'publicly_queryable' => array( 'publicly_queryable' => array(
'description' => 'Whether the taxonomy is publicly queryable.', 'description' => __( 'Whether the taxonomy is publicly queryable.' ),
'type' => 'boolean', 'type' => 'boolean',
), ),
'show_ui' => array( 'show_ui' => array(
'description' => 'Whether to generate a default UI for managing this taxonomy.', 'description' => __( 'Whether to generate a default UI for managing this taxonomy.' ),
'type' => 'boolean', 'type' => 'boolean',
), ),
'show_admin_column' => array( 'show_admin_column' => array(
'description' => 'Whether to allow automatic creation of taxonomy columns on associated post-types table.', 'description' => __( 'Whether to allow automatic creation of taxonomy columns on associated post-types table.' ),
'type' => 'boolean', 'type' => 'boolean',
), ),
'show_in_nav_menus' => array( 'show_in_nav_menus' => array(
'description' => 'Whether to make the taxonomy available for selection in navigation menus.', 'description' => __( 'Whether to make the taxonomy available for selection in navigation menus.' ),
'type' => 'boolean', 'type' => 'boolean',
), ),
'show_in_quick_edit' => array( 'show_in_quick_edit' => array(
'description' => 'Whether to show the taxonomy in the quick/bulk edit panel.', 'description' => __( 'Whether to show the taxonomy in the quick/bulk edit panel.' ),
'type' => 'boolean', 'type' => 'boolean',
), ),

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.0-alpha-42729'; $wp_version = '5.0-alpha-42730';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.