Changeset 12224
- Timestamp:
- 11/19/2009 07:42:52 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/category-template.php
r12014 r12224 868 868 $id = (int) $id; 869 869 870 if ( ! $id && ! in_the_loop() ) 871 return false; // in-the-loop function 872 873 if ( !$id ) 874 $id = (int) $post->ID; 870 if ( !$id ) { 871 if ( !$post->ID ) 872 return false; 873 else 874 $id = (int) $post->ID; 875 } 875 876 876 877 $terms = get_object_term_cache( $id, $taxonomy );
Note: See TracChangeset
for help on using the changeset viewer.