Dashboard: Rename the Site Content widget (née Right Now) to At a Glance.
see #25824. Built from https://develop.svn.wordpress.org/trunk@26697 git-svn-id: http://core.svn.wordpress.org/trunk@26587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
d0e4753aef
commit
4a3e2f84b9
|
@ -37,7 +37,7 @@ function wp_dashboard_setup() {
|
|||
|
||||
// Right Now
|
||||
if ( is_blog_admin() && current_user_can('edit_posts') )
|
||||
wp_add_dashboard_widget( 'dashboard_right_now', __( 'Site Content' ), 'wp_dashboard_right_now' );
|
||||
wp_add_dashboard_widget( 'dashboard_right_now', __( 'At a Glance' ), 'wp_dashboard_right_now' );
|
||||
|
||||
if ( is_network_admin() )
|
||||
wp_add_dashboard_widget( 'network_dashboard_right_now', __( 'Right Now' ), 'wp_network_dashboard_right_now' );
|
||||
|
@ -170,7 +170,7 @@ function wp_dashboard() {
|
|||
/**
|
||||
* Dashboard widget that displays some basic stats about the site.
|
||||
*
|
||||
* Formerly 'Right Now'. A streamlined 'Site Content' as of 3.8.
|
||||
* Formerly 'Right Now'. A streamlined 'At a Glance' as of 3.8.
|
||||
*
|
||||
* @since 2.7.0
|
||||
*/
|
||||
|
|
|
@ -63,7 +63,7 @@ get_current_screen()->add_help_tab( array(
|
|||
'id' => 'site-visibility',
|
||||
'title' => has_action( 'blog_privacy_selector' ) ? __( 'Site Visibility' ) : __( 'Search Engine Visibility' ),
|
||||
'content' => '<p>' . __( 'You can choose whether or not your site will be crawled by robots, ping services, and spiders. If you want those services to ignore your site, click the checkbox next to “Discourage search engines from indexing this site” and click the Save Changes button at the bottom of the screen. Note that your privacy is not complete; your site is still visible on the web.' ) . '</p>' .
|
||||
'<p>' . __( 'When this setting is in effect, a reminder is shown in the Right Now box of the Dashboard that says, “Search Engines Discouraged,” to remind you that your site is not being crawled.' ) . '</p>',
|
||||
'<p>' . __( 'When this setting is in effect, a reminder is shown in the At a Glance box of the Dashboard that says, “Search Engines Discouraged,” to remind you that your site is not being crawled.' ) . '</p>',
|
||||
) );
|
||||
|
||||
get_current_screen()->set_help_sidebar(
|
||||
|
|
Loading…
Reference in New Issue