[wp-trac] [WordPress Trac] #48427: feed_links_extra() has 2 "elseif ( is_post_type_archive() ) {}" clauses
WordPress Trac
noreply at wordpress.org
Thu Jan 30 14:02:56 UTC 2020
#48427: feed_links_extra() has 2 "elseif ( is_post_type_archive() ) {}" clauses
--------------------------+-----------------------------
Reporter: pbiron | Owner: SergeyBiryukov
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.4
Component: Feeds | Version: 3.7
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+-----------------------------
Changes (by donmhico):
* keywords: => has-patch
Comment:
Thanks for the report @pbiron. The patch
[https://core.trac.wordpress.org/attachment/ticket/48427/48427.diff
48427.diff] removes the second `} elseif ( is_post_type_archive() ) {`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48427#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list