Ticket #6479: 6479.3.patch
File 6479.3.patch, 2.2 KB (added by , 3 years ago) |
---|
-
src/wp-admin/includes/schema.php
401 401 'siteurl' => $guessurl, 402 402 'home' => $guessurl, 403 403 'blogname' => __( 'My Site' ), 404 /* translators: Site tagline. */ 405 'blogdescription' => __( 'Just another WordPress site' ), 404 'blogdescription' => '', 406 405 'users_can_register' => 0, 407 406 'admin_email' => 'you@example.com', 408 407 /* translators: Default start of the week. 0 = Sunday, 1 = Monday. */ … … 555 554 556 555 // 3.0.0 multisite. 557 556 if ( is_multisite() ) { 558 /* translators: %s: Network title. */559 $defaults['blogdescription'] = sprintf( __( 'Just another %s site' ), get_network()->site_name );560 557 $defaults['permalink_structure'] = '/%year%/%monthnum%/%day%/%postname%/'; 561 558 } 562 559 -
src/wp-admin/options-general.php
66 66 <td><input name="blogname" type="text" id="blogname" value="<?php form_option( 'blogname' ); ?>" class="regular-text" /></td> 67 67 </tr> 68 68 69 <?php 70 /* translators: Site tagline. */ 71 $sample_tagline = __( 'Just another WordPress site' ); 72 if ( is_multisite() ) { 73 /* translators: %s: Network title. */ 74 $sample_tagline = sprintf( __( 'Just another %s site' ), get_network()->site_name ); 75 } 76 ?> 69 77 <tr> 70 78 <th scope="row"><label for="blogdescription"><?php _e( 'Tagline' ); ?></label></th> 71 <td><input name="blogdescription" type="text" id="blogdescription" aria-describedby="tagline-description" value="<?php form_option( 'blogdescription' ); ?>" class="regular-text" />79 <td><input name="blogdescription" type="text" id="blogdescription" aria-describedby="tagline-description" value="<?php form_option( 'blogdescription' ); ?>" class="regular-text" placeholder="<?php echo $sample_tagline; ?>" /> 72 80 <p class="description" id="tagline-description"><?php _e( 'In a few words, explain what this site is about.' ); ?></p></td> 73 81 </tr> 74 82