Administration: Replace Tagline option placeholder with a description.
As placeholders may introduce confusion about whether the example is the input's predefined value or not, this changeset moves the "Just another WordPress site" historic tagline as an example quoted in the field's description. Props Cybr, audrasjb, sabernhardt, pavanpatil1, tb1909. Fixes #57675. Built from https://develop.svn.wordpress.org/trunk@55969 git-svn-id: http://core.svn.wordpress.org/trunk@55481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
aa05fbf5f5
commit
6bd2392ecc
|
@ -84,11 +84,17 @@ if ( is_multisite() ) {
|
|||
/* translators: %s: Network title. */
|
||||
$sample_tagline = sprintf( __( 'Just another %s site' ), get_network()->site_name );
|
||||
}
|
||||
$tagline_description = sprintf(
|
||||
'%1$s %2$s',
|
||||
__( 'In a few words, explain what this site is about.' ),
|
||||
/* translators: %s: Site tagline example. */
|
||||
sprintf( __( 'Example: “%s.”' ), $sample_tagline )
|
||||
);
|
||||
?>
|
||||
<tr>
|
||||
<th scope="row"><label for="blogdescription"><?php _e( 'Tagline' ); ?></label></th>
|
||||
<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; ?>" />
|
||||
<p class="description" id="tagline-description"><?php _e( 'In a few words, explain what this site is about.' ); ?></p></td>
|
||||
<td><input name="blogdescription" type="text" id="blogdescription" aria-describedby="tagline-description" value="<?php form_option( 'blogdescription' ); ?>" class="regular-text" />
|
||||
<p class="description" id="tagline-description"><?php echo $tagline_description; ?></p></td>
|
||||
</tr>
|
||||
|
||||
<?php
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-alpha-55968';
|
||||
$wp_version = '6.3-alpha-55969';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue