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:
Ryan Boren
2010-10-07 19:34:18 +00:00
parent 3950973583
commit 9ee8b20f30
42 changed files with 311 additions and 281 deletions
+6 -1
View File
@@ -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);
?>