From 01d58943a18208158407090afbb1a303c6eca4a9 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 26 Jul 2020 21:52:41 +0000 Subject: [PATCH] REST API: Use a consistent description for the `textdomain` schema property between plugins and themes controllers. Follow-up to [48242], [48627]. Props audrasjb. Fixes #50776. See #50321. git-svn-id: https://develop.svn.wordpress.org/trunk@48628 602fd350-edb4-49c9-b593-d223f7449a82 --- .../rest-api/endpoints/class-wp-rest-themes-controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php b/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php index 88494a5fa9..591e3b838b 100644 --- a/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php +++ b/src/wp-includes/rest-api/endpoints/class-wp-rest-themes-controller.php @@ -367,7 +367,7 @@ class WP_REST_Themes_Controller extends WP_REST_Controller { ), ), 'textdomain' => array( - 'description' => __( 'The theme\'s textdomain.' ), + 'description' => __( 'The theme\'s text domain.' ), 'type' => 'string', 'readonly' => true, ),