[wp-trac] [WordPress Trac] #11189: the_tags() does not work in custom WP_Query loops
WordPress Trac
wp-trac at lists.automattic.com
Thu Nov 19 19:39:04 UTC 2009
#11189: the_tags() does not work in custom WP_Query loops
--------------------------+-------------------------------------------------
Reporter: markjaquith | Owner:
Type: defect (bug) | Status: new
Priority: high | Milestone: 2.9
Component: Template | Version:
Severity: major | Keywords:
--------------------------+-------------------------------------------------
get_the_terms() relies on the function in_the_loop() to determine whether
it should grab the global $post->ID. in_the_loop only returns true for the
main $wp_query loop. Thus, a call to the_tags() will not work.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11189>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list