From 64429cec1e488f257b666e0d1722d940c0d89e07 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Fri, 24 Nov 2006 22:55:28 +0000 Subject: [PATCH] whitespace tidying by Viper007Bond. fixes #3385 git-svn-id: http://svn.automattic.com/wordpress/trunk@4529 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/bookmark.php | 8 ++++---- wp-includes/general-template.php | 2 +- wp-includes/post.php | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/wp-includes/bookmark.php b/wp-includes/bookmark.php index 5efed2ad17..638f006e49 100644 --- a/wp-includes/bookmark.php +++ b/wp-includes/bookmark.php @@ -19,7 +19,7 @@ function get_bookmark($bookmark_id, $output = OBJECT) { // Deprecate function get_link($bookmark_id, $output = OBJECT) { - return get_bookmark($bookmark_id, $output); + return get_bookmark($bookmark_id, $output); } function get_bookmarks($args = '') { @@ -55,7 +55,7 @@ function get_bookmarks($args = '') { } } } - if (!empty($inclusions)) + if (!empty($inclusions)) $inclusions .= ')'; $exclusions = ''; @@ -70,7 +70,7 @@ function get_bookmarks($args = '') { } } } - if (!empty($exclusions)) + if (!empty($exclusions)) $exclusions .= ')'; if ( ! empty($category_name) ) { @@ -92,7 +92,7 @@ function get_bookmarks($args = '') { } } if (!empty($category_query)) { - $category_query .= ')'; + $category_query .= ')'; $join = " LEFT JOIN $wpdb->link2cat ON ($wpdb->links.link_id = $wpdb->link2cat.link_id) "; } diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index f4799583ed..c210ade366 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -480,7 +480,7 @@ function get_calendar($initial = true) { FROM $wpdb->posts WHERE post_date > '$thisyear-$thismonth-01' AND MONTH( post_date ) != MONTH( '$thisyear-$thismonth-01' ) - AND post_type = 'post' AND post_status = 'publish' + AND post_type = 'post' AND post_status = 'publish' ORDER BY post_date ASC LIMIT 1"); diff --git a/wp-includes/post.php b/wp-includes/post.php index 2a6e2974f8..3e562d595c 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1062,7 +1062,7 @@ function &get_pages($args = '') { $inclusions = ''; if ( !empty($include) ) { $child_of = 0; //ignore child_of, exclude, meta_key, and meta_value params if using include - $exclude = ''; + $exclude = ''; $meta_key = ''; $meta_value = ''; $incpages = preg_split('/[\s,]+/',$include); @@ -1075,8 +1075,8 @@ function &get_pages($args = '') { } } } - if (!empty($inclusions)) - $inclusions .= ')'; + if (!empty($inclusions)) + $inclusions .= ')'; $exclusions = ''; if ( !empty($exclude) ) {