From ffcf68b2def87a8c5845a1c5bfb0d59f1f2c7235 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 21 Jun 2023 20:48:31 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@55969 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/options-general.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/options-general.php b/src/wp-admin/options-general.php index 16156860e2..5642b461be 100644 --- a/src/wp-admin/options-general.php +++ b/src/wp-admin/options-general.php @@ -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 ) +); ?> - -

+ +