mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-06 05:34:26 +00:00
Administration: Change default site tagline to an empty string.
This changeset replaces the default "Just another WordPress site" tagline with an empty string for new installations. The reasoning is:
1. Not all themes display the tagline;
2. Not everyone changes the default tagline;
3. When people don't see the tagline in their theme, they may not realize it is still visible in some places, like feeds.
The string "Just another WordPress site" and the related multisite string: "Just another {NETWORK} site" are now only used as a placeholder for the tagline admin option.
Props markjaquith, Denis-de-Bernardy, westi, RyanMurphy, kovshenin, SergeyBiryukov, chriscct7, tyxla, hyperbrand, karmatosed, lukecavanagh, melchoyce, boemedia, khag7, sabernhardt, audrasjb, peterwilsoncc, costdev, martinkrcho, rafiahmedd.
Fixes #6479.
git-svn-id: https://develop.svn.wordpress.org/trunk@53815 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -401,8 +401,7 @@ function populate_options( array $options = array() ) {
|
||||
'siteurl' => $guessurl,
|
||||
'home' => $guessurl,
|
||||
'blogname' => __( 'My Site' ),
|
||||
/* translators: Site tagline. */
|
||||
'blogdescription' => __( 'Just another WordPress site' ),
|
||||
'blogdescription' => '',
|
||||
'users_can_register' => 0,
|
||||
'admin_email' => 'you@example.com',
|
||||
/* translators: Default start of the week. 0 = Sunday, 1 = Monday. */
|
||||
@@ -555,8 +554,6 @@ function populate_options( array $options = array() ) {
|
||||
|
||||
// 3.0.0 multisite.
|
||||
if ( is_multisite() ) {
|
||||
/* translators: %s: Network title. */
|
||||
$defaults['blogdescription'] = sprintf( __( 'Just another %s site' ), get_network()->site_name );
|
||||
$defaults['permalink_structure'] = '/%year%/%monthnum%/%day%/%postname%/';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user