[wp-trac] [WordPress Trac] #18614: post_type_archive_title doesn't work when tax_query is added to wp_query
WordPress Trac
noreply at wordpress.org
Fri Sep 6 22:06:41 UTC 2013
#18614: post_type_archive_title doesn't work when tax_query is added to wp_query
----------------------------------------+-----------------------------
Reporter: wonderboymusic | Owner: wonderboymusic
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.7
Component: Template | Version: 3.2
Severity: normal | Resolution: fixed
Keywords: has-patch needs-unit-tests |
----------------------------------------+-----------------------------
Changes (by wonderboymusic):
* owner: => wonderboymusic
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"25291"]:
{{{
#!CommitTicketReference repository="" revision="25291"
Ensure that the post type object is the queried object when a post type
has been registered with `has_archive => true`. Ensure it is not stomped
when decorated with `tax_query`. Adds unit tests.
Props nacin.
Fixes #18614.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18614#comment:31>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list