From ca35d6507548355ccb9ea1d195bc8e5aeabb9749 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Sun, 13 Nov 2022 22:31:14 +0000 Subject: [PATCH] Networks and Sites: Replace "N/A" with "Not applicable" in `choose_primary_blog()` This changeset replaces "N/A" with "Not applicable" in the `choose_primary_blog()` function. It also makes the text string translatable. Props kowsar89, SergeyBiryukov, audrasjb, mukesh27. Fixes #57040. Built from https://develop.svn.wordpress.org/trunk@54832 git-svn-id: http://core.svn.wordpress.org/trunk@54384 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/ms.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/ms.php b/wp-admin/includes/ms.php index 741d02e9c9..dc6a145549 100644 --- a/wp-admin/includes/ms.php +++ b/wp-admin/includes/ms.php @@ -783,7 +783,7 @@ function choose_primary_blog() { update_user_meta( get_current_user_id(), 'primary_blog', $blog->userblog_id ); } } else { - echo 'N/A'; + _e( 'Not available' ); } ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index c16c372587..41ab57ad51 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54831'; +$wp_version = '6.2-alpha-54832'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.