WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/27/2020 02:32:00 PM (16 months 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/class-wp-debug-data.php

    r47840 r47859  
    4141        $is_ssl                 = is_ssl();
    4242        $users_can_register     = get_option( 'users_can_register' );
     43        $blog_public            = get_option( 'blog_public' );
    4344        $default_comment_status = get_option( 'default_comment_status' );
    4445        $is_multisite           = is_multisite();
     
    103104                    'value' => $users_can_register ? __( 'Yes' ) : __( 'No' ),
    104105                    'debug' => $users_can_register,
     106                ),
     107                'blog_public'            => array(
     108                    'label' => __( 'Is this site discouraging search engines?' ),
     109                    'value' => $blog_public ? __( 'No' ) : __( 'Yes' ),
     110                    'debug' => $blog_public,
    105111                ),
    106112                'default_comment_status' => array(
Note: See TracChangeset for help on using the changeset viewer.