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/atom.php

    r52267 r53815  
    5252        }
    5353
     54        // Assign a tagline option.
     55        update_option( 'blogdescription', 'Just another WordPress site' );
     56
    5457    }
    5558
     
    6265        $this->post_count   = (int) get_option( 'posts_per_rss' );
    6366        $this->excerpt_only = get_option( 'rss_use_excerpt' );
     67    }
     68
     69    /**
     70     * Tear down.
     71     */
     72    public static function wpTearDownAfterClass() {
     73        delete_option( 'blogdescription' );
    6474    }
    6575
Note: See TracChangeset for help on using the changeset viewer.