[wp-trac] [WordPress Trac] #52814: Avoid notices in `get_post_comments_feed_link()`

WordPress Trac noreply at wordpress.org
Tue Jun 8 22:59:34 UTC 2021


#52814: Avoid notices in `get_post_comments_feed_link()`
-------------------------------------------------+-------------------------
 Reporter:  dd32                                 |       Owner:
                                                 |  SergeyBiryukov
     Type:  defect (bug)                         |      Status:  closed
 Priority:  low                                  |   Milestone:  5.8
Component:  Feeds                                |     Version:
 Severity:  trivial                              |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests has-        |     Focuses:
  testing-info commit                            |
-------------------------------------------------+-------------------------
Changes (by antpb):

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


Comment:

 In [changeset:"51121" 51121]:
 {{{
 #!CommitTicketReference repository="" revision="51121"
 Feeds: Avoid notices in `get_post_comments_feed_link()`.

 When an feed request is made to a non-existent page, surpress the notice.

 Props dd32, SergeyBiryukov, mukesh27, hellofromTonya.
 Fixes #52814.
 }}}

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


More information about the wp-trac mailing list