[wp-trac] [WordPress Trac] #34475: get_comment_link incorrect page number in returned url.
WordPress Trac
noreply at wordpress.org
Wed Oct 28 17:21:09 UTC 2015
#34475: get_comment_link incorrect page number in returned url.
-------------------------------+------------------------------
Reporter: Property118 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Comments | Version: 4.3.1
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by boonebgorges):
Sorry to be pedantic, but can you tell me exactly where the
`commenttest()` code is? Are you just pasting it into the `cron-test` post
content (and running a plugin that parses the PHP)? Or is this a custom
page template? I assume that the "comment notifier" plugin you've referred
to is https://wordpress.org/plugins/comments-notifier/; it appears that it
runs at 'comment_post'. The exact place in the load order may be important
for the purposes of your issue.
Can you verify whether, in these problematic cases, `get_comment_link()`
is calling `get_page_of_comment()`?
`get_page_of_comment()` and `get_comment_link()` logic has been completely
overhauled for 4.4. Is there any chance you have a testing environment
where you can run the latest 4.4 beta to see if it resolves your issues?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34475#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list