[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 17:33:12 UTC 2021


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

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"50354" 50354]:
 {{{
 #!CommitTicketReference repository="" revision="50354"
 Feeds: Fix the URL returned by `get_feed_link()` when pretty permalinks
 are not in use.

 Props hauvong, peterwilsoncc, SergeyBiryukov

 Fixes #51839
 }}}

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


More information about the wp-trac mailing list