Ticket #3385: whitespace.patch
File whitespace.patch, 2.1 KB (added by , 17 years ago) |
---|
-
wp-includes/bookmark.php
19 19 20 20 // Deprecate 21 21 function get_link($bookmark_id, $output = OBJECT) { 22 return get_bookmark($bookmark_id, $output); 22 return get_bookmark($bookmark_id, $output); 23 23 } 24 24 25 25 function get_bookmarks($args = '') { … … 55 55 } 56 56 } 57 57 } 58 if (!empty($inclusions)) 58 if (!empty($inclusions)) 59 59 $inclusions .= ')'; 60 60 61 61 $exclusions = ''; … … 70 70 } 71 71 } 72 72 } 73 if (!empty($exclusions)) 73 if (!empty($exclusions)) 74 74 $exclusions .= ')'; 75 75 76 76 if ( ! empty($category_name) ) { … … 92 92 } 93 93 } 94 94 if (!empty($category_query)) { 95 $category_query .= ')'; 95 $category_query .= ')'; 96 96 $join = " LEFT JOIN $wpdb->link2cat ON ($wpdb->links.link_id = $wpdb->link2cat.link_id) "; 97 97 } 98 98 -
wp-includes/general-template.php
480 480 FROM $wpdb->posts 481 481 WHERE post_date > '$thisyear-$thismonth-01' 482 482 AND MONTH( post_date ) != MONTH( '$thisyear-$thismonth-01' ) 483 AND post_type = 'post' AND post_status = 'publish' 483 AND post_type = 'post' AND post_status = 'publish' 484 484 ORDER BY post_date ASC 485 485 LIMIT 1"); 486 486 -
wp-includes/post.php
1057 1057 $inclusions = ''; 1058 1058 if ( !empty($include) ) { 1059 1059 $child_of = 0; //ignore child_of, exclude, meta_key, and meta_value params if using include 1060 $exclude = ''; 1060 $exclude = ''; 1061 1061 $meta_key = ''; 1062 1062 $meta_value = ''; 1063 1063 $incpages = preg_split('/[\s,]+/',$include); … … 1070 1070 } 1071 1071 } 1072 1072 } 1073 if (!empty($inclusions)) 1074 $inclusions .= ')'; 1073 if (!empty($inclusions)) 1074 $inclusions .= ')'; 1075 1075 1076 1076 $exclusions = ''; 1077 1077 if ( !empty($exclude) ) {