diff --git a/wp-admin/css/color-picker-rtl.css b/wp-admin/css/color-picker-rtl.css index 6d90e7d8f1..ac0b3c56fc 100644 --- a/wp-admin/css/color-picker-rtl.css +++ b/wp-admin/css/color-picker-rtl.css @@ -29,7 +29,7 @@ } .wp-color-result:after { - background: #f7f7f7; + background: #f7f7f7; border-radius: 2px 0 0 2px; border-right: 1px solid #ccc; color: #555; diff --git a/wp-admin/css/color-picker.css b/wp-admin/css/color-picker.css index 5fc95f5f56..320d1266a5 100644 --- a/wp-admin/css/color-picker.css +++ b/wp-admin/css/color-picker.css @@ -29,7 +29,7 @@ } .wp-color-result:after { - background: #f7f7f7; + background: #f7f7f7; border-radius: 0 2px 2px 0; border-left: 1px solid #ccc; color: #555; diff --git a/wp-admin/css/ie-rtl.css b/wp-admin/css/ie-rtl.css index 8a6ff2cb9b..244e97df1e 100644 --- a/wp-admin/css/ie-rtl.css +++ b/wp-admin/css/ie-rtl.css @@ -212,7 +212,7 @@ ul#adminmenu { .theme-browser .theme .theme-screenshot { height: 180px; - min-width: + min-width: } .theme-browser .theme .theme-actions { diff --git a/wp-admin/css/ie.css b/wp-admin/css/ie.css index ca256f0ace..df3d7547d3 100644 --- a/wp-admin/css/ie.css +++ b/wp-admin/css/ie.css @@ -212,7 +212,7 @@ ul#adminmenu { .theme-browser .theme .theme-screenshot { height: 180px; - min-width: + min-width: } .theme-browser .theme .theme-actions { diff --git a/wp-admin/includes/class-wp-upgrader.php b/wp-admin/includes/class-wp-upgrader.php index d3fdf4bfa1..1d35c24818 100644 --- a/wp-admin/includes/class-wp-upgrader.php +++ b/wp-admin/includes/class-wp-upgrader.php @@ -1902,7 +1902,7 @@ class WP_Automatic_Updater { // if the filesystem is unavailable, false is returned. if ( false === $upgrade_result ) { - $upgrade_result = new WP_Error( 'fs_unavailable', __( 'Could not access filesystem.' ) ); + $upgrade_result = new WP_Error( 'fs_unavailable', __( 'Could not access filesystem.' ) ); } // Core doesn't output this, so lets append it so we don't get confused diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php index b163373433..8095cd4330 100644 --- a/wp-admin/includes/plugin.php +++ b/wp-admin/includes/plugin.php @@ -808,7 +808,7 @@ function delete_plugins($plugins, $redirect = '' ) { if ( $current = get_site_transient('update_plugins') ) { // Don't remove the plugins that weren't deleted. $deleted = array_diff( $plugins, $errors ); - + foreach ( $deleted as $plugin_file ) { unset( $current->response[ $plugin_file ] ); } diff --git a/wp-admin/includes/theme.php b/wp-admin/includes/theme.php index a3766c5b32..cc7c4545e6 100644 --- a/wp-admin/includes/theme.php +++ b/wp-admin/includes/theme.php @@ -311,7 +311,7 @@ function themes_api( $action, $args = null ) { * 'feature_list', or 'query_themes'. */ $args = apply_filters( 'themes_api_args', $args, $action ); - + /** * Filter whether to override the WordPress.org Themes API. * diff --git a/wp-admin/js/post.js b/wp-admin/js/post.js index 51538521a9..35f56548d7 100644 --- a/wp-admin/js/post.js +++ b/wp-admin/js/post.js @@ -374,7 +374,7 @@ jQuery(document).ready( function($) { e.preventDefault(); } }).filter(':visible').find('.wp-tab-first').focus(); - + // Set the heartbeat interval to 15 sec. if post lock dialogs are enabled if ( typeof wp !== 'undefined' && wp.heartbeat && $('#post-lock-dialog').length ) { wp.heartbeat.interval( 15 ); diff --git a/wp-admin/js/widgets.js b/wp-admin/js/widgets.js index c1fd1f086c..046907b404 100644 --- a/wp-admin/js/widgets.js +++ b/wp-admin/js/widgets.js @@ -440,7 +440,7 @@ wpWidgets = { // No longer "new" widget widget.find( 'input.add_new' ).val(''); - /* + /* * Check if any part of the sidebar is visible in the viewport. If it is, don't scroll. * Otherwise, scroll up to so the sidebar is in view. * @@ -450,7 +450,7 @@ wpWidgets = { viewportTop = $(window).scrollTop(); viewportBottom = viewportTop + $(window).height(); sidebarBounds = sidebar.offset(); - + sidebarBounds.bottom = sidebarBounds.top + sidebar.outerHeight(); if ( viewportTop > sidebarBounds.bottom || viewportBottom < sidebarBounds.top ) { diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 5d4fa6f1d9..804a239e61 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -279,7 +279,7 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_ <# } #>
- + <# if ( data.active ) { #>