Make WordPress Core


Ignore:
Timestamp:
08/03/2022 12:18:22 PM (3 years ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/feed/rss2.php

    r53241 r53815  
    5959            wp_set_object_terms( $post, self::$category->slug, 'category' );
    6060        }
     61
     62        // Assign a tagline option.
     63        update_option( 'blogdescription', 'Just another WordPress site' );
     64
    6165    }
    6266
     
    7478        $this->set_permalink_structure( '/%year%/%monthnum%/%day%/%postname%/' );
    7579        create_initial_taxonomies();
     80    }
     81
     82    /**
     83     * Tear down.
     84     */
     85    public static function wpTearDownAfterClass() {
     86        delete_option( 'blogdescription' );
    7687    }
    7788
Note: See TracChangeset for help on using the changeset viewer.