Changeset 15613 for trunk/wp-includes/theme.php
- Timestamp:
- 09/13/2010 04:44:14 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/theme.php
r15611 r15613 808 808 */ 809 809 function get_tag_template() { 810 $tag_id = absint( get_query_var('tag_id') ); 811 $tag_name = get_query_var('tag'); 810 global $wp_query; 811 812 $tag = $wp_query->get_queried_object(); 813 $tag_name = $tag->slug; 814 $tag_id = $tag->term_id; 812 815 813 816 $templates = array();
Note: See TracChangeset
for help on using the changeset viewer.