mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
7836738bd9
commit
ca35d65075
@ -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>
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user