diff --git a/wp-admin/css/wp-admin-rtl.css b/wp-admin/css/wp-admin-rtl.css index e9fc7b0a4a..1d49f346b1 100644 --- a/wp-admin/css/wp-admin-rtl.css +++ b/wp-admin/css/wp-admin-rtl.css @@ -1909,6 +1909,11 @@ a.rsswidget, } #dashboard-widgets h3 .postbox-title-action { + right: auto; + left: 10px; +} + +.js #dashboard-widgets h3 .postbox-title-action { right: auto; left: 30px; } diff --git a/wp-admin/css/wp-admin.css b/wp-admin/css/wp-admin.css index bd349ff7d1..7be2f44294 100644 --- a/wp-admin/css/wp-admin.css +++ b/wp-admin/css/wp-admin.css @@ -627,6 +627,11 @@ select, padding: 10px 0 0; } +.no-js .widefat thead .check-column input, +.no-js .widefat tfoot .check-column input { + display: none; +} + .widefat .num, .column-comments, .column-links, @@ -2308,7 +2313,7 @@ html.wp-toolbar { float: left; } -.ie8 .welcome-panel .welcome-panel-column { +.ie8 .welcome-panel .welcome-panel-column { min-width: 230px; } @@ -3392,6 +3397,9 @@ td.plugin-title p { text-decoration: none; } +.no-js #postcustomstuff #enternew { + display: none; +} /*------------------------------------------------------------------------------ 11.2 - Post Revisions @@ -3444,10 +3452,14 @@ table.diff .diff-deletedline del, table.diff .diff-addedline ins { margin-top: 10px; } -#select-featured-image.has-featured-image .remove { +.js #select-featured-image.has-featured-image .remove { display: inline-block; } +.no-js #select-featured-image .choose { + display: none; +} + /*------------------------------------------------------------------------------ 12.0 - Categories ------------------------------------------------------------------------------*/ @@ -4159,6 +4171,10 @@ td.imgedit-settings input { float: left; } +.no-js .wp_attachment_image .button { + display: none; +} + .wp_attachment_image .spinner, .A1B1 .spinner { float: left; @@ -6052,11 +6068,15 @@ h3:hover .edit-box { #dashboard-widgets h3 .postbox-title-action { position: absolute; - right: 30px; + right: 10px; padding: 0; top: 5px; } +.js #dashboard-widgets h3 .postbox-title-action { + right: 30px; +} + #dashboard-widgets h4 { font-weight: normal; font-size: 13px; @@ -6240,6 +6260,10 @@ h3:hover .edit-box { } /* QuickPress */ +.no-js #dashboard_quick_press { + display: none; +} + #dashboard_quick_press .easy-blogging { padding: 0 8px; text-align: left; diff --git a/wp-admin/edit-form-advanced.php b/wp-admin/edit-form-advanced.php index d5e579f3c7..85930a999f 100644 --- a/wp-admin/edit-form-advanced.php +++ b/wp-admin/edit-form-advanced.php @@ -322,7 +322,7 @@ if ( !empty($shortlink) ) $sample_permalink_html .= '' . __('Get Shortlink') . ''; if ( $post_type_object->public && ! ( 'pending' == get_post_status( $post ) && !current_user_can( $post_type_object->cap->publish_posts ) ) ) { ?> -
+
' . __('Text') . "\n"; - $buttons .= '' . __('Visual') . "\n"; + $buttons .= '' . __('Text') . "\n"; + $buttons .= '' . __('Visual') . "\n"; } echo '
'; @@ -124,7 +124,7 @@ final class _WP_Editors { echo $set['editor_css'] . "\n"; if ( !empty($buttons) || $set['media_buttons'] ) { - echo '
'; + echo '
'; echo $buttons; if ( $set['media_buttons'] ) { @@ -133,7 +133,7 @@ final class _WP_Editors { if ( !function_exists('media_buttons') ) include(ABSPATH . 'wp-admin/includes/media.php'); - echo '
'; + echo '
'; do_action('media_buttons', $editor_id); echo "
\n"; }