diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css
index 457aa9fc19..0e876921db 100644
a
|
b
|
|
197 | 197 | |
198 | 198 | .welcome-panel .welcome-icon:before, |
199 | 199 | #dashboard_right_now li a:before, |
200 | | #dashboard_right_now li span:before { |
| 200 | #dashboard_right_now li span:before, |
| 201 | #dashboard_right_now .search-engines-info a:before { |
201 | 202 | color: #606a73; |
202 | 203 | font: normal 20px/1 dashicons; |
203 | 204 | speak: none; |
… |
… |
|
292 | 293 | content: "\f153"; |
293 | 294 | } |
294 | 295 | |
| 296 | #dashboard_right_now .search-engines-info a:before { |
| 297 | content: "\f348"; |
| 298 | } |
| 299 | |
295 | 300 | /* Dashboard WordPress events */ |
296 | 301 | |
297 | 302 | .community-events-errors { |
… |
… |
body #dashboard-widgets .postbox form .submit { |
537 | 542 | margin-left: 5px; |
538 | 543 | } |
539 | 544 | |
| 545 | #dashboard_right_now p.search-engines-info { |
| 546 | margin: 10px 0 0; |
| 547 | } |
| 548 | |
540 | 549 | .mu-storage { |
541 | 550 | overflow: hidden; |
542 | 551 | } |
diff --git a/src/wp-admin/includes/class-wp-debug-data.php b/src/wp-admin/includes/class-wp-debug-data.php
index e15deb99d2..248ebab8fe 100644
a
|
b
|
class WP_Debug_Data { |
40 | 40 | $permalink_structure = get_option( 'permalink_structure' ); |
41 | 41 | $is_ssl = is_ssl(); |
42 | 42 | $users_can_register = get_option( 'users_can_register' ); |
| 43 | $blog_public = get_option( 'blog_public' ); |
43 | 44 | $default_comment_status = get_option( 'default_comment_status' ); |
44 | 45 | $is_multisite = is_multisite(); |
45 | 46 | $core_version = get_bloginfo( 'version' ); |
… |
… |
class WP_Debug_Data { |
103 | 104 | 'value' => $users_can_register ? __( 'Yes' ) : __( 'No' ), |
104 | 105 | 'debug' => $users_can_register, |
105 | 106 | ), |
| 107 | 'blog_public' => array( |
| 108 | 'label' => __( 'Is this site discouraging search engines?' ), |
| 109 | 'value' => $blog_public ? __( 'No' ) : __( 'Yes' ), |
| 110 | 'debug' => $blog_public, |
| 111 | ), |
106 | 112 | 'default_comment_status' => array( |
107 | 113 | 'label' => __( 'Default comment status' ), |
108 | 114 | 'value' => 'open' === $default_comment_status ? _x( 'Open', 'comment status' ) : _x( 'Closed', 'comment status' ), |
diff --git a/src/wp-admin/includes/dashboard.php b/src/wp-admin/includes/dashboard.php
index e17ca73251..fe745cabd1 100644
a
|
b
|
function wp_dashboard_right_now() { |
368 | 368 | * |
369 | 369 | * @param string $content Default text. |
370 | 370 | */ |
371 | | $content = apply_filters( 'privacy_on_link_text', __( 'Search Engines Discouraged' ) ); |
| 371 | $content = apply_filters( 'privacy_on_link_text', __( 'Search engines discouraged' ) ); |
372 | 372 | $title_attr = '' === $title ? '' : " title='$title'"; |
373 | 373 | |
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>"; |
375 | 375 | } |
376 | 376 | ?> |
377 | 377 | </div> |