-views(); ?>
diff --git a/wp-admin/themes.php b/wp-admin/themes.php
index ffcf2662d4..d6c7fceaa4 100644
--- a/wp-admin/themes.php
+++ b/wp-admin/themes.php
@@ -146,7 +146,7 @@ if ( ! current_user_can( 'switch_themes' ) ) {
$features ) :
$feature_name = esc_html( $feature_name ); ?>
-
+
diff --git a/wp-includes/canonical.php b/wp-includes/canonical.php
index 738ae70715..9513e4caf6 100644
--- a/wp-includes/canonical.php
+++ b/wp-includes/canonical.php
@@ -342,7 +342,7 @@ function redirect_canonical($requested_url=null, $do_redirect=true) {
if ( !$redirect_url || $redirect_url == $requested_url )
return false;
-
+
// Hex encoded octets are case-insensitive.
if ( false !== strpos($requested_url, '%') ) {
if ( !function_exists('lowercase_octets') ) {
diff --git a/wp-includes/js/autosave.dev.js b/wp-includes/js/autosave.dev.js
index 39bb61ca16..91be518035 100644
--- a/wp-includes/js/autosave.dev.js
+++ b/wp-includes/js/autosave.dev.js
@@ -260,8 +260,8 @@ autosave = function() {
post_data["excerpt"] = jQuery("#excerpt").val();
if ( jQuery("#post_author").size() )
post_data["post_author"] = jQuery("#post_author").val();
- if ( jQuery("#parent_id").val() )
- post_data["parent_id"] = jQuery("#parent_id").val();
+ if ( jQuery("#parent_id").val() )
+ post_data["parent_id"] = jQuery("#parent_id").val();
post_data["user_ID"] = jQuery("#user-id").val();
if ( jQuery('#auto_draft').val() == '1' )
post_data["auto_draft"] = '1';
diff --git a/wp-includes/nav-menu-template.php b/wp-includes/nav-menu-template.php
index 2c57d086d6..399900e8df 100644
--- a/wp-includes/nav-menu-template.php
+++ b/wp-includes/nav-menu-template.php
@@ -314,9 +314,9 @@ function _wp_menu_item_classes_by_context( &$menu_items ) {
$possible_object_parents = array_filter( $possible_object_parents );
foreach ( (array) $menu_items as $key => $menu_item ) {
-
+
$menu_items[$key]->current = false;
-
+
$classes = (array) $menu_item->classes;
$classes[] = 'menu-item';
$classes[] = 'menu-item-type-' . $menu_item->type;
@@ -362,7 +362,7 @@ function _wp_menu_item_classes_by_context( &$menu_items ) {
$current_url = untrailingslashit( ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
$item_url = untrailingslashit( strpos( $menu_item->url, '#' ) ? substr( $menu_item->url, 0, strpos( $menu_item->url, '#' ) ) : $menu_item->url );
$_indexless_current = untrailingslashit( preg_replace( '/index.php$/', '', $current_url ) );
-
+
if ( in_array( $item_url, array( $current_url, $_indexless_current ) ) ) {
$classes[] = 'current-menu-item';
$menu_items[$key]->current = true;
@@ -383,7 +383,7 @@ function _wp_menu_item_classes_by_context( &$menu_items ) {
$active_parent_object_ids[] = (int) $menu_item->post_parent;
$active_object = $menu_item->object;
}
-
+
if ( untrailingslashit($item_url) == home_url() )
$classes[] = 'menu-item-home';
}
@@ -403,7 +403,7 @@ function _wp_menu_item_classes_by_context( &$menu_items ) {
$classes = (array) $parent_item->classes;
$menu_items[$key]->current_item_ancestor = false;
$menu_items[$key]->current_item_parent = false;
-
+
if (
isset( $parent_item->type ) &&
(
diff --git a/wp-includes/post.php b/wp-includes/post.php
index 14e31ef96c..788f7875bd 100644
--- a/wp-includes/post.php
+++ b/wp-includes/post.php
@@ -1111,7 +1111,7 @@ function _get_custom_object_labels( $object, $nohier_vs_hier_defaults ) {
*
* @access private
* @since 3.1.0
- */
+ */
function _add_post_type_submenus() {
foreach ( get_post_types( array( 'show_ui' => true ) ) as $ptype ) {
$ptype_obj = get_post_type_object( $ptype );
diff --git a/wp-includes/taxonomy.php b/wp-includes/taxonomy.php
index 537090a887..b34fa853f0 100644
--- a/wp-includes/taxonomy.php
+++ b/wp-includes/taxonomy.php
@@ -503,7 +503,7 @@ function get_objects_in_term( $terms, $taxonomies, $args = array() ) {
if ( $term = get_term_by( $field, $term, $taxonomy ) )
$term = $term->term_id;
else
- continue;
+ continue;
}
$children = array_merge( $children, get_term_children( $term, $taxonomy ) );
$children[] = $term;
@@ -2831,7 +2831,7 @@ function get_ancestors($object_id = 0, $object_type = '') {
if ( empty( $object_id ) ) {
return apply_filters('get_ancestors', $ancestors, $object_id, $object_type);
}
-
+
if ( is_taxonomy_hierarchical( $object_type ) ) {
$term = get_term($object_id, $object_type);
while ( ! is_wp_error($term) && ! empty( $term->parent ) && ! in_array( $term->parent, $ancestors ) ) {
diff --git a/wp-includes/wp-db.php b/wp-includes/wp-db.php
index f35d6eb996..1ab78a397f 100644
--- a/wp-includes/wp-db.php
+++ b/wp-includes/wp-db.php
@@ -1043,7 +1043,7 @@ class wpdb {
If you're unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.
"/*/WP_I18N_DB_CONN_ERROR*/, $this->dbhost ), 'db_connect_fail' );
-
+
//If show errors is disabled then we need to die anyway as we don't have a working DB connection
die();
}
diff --git a/wp-login.php b/wp-login.php
index f0ed858cc1..723d626143 100644
--- a/wp-login.php
+++ b/wp-login.php
@@ -261,7 +261,7 @@ function check_password_reset_key($key, $login) {
if ( empty( $user ) )
return new WP_Error('invalid_key', __('Invalid key'));
-
+
return $user;
}