From d4ce786b2e1b41b84507f2ce39ba74fd195d4b9b Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sun, 2 Jun 2024 21:07:13 +0000 Subject: [PATCH] I18n: Add more context to the overall use of `none` in translatable strings. Because `none` doesn't convey the same meaning all the time. Props tobifjellner, audrasjb, SergeyBiryukov, shailu25. Fixes #50087. Built from https://develop.svn.wordpress.org/trunk@58284 git-svn-id: http://core.svn.wordpress.org/trunk@57744 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/meta-boxes.php | 6 +++--- wp-includes/deprecated.php | 2 +- wp-includes/media-template.php | 18 +++++++++--------- wp-includes/version.php | 2 +- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index 707fba5e2e..43e33445d6 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -1354,7 +1354,7 @@ function link_xfn_meta_box( $link ) { />  @@ -1405,7 +1405,7 @@ function link_xfn_meta_box( $link ) { />  @@ -1434,7 +1434,7 @@ function link_xfn_meta_box( $link ) { />  diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index 6e26606fd0..863131714d 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -705,7 +705,7 @@ function dropdown_cats($optionall = 1, $all = 'All', $orderby = 'ID', $order = ' $show_option_none = ''; if ( $optionnone ) - $show_option_none = __('None'); + $show_option_none = _x( 'None', 'Categories dropdown (show_option_none parameter)' ); $vars = compact('show_option_all', 'show_option_none', 'orderby', 'order', 'show_last_update', 'show_count', 'hide_empty', 'selected', 'exclude'); diff --git a/wp-includes/media-template.php b/wp-includes/media-template.php index abe3fac0ba..e0bd68a8f4 100644 --- a/wp-includes/media-template.php +++ b/wp-includes/media-template.php @@ -840,7 +840,7 @@ function wp_print_media_templates() { @@ -867,7 +867,7 @@ function wp_print_media_templates() { @@ -1096,7 +1096,7 @@ function wp_print_media_templates() { @@ -1113,7 +1113,7 @@ function wp_print_media_templates() { @@ -1160,7 +1160,7 @@ function wp_print_media_templates() { @@ -1236,7 +1236,7 @@ function wp_print_media_templates() { @@ -1356,7 +1356,7 @@ function wp_print_media_templates() { - + @@ -1455,7 +1455,7 @@ function wp_print_media_templates() { - + diff --git a/wp-includes/version.php b/wp-includes/version.php index 0f1e6c843a..5690839100 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58283'; +$wp_version = '6.6-alpha-58284'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.