From ba195e435339813afc931db6359a515b92142292 Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Thu, 22 Feb 2018 00:58:12 +0000 Subject: [PATCH] REST API: Translate the taxonomy visibility description strings. This was missed in [42729]. Props TimothyBlynJacobs. Fixes #42707. git-svn-id: https://develop.svn.wordpress.org/trunk@42730 602fd350-edb4-49c9-b593-d223f7449a82 --- .../class-wp-rest-taxonomies-controller.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php index dbce333ab4..0d8a6b1663 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-taxonomies-controller.php @@ -310,27 +310,27 @@ class WP_REST_Taxonomies_Controller extends WP_REST_Controller { 'readonly' => true, 'properties' => 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', ), 'publicly_queryable' => array( - 'description' => 'Whether the taxonomy is publicly queryable.', + 'description' => __( 'Whether the taxonomy is publicly queryable.' ), 'type' => 'boolean', ), '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', ), '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', ), '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', ), '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', ),