Make WordPress Core


Ignore:
Timestamp:
05/27/2020 02:32:00 PM (6 years ago)
Author:
afercia
Message:

Administration and Site Health: Make information on Search engine visibility more prominent.

  • makes the "Search engines discouraged" message on the Dashboard more prominent
  • adds "Search engine visibility" information under Site Health > Info > WordPress
  • removes title case in favor of sentence case in all the related strings

Props audrasjb, swissspidy, emanuel_blagonic, Presskopp, karmatosed, valentinbora, melchoyce.
Fixes #35288.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/dashboard.php

    r47808 r47859  
    347347
    348348                /**
    349                  * Filters the link title attribute for the 'Search Engines Discouraged'
     349                 * Filters the link title attribute for the 'Search engines discouraged'
    350350                 * message displayed in the 'At a Glance' dashboard widget.
    351351                 *
     
    360360
    361361                /**
    362                  * Filters the link label for the 'Search Engines Discouraged' message
     362                 * Filters the link label for the 'Search engines discouraged' message
    363363                 * displayed in the 'At a Glance' dashboard widget.
    364364                 *
     
    369369                 * @param string $content Default text.
    370370                 */
    371                 $content    = apply_filters( 'privacy_on_link_text', __( 'Search Engines Discouraged' ) );
     371                $content    = apply_filters( 'privacy_on_link_text', __( 'Search engines discouraged' ) );
    372372                $title_attr = '' === $title ? '' : " title='$title'";
    373373
    374                 echo "<p><a href='options-reading.php'$title_attr>$content</a></p>";
     374                echo "<p class='search-engines-info'><a href='options-reading.php'$title_attr>$content</a></p>";
    375375        }
    376376        ?>
Note: See TracChangeset for help on using the changeset viewer.