[wp-trac] [WordPress Trac] #8973: Function get_page_of_comment() returns incorrect page numbers
WordPress Trac
noreply at wordpress.org
Sun Dec 6 22:32:04 UTC 2015
#8973: Function get_page_of_comment() returns incorrect page numbers
----------------------------------------+-----------------------------
Reporter: GregMulhauser | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Comments | Version: 2.7
Severity: normal | Resolution:
Keywords: dev-feedback needs-refresh | Focuses:
----------------------------------------+-----------------------------
Comment (by dossy):
I wrote up a test case to demonstrate the issue (a commenter's unapproved
comments not being included in the count) and a patch to address it (see
8973-1.diff). However, code that calls `get_page_of_comment()` will need
to be updated to be aware of this in order for the user experience to Do
The Right Thing, but I'm hoping this at least is a start in the right
direction.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/8973#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list