From efb7e7b56348d1e9b8a2da7a08a996917a38e553 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sun, 13 Nov 2022 22:29:39 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@54832 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/ms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-admin/includes/ms.php b/src/wp-admin/includes/ms.php index 741d02e9c9..dc6a145549 100644 --- a/src/wp-admin/includes/ms.php +++ b/src/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' ); } ?>