[wp-trac] [WordPress Trac] #51839: When get_feed_permastruct() return false, get_feed_link() return incorrect non feed url

WordPress Trac noreply at wordpress.org
Tue Feb 16 16:06:52 UTC 2021


#51839: When get_feed_permastruct() return false, get_feed_link() return incorrect
non feed url
---------------------------------------------+---------------------
 Reporter:  hauvong                          |       Owner:  (none)
     Type:  defect (bug)                     |      Status:  new
 Priority:  normal                           |   Milestone:  5.7
Component:  Feeds                            |     Version:  5.5
 Severity:  minor                            |  Resolution:
 Keywords:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+---------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch has-unit-tests => has-patch has-unit-tests commit


Comment:

 Thanks @hauvong for catching the issue and @peterwilsoncc for the tests!

 [attachment:"51839.2.diff"] looks good to me.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51839#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list