mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
whitespace tidying by Viper007Bond. fixes #3385
git-svn-id: http://svn.automattic.com/wordpress/trunk@4529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
43fca5536b
commit
64429cec1e
@ -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) ";
|
||||
}
|
||||
|
||||
|
@ -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");
|
||||
|
||||
|
@ -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) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user