diff --git a/wp-admin/admin-ajax.php b/wp-admin/admin-ajax.php index c3ebb7ff4b..32402c1fc2 100644 --- a/wp-admin/admin-ajax.php +++ b/wp-admin/admin-ajax.php @@ -414,6 +414,7 @@ case 'add-tag' : // From Manage->Tags $x = new WP_Ajax_Response( array( 'what' => 'tag', 'id' => $tag->term_id, + 'position' => '-1', 'data' => _tag_row( $tag ), 'supplemental' => array('name' => $tag_full_name, 'show-link' => sprintf(__( 'Tag %s added' ), "tag-$tag->term_id", $tag_full_name)) ) ); diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 525698a63f..5d53e697e6 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -65,12 +65,17 @@ li.widget-list-control-item h4.widget-title a, } li.widget-list-control-item, div.nav, .tablenav, #dashboard-widgets p.dashboard-widget-links, -.form-table tr, #poststuff h3, .metabox-holder h3, #replyhandle, + #poststuff h3, .metabox-holder h3, #replyhandle, .login form, h3.info-box-title, #post-status-info, #screen-options-wrap, #wpbody-content .describe tr, #edithead, #replyhead { background-color: #eaf3fa; } +.form-table tr, +.form-wrap .form-field { + background-color: #f1f1f1; +} + select { background-color: #fff; border-color: #ddd; @@ -151,8 +156,14 @@ ul#widget-list li.widget-list-item h4.widget-title { border-color: #c00 !important; } -.form-table input, .form-table textarea, .search-input { - border-color: #c6d9e9; +.form-table input, +.form-table textarea, +.search-input, +.form-field input, +.form-field textarea, +.submit, +.submit-top { + border-color: #DFDFDF; } .form-table td, @@ -769,10 +780,6 @@ div#media-upload-error, .file-error, abbr.required, .widget-control-remove:hover color: #333; } -.form-wrap .form-field { - background-color: #f5f5f5; -} - /* Diff */ table.diff .diff-deletedline { diff --git a/wp-admin/edit-tags.php b/wp-admin/edit-tags.php index 9d4a870788..797a60e6d3 100644 --- a/wp-admin/edit-tags.php +++ b/wp-admin/edit-tags.php @@ -113,9 +113,11 @@ if ( isset($_GET['_wp_http_referer']) && ! empty($_GET['_wp_http_referer']) ) { exit; } +$can_manage = current_user_can('manage_categories'); + wp_enqueue_script( 'admin-tags' ); wp_enqueue_script('admin-forms'); -if ( current_user_can('manage_categories') ) +if ( $can_manage ) wp_enqueue_script('inline-edit-tax'); require_once ('admin-header.php'); @@ -241,9 +243,21 @@ if ( $page_links )