[wp-trac] [WordPress Trac] #8973: Function get_page_of_comment() returns incorrect page numbers

WordPress Trac noreply at wordpress.org
Tue Jun 23 13:51:19 UTC 2020


#8973: Function get_page_of_comment() returns incorrect page numbers
--------------------------------------------------+------------------------
 Reporter:  GregMulhauser                         |       Owner:  whyisjake
     Type:  defect (bug)                          |      Status:  closed
 Priority:  normal                                |   Milestone:  5.5
Component:  Comments                              |     Version:  2.7
 Severity:  normal                                |  Resolution:  fixed
 Keywords:  has-patch needs-testing dev-feedback  |     Focuses:
--------------------------------------------------+------------------------

Comment (by SergeyBiryukov):

 In [changeset:"48140" 48140]:
 {{{
 #!CommitTicketReference repository="" revision="48140"
 Comments: Remove `wp_get_include_unapproved_comments_argument()` for now.

 The function seems too specific and low-level for an abstraction, is only
 used in two places, and does not provide a significant benefit in terms of
 reducing code duplication.

 Follow-up to [48133].

 See #8973.
 }}}

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


More information about the wp-trac mailing list