mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
+6
-1
@@ -24,6 +24,11 @@ add_thickbox();
|
||||
$title = __('Dashboard');
|
||||
$parent_file = 'index.php';
|
||||
|
||||
if ( is_user_admin() )
|
||||
add_screen_option('layout_columns', array('max' => 4, 'default' => 1) );
|
||||
else
|
||||
add_screen_option('layout_columns', array('max' => 4, 'default' => 2) );
|
||||
|
||||
add_contextual_help($current_screen,
|
||||
|
||||
'<p>' . __('Welcome to your WordPress Dashboard! You will find helpful tips in the Help tab of each screen to assist you as you get to know the application.') . '</p>' .
|
||||
@@ -42,7 +47,7 @@ add_contextual_help($current_screen,
|
||||
'<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
|
||||
);
|
||||
|
||||
require_once('./admin-header.php');
|
||||
include (ABSPATH . 'wp-admin/admin-header.php');
|
||||
|
||||
$today = current_time('mysql', 1);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user