Changes in trunk/wp-signup.php [19304:20556]
- File:
-
- 1 edited
-
trunk/wp-signup.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-signup.php
r19304 r20556 96 96 <p class="privacy-intro"> 97 97 <label for="blog_public_on"><?php _e('Privacy:') ?></label> 98 <?php _e( 'Allow my site to appear in search engines like Google, Technorati, and in public listings around this network.'); ?>98 <?php _e( 'Allow search engines to index this site.' ); ?> 99 99 <br style="clear:both" /> 100 100 <label class="checkbox" for="blog_public_on"> … … 219 219 <h2><?php printf( __( 'The site %s is yours.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2> 220 220 <p> 221 <?php printf( __( '<a href="http://%1$s">http://%2$s</a> is your new site. <a href="%3$s">Log in</a> as “%4$s” using your existing password.' ), $domain.$path, $domain.$path, "http://" . $domain.$path . "wp-login.php", $user_name ) ?>221 <?php printf( __( '<a href="http://%1$s">http://%2$s</a> is your new site. <a href="%3$s">Log in</a> as “%4$s” using your existing password.' ), $domain.$path, $domain.$path, "http://" . $domain.$path . "wp-login.php", $user_name ) ?> 222 222 </p> 223 223 <?php … … 230 230 if ( !is_wp_error($errors) ) 231 231 $errors = new WP_Error(); 232 if ( isset( $_POST[ 'signup_for' ] ) ) 233 $signup[ esc_html( $_POST[ 'signup_for' ] ) ] = 'checked="checked"'; 234 else 235 $signup[ 'blog' ] = 'checked="checked"'; 236 237 //TODO - This doesn't seem to do anything do we really need it? 238 $signup['user'] = isset( $signup['user'] ) ? $signup['user'] : ''; 232 233 $signup_for = isset( $_POST[ 'signup_for' ] ) ? esc_html( $_POST[ 'signup_for' ] ) : 'blog'; 239 234 240 235 // allow definition of default variables … … 258 253 <input id="signupblog" type="hidden" name="signup_for" value="user" /> 259 254 <?php } else { ?> 260 <input id="signupblog" type="radio" name="signup_for" value="blog" <?php echo $signup['blog']?> />255 <input id="signupblog" type="radio" name="signup_for" value="blog" <?php checked( $signup_for, 'blog' ); ?> /> 261 256 <label class="checkbox" for="signupblog"><?php _e('Gimme a site!') ?></label> 262 257 <br /> 263 <input id="signupuser" type="radio" name="signup_for" value="user" <?php echo $signup['user']?> />258 <input id="signupuser" type="radio" name="signup_for" value="user" <?php checked( $signup_for, 'user' ); ?> /> 264 259 <label class="checkbox" for="signupuser"><?php _e('Just a username, please.') ?></label> 265 260 <?php } ?> … … 295 290 <h2><?php printf( __( '%s is your new username' ), $user_name) ?></h2> 296 291 <p><?php _e( 'But, before you can start using your new username, <strong>you must activate it</strong>.' ) ?></p> 297 <p><?php printf( __( 'Check your inbox at <strong>%1$s</strong> and click the link given.' ), $user_email)?></p>292 <p><?php printf( __( 'Check your inbox at <strong>%s</strong> and click the link given.' ), $user_email ); ?></p> 298 293 <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p> 299 294 <?php
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)