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
This commit is contained in:
audrasjb 2022-11-13 22:31:14 +00:00
parent 7836738bd9
commit ca35d65075
2 changed files with 2 additions and 2 deletions

View File

@ -783,7 +783,7 @@ function choose_primary_blog() {
update_user_meta( get_current_user_id(), 'primary_blog', $blog->userblog_id ); update_user_meta( get_current_user_id(), 'primary_blog', $blog->userblog_id );
} }
} else { } else {
echo 'N/A'; _e( 'Not available' );
} }
?> ?>
</td> </td>

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.