[wp-trac] [WordPress Trac] #39280: comment permalink wrong in WordPress 4.7

WordPress Trac noreply at wordpress.org
Thu Dec 15 20:06:18 UTC 2016


#39280: comment permalink wrong in WordPress 4.7
------------------------------------------+--------------------
 Reporter:  jikamens                      |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  4.7.1
Component:  Comments                      |     Version:  4.7
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+--------------------

Comment (by WetCatBooks):

 Subscribe to Comments Reloaded plugin is also affected. I had someone add
 some code that does fix the redirect problem the readers were experiencing
 when hitting the comment submit button. But since the new code went into
 the theme's functions.php file, it doesn't help other issues caused by the
 glitch.

 The following URL is for an existing comment, as it now appears correctly
 on the public page, after the "fix" was added to the theme’s functions.php
 file:

 http://www.ultimatepapermache.com/daily-sculptors-group-page/comment-
 page-76#comment-140264

 On the back end, which is still governed by the WP program, the same email
 permalink is generated this way:

 http://www.ultimatepapermache.com/daily-sculptors-group-page/comment-
 page-1#comment-140264

 Wordpress is counting the comment pages from the wrong end, (which is
 probably obvious to everyone by now), and the Subscribe to Comments plugin
 is sending out the wrong links. I disabled it, until the next WP plugin.

 If anyone is interested in the temporary partial fix, I'd be happy to
 share it if someone will point out the way to add the code to the text
 box. I don't want to break anything... ;)

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


More information about the wp-trac mailing list