Changeset 43595
- Timestamp:
- 08/30/2018 12:13:53 PM (6 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-login.php
r43571 r43595 942 942 if ( empty( $_COOKIE[ LOGGED_IN_COOKIE ] ) ) { 943 943 if ( headers_sent() ) { 944 /* translators: 1: Browser cookie documentation URL, 2: Support forums URL */945 944 $user = new WP_Error( 946 945 'test_cookie', 947 946 sprintf( 947 /* translators: 1: Browser cookie documentation URL, 2: Support forums URL */ 948 948 __( '<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>.' ), 949 949 __( 'https://codex.wordpress.org/Cookies' ), … … 953 953 } elseif ( isset( $_POST['testcookie'] ) && empty( $_COOKIE[ TEST_COOKIE ] ) ) { 954 954 // If cookies are disabled we can't log in even with a valid user+pass 955 /* translators: %s: Browser cookie documentation URL */956 955 $user = new WP_Error( 957 956 'test_cookie', 958 957 sprintf( 958 /* translators: %s: Browser cookie documentation URL */ 959 959 __( '<strong>ERROR</strong>: Cookies are blocked or not supported by your browser. You must <a href="%s">enable cookies</a> to use WordPress.' ), 960 960 __( 'https://codex.wordpress.org/Cookies' ) -
trunk/src/wp-signup.php
r43571 r43595 324 324 $errors = $filtered_results['errors']; 325 325 326 /* translators: %s: Network's site name. */ 326 327 echo '<h2>' . sprintf( __( 'Get <em>another</em> %s site in seconds' ), get_network()->site_name ) . '</h2>'; 327 328 … … 330 331 } 331 332 ?> 332 <p><?php printf( __( 'Welcome back, %s. By filling out the form below, you can <strong>add another site to your account</strong>. There is no limit to the number of sites you can have, so create to your heart’s content, but write responsibly!' ), $current_user->display_name ); ?></p> 333 <p> 334 <?php 335 /* translators: %s: Current user's display name. */ 336 printf( __( 'Welcome back, %s. By filling out the form below, you can <strong>add another site to your account</strong>. There is no limit to the number of sites you can have, so create to your heart’s content, but write responsibly!' ), $current_user->display_name ); 337 ?> 338 </p> 333 339 334 340 <?php … … 956 962 957 963 if ( $active_signup == 'blog' || $active_signup == 'all' ) { 958 /* translators: %s: site address */959 964 printf( 965 /* translators: %s: site address */ 960 966 '<p><em>' . __( 'The site you were looking for, %s, does not exist, but you can create it now!' ) . '</em></p>', 961 967 '<strong>' . $newblog . '</strong>' 962 968 ); 963 } else { /* translators: %s: site address */969 } else { 964 970 printf( 971 /* translators: %s: site address */ 965 972 '<p><em>' . __( 'The site you were looking for, %s, does not exist.' ) . '</em></p>', 966 973 '<strong>' . $newblog . '</strong>'
Note: See TracChangeset
for help on using the changeset viewer.