From 66d425d86aaabd3bb5def79d7eee13d53936122d Mon Sep 17 00:00:00 2001 From: audrasjb Date: Wed, 3 Aug 2022 12:20:16 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@53815 git-svn-id: http://core.svn.wordpress.org/trunk@53374 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/schema.php | 5 +---- wp-admin/options-general.php | 10 +++++++++- wp-includes/version.php | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/wp-admin/includes/schema.php b/wp-admin/includes/schema.php index a9978bc3b3..5a04ce4750 100644 --- a/wp-admin/includes/schema.php +++ b/wp-admin/includes/schema.php @@ -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%/'; } diff --git a/wp-admin/options-general.php b/wp-admin/options-general.php index 20c83fb1d8..5834c8a9d7 100644 --- a/wp-admin/options-general.php +++ b/wp-admin/options-general.php @@ -66,9 +66,17 @@ require_once ABSPATH . 'wp-admin/admin-header.php'; +site_name ); +} +?> - +

diff --git a/wp-includes/version.php b/wp-includes/version.php index 1aa16411dd..24fa96cb78 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53814'; +$wp_version = '6.1-alpha-53815'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.