Changeset 15229
- Timestamp:
- 06/11/2010 05:49:35 PM (15 years ago)
- Location:
- trunk/wp-includes
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/deprecated.php
r15220 r15229 2544 2544 function is_taxonomy( $taxonomy ) { 2545 2545 _deprecated_function( __FUNCTION__, '3.0', 'taxonomy_exists()' ); 2546 return taxonomy_exists( $ post_type);2546 return taxonomy_exists( $taxonomy ); 2547 2547 } 2548 2548 -
trunk/wp-includes/query.php
r15173 r15229 1973 1973 $include_tags = "'" . implode("', '", $q['tag__in']) . "'"; 1974 1974 $whichcat .= " AND $wpdb->term_taxonomy.term_id IN ($include_tags) "; 1975 $reqtag = is_term( $q['tag__in'][0], 'post_tag' );1975 $reqtag = term_exists( $q['tag__in'][0], 'post_tag' ); 1976 1976 if ( !empty($reqtag) ) 1977 1977 $q['tag_id'] = $reqtag['term_id']; … … 2001 2001 2002 2002 if ( $item != 'category__and' ) { 2003 $reqtag = is_term( $q[$item][0], 'post_tag' );2003 $reqtag = term_exists( $q[$item][0], 'post_tag' ); 2004 2004 if ( !empty($reqtag) ) 2005 2005 $q['tag_id'] = $reqtag['term_id']; -
trunk/wp-includes/theme-compat/sidebar.php
r14771 r15229 42 42 43 43 <?php /* If this is a search result */ } elseif (is_search()) { ?> 44 <p><?php printf(__('You have searched the <a href="%1$s/">%2$s</a> blog archives for <strong>‘%3$s’</strong>. If you are unable to find anything in these search results, you can try one of these links.'), get_bloginfo('url'), get_bloginfo('name'), wp_specialchars(get_search_query(), true)); ?></p>44 <p><?php printf(__('You have searched the <a href="%1$s/">%2$s</a> blog archives for <strong>‘%3$s’</strong>. If you are unable to find anything in these search results, you can try one of these links.'), get_bloginfo('url'), get_bloginfo('name'), esc_html( get_search_query() ) ); ?></p> 45 45 46 46 <?php /* If this set is paginated */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?>
Note: See TracChangeset
for help on using the changeset viewer.