[wp-trac] Re: [WordPress Trac] #7865: new locate_template function
causes TAG pages to NOT appear
WordPress Trac
wp-trac at lists.automattic.com
Sat Oct 11 17:41:37 GMT 2008
#7865: new locate_template function causes TAG pages to NOT appear
--------------------------------------+-------------------------------------
Reporter: cogmios | Owner: westi
Type: defect | Status: assigned
Priority: normal | Milestone: 2.7
Component: Template | Version: 2.7
Severity: normal | Resolution:
Keywords: tag template needs-patch |
--------------------------------------+-------------------------------------
Changes (by westi):
* keywords: tag template => tag template needs-patch
* owner: anonymous => westi
* status: new => assigned
* severity: major => normal
* priority: high => normal
Comment:
Nothing is wrong with locate_template.
The fact is that the code in 2.6.x allows for textual tag templates 2.7
for some reason expects them to be numeric tag ids.
The change is in get_tag_template() which now wraps an absint around the
result of get_query_var
--
Ticket URL: <http://trac.wordpress.org/ticket/7865#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list