[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
Mon Nov 23 00:22:46 UTC 2020


#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 needs-unit-tests  |     Focuses:
----------------------------------------+---------------------
Changes (by peterwilsoncc):

 * keywords:  has-patch => has-patch needs-unit-tests
 * milestone:  Awaiting Review => 5.7


Comment:

 Thanks for the report, I've verified the issue. It was introduced in
 [47808] during the 5.5 release.

 I'll move this to the 5.7 milestone. It would be good to include some
 tests for `get_feed_link()` when the permalink structure is undefined so
 I've added the `needs-unit-tests` keyword too.

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


More information about the wp-trac mailing list