[wp-trac] [WordPress Trac] #19893: get_comments_link() doesn't link properly if there are no responses

WordPress Trac noreply at wordpress.org
Sat Sep 12 11:08:43 UTC 2015


#19893: get_comments_link() doesn't link properly if there are no responses
-----------------------------------------------+---------------------------
 Reporter:  cgrymala                           |       Owner:
     Type:  enhancement                        |  wonderboymusic
 Priority:  normal                             |      Status:  reopened
Component:  Comments                           |   Milestone:  4.4
 Severity:  normal                             |     Version:
 Keywords:  has-patch needs-unit-tests commit  |  Resolution:
                                               |     Focuses:
-----------------------------------------------+---------------------------
Changes (by netweb):

 * keywords:  has-patch needs-unit-tests => has-patch needs-unit-tests
               commit
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 [https://core.trac.wordpress.org/attachment/ticket/19893/19893.2.diff
 19893.2.diff] fixes the comment link response in
 `Tests_Feed_RSS2::test_items()` as there are no comments created for the
 created posts in this test, therefore per r34075 the comment link to each
 post in the test should end in `#respond` and not `#comment`

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


More information about the wp-trac mailing list