I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment.
Adds context to one string used in two different contexts for the new user and new site signup email notification. More to come. See #38882 Built from https://develop.svn.wordpress.org/trunk@39323 git-svn-id: http://core.svn.wordpress.org/trunk@39263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -787,10 +787,12 @@ default:
|
||||
|
||||
if ( empty( $_COOKIE[ LOGGED_IN_COOKIE ] ) ) {
|
||||
if ( headers_sent() ) {
|
||||
/* translators: 1: Browser cookie documentation URL, 2: Support forums URL */
|
||||
$user = new WP_Error( 'test_cookie', sprintf( __( '<strong>ERROR</strong>: Cookies are blocked due to unexpected output. For help, please see <a href="%1$s">this documentation</a> or try the <a href="%2$s">support forums</a>.' ),
|
||||
__( 'https://codex.wordpress.org/Cookies' ), __( 'https://wordpress.org/support/' ) ) );
|
||||
} elseif ( isset( $_POST['testcookie'] ) && empty( $_COOKIE[ TEST_COOKIE ] ) ) {
|
||||
// If cookies are disabled we can't log in even with a valid user+pass
|
||||
/* translators: 1: Browser cookie documentation URL */
|
||||
$user = new WP_Error( 'test_cookie', sprintf( __( '<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ),
|
||||
__( 'https://codex.wordpress.org/Cookies' ) ) );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user