Changeset 4529
- Timestamp:
- 11/24/2006 10:55:28 PM (19 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
-
bookmark.php (modified) (4 diffs)
-
general-template.php (modified) (1 diff)
-
post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/bookmark.php
r4520 r4529 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 … … 56 56 } 57 57 } 58 if (!empty($inclusions)) 58 if (!empty($inclusions)) 59 59 $inclusions .= ')'; 60 60 … … 71 71 } 72 72 } 73 if (!empty($exclusions)) 73 if (!empty($exclusions)) 74 74 $exclusions .= ')'; 75 75 … … 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 } -
trunk/wp-includes/general-template.php
r4523 r4529 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"); -
trunk/wp-includes/post.php
r4528 r4529 1063 1063 if ( !empty($include) ) { 1064 1064 $child_of = 0; //ignore child_of, exclude, meta_key, and meta_value params if using include 1065 $exclude = ''; 1065 $exclude = ''; 1066 1066 $meta_key = ''; 1067 1067 $meta_value = ''; … … 1076 1076 } 1077 1077 } 1078 if (!empty($inclusions)) 1079 $inclusions .= ')'; 1078 if (!empty($inclusions)) 1079 $inclusions .= ')'; 1080 1080 1081 1081 $exclusions = '';
Note: See TracChangeset
for help on using the changeset viewer.