diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index e86c0190a9..12852ae848 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -1,4 +1,8 @@ +html { + background-color: #f9f9f9; +} + .find-box-search { border-color: #dfdfdf; background-color: #f1f1f1; @@ -65,6 +69,7 @@ div.dashboard-widget, .widefat { border-color: #dfdfdf; + background-color: #fff; } div.dashboard-widget-error { @@ -1160,8 +1165,9 @@ div.star.select:hover { } /* inline editor */ -.inline-editor input, -.inline-editor textarea, +.inline-edit-row fieldset input[type="text"], +.inline-edit-row fieldset textarea, +#bulk-titles, #replyrow input { border-color: #ddd; } @@ -1172,6 +1178,11 @@ div.star.select:hover { .inline-editor ul.cat-checklist { background-color: #FFFFFF; + border-color: #ddd; +} + +.inline-edit-row p.submit { + background-color: #f1f1f1; } .inline-editor .categories .catshow, diff --git a/wp-admin/css/dashboard.css b/wp-admin/css/dashboard.css index 7060ef5d6a..927ed27a4b 100644 --- a/wp-admin/css/dashboard.css +++ b/wp-admin/css/dashboard.css @@ -296,20 +296,6 @@ div.postbox div.inside { margin: 0 1em 0 10px; } -#dashboard-widgets #dashboard_quick_press form p.submit .cancel { - padding-left: 0; - padding-right: 0; - border: none; - background-color: transparent; - text-decoration: underline; - color: red; -} - -#dashboard-widgets #dashboard_quick_press form p.submit .cancel:hover { - text-decoration: none; -} - - #dashboard-widgets #dashboard_quick_press form p.submit #publish { float: right; } diff --git a/wp-admin/css/global.css b/wp-admin/css/global.css index e6e12d32e8..2457298878 100644 --- a/wp-admin/css/global.css +++ b/wp-admin/css/global.css @@ -61,7 +61,6 @@ table { #wpwrap { height: auto; min-height: 100%; - overflow: hidden; width: 100%; } diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index eaa9fe5fdf..51323ddf30 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -137,6 +137,43 @@ input.button-highlighted { margin-top: 10px; } +/* Inline Editor */ +#wpbody-content .quick-edit-row-post .inline-edit-col-left { + width: 39%; +} + +#wpbody-content .inline-edit-row-post .inline-edit-col-center { + width: 19%; +} + +#wpbody-content .quick-edit-row-page .inline-edit-col-left { + width: 49%; +} + +#wpbody-content .bulk-edit-row .inline-edit-col-left { + width: 29%; +} + +.inline-edit-row p.submit { + zoom: 100%; +} + +.inline-edit-row fieldset label span.title { + display: block; + float: left; + width: 5em; +} + +.inline-edit-row fieldset label span.input-text-wrap { + margin-left: 0; + zoom: 100%; +} + +#wpbody-content .inline-edit-row fieldset label span.input-text-wrap input { + line-height: 130%; +} +/* end Inline Editor */ + * html div.widget-liquid-left-holder, * html div.widget-liquid-right { display: block; diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 849a4ff96b..eb8c090974 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -215,7 +215,7 @@ function bulk_edit_posts( $post_data = null ) { $post_IDs = array_map( intval, (array) $post_data['post'] ); - $reset = array( 'post_author', 'post_status', 'post_password', 'post_parent', 'page_template', 'comment_status', 'ping_status', 'keep_private', 'tags_input', 'post_category' ); + $reset = array( 'post_author', 'post_status', 'post_password', 'post_parent', 'page_template', 'comment_status', 'ping_status', 'keep_private', 'tags_input', 'post_category', 'sticky' ); foreach ( $reset as $field ) { if ( isset($post_data[$field]) && ( '' == $post_data[$field] || -1 == $post_data[$field] ) ) unset($post_data[$field]); @@ -274,6 +274,14 @@ function bulk_edit_posts( $post_data = null ) { $post_data['ID'] = $post_ID; $updated[] = wp_update_post( $post_data ); + + if ( current_user_can( 'edit_others_posts' ) && isset( $post_data['sticky'] ) ) { + if ( 'sticky' == $post_data['sticky'] ) + stick_post( $post_ID ); + else + unstick_post( $post_ID ); + } + } return array( 'updated' => $updated, 'skipped' => $skipped, 'locked' => $locked ); diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php index 1f9f746ea1..f535e014ca 100644 --- a/wp-admin/includes/template.php +++ b/wp-admin/includes/template.php @@ -204,66 +204,57 @@ function inline_edit_term_row($type) { $is_tag = $type == 'tag'; $columns = $is_tag ? get_column_headers('tag') : get_column_headers('category'); - $hidden = (array) get_user_option( "manage-$type-columns-hidden" ); + $hidden = array_intersect( array_keys( $columns ), array_filter( (array) get_user_option( "manage-$type-columns-hidden" ) ) ); + $col_count = count($columns) - count($hidden); $output = ''; ?>
+ $can_publish = current_user_can('publish_posts'); + $core_columns = array( 'cb' => true, 'date' => true, 'title' => true, 'categories' => true, 'tags' => true, 'comments' => true, 'author' => true ); + +?>