[wp-trac] [WordPress Trac] #43860: Dead code in feed_links_extra()
WordPress Trac
noreply at wordpress.org
Tue May 15 05:17:54 UTC 2018
#43860: Dead code in feed_links_extra()
-------------------------+-----------------------
Reporter: dmenard | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 5.0
Component: Feeds | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch | Focuses: template
-------------------------+-----------------------
Comment (by Ruxton):
There's an issue with having it so far up the if/else stack as the new
code (and therefore the proposed patches) has put it.
If you're in a post type archive & are filtering by taxon, it'll fire the
post type archive first. I'd expect taxon to come first in that situation.
Though rather than moving them around, perhaps making the the result
filterable would be a better solution?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43860#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list