#8821 closed defect (bug) (fixed)
Error in function paginate_comments_links with permalinks
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.7.1 |
| Component: | General | Version: | 2.7 |
| Severity: | normal | Keywords: | comments |
| Cc: |
Description
I use next structure of permalinks:
/%category%/%postname%.html
Function paginate_comments_links generate wrong link like:
/lorem-ipsum/lorem-ipsum-part-4.htmlcomment-page-2#comments
My fix in file link-template.php line 1340:
$defaults['base'] = user_trailingslashit(rtrim(get_permalink(), '/') . '/comment-page-%#%', 'commentpaged');
Result:
/lorem-ipsum/lorem-ipsum-part-4.html/comment-page-2#comments
This is fix tested with all default permalinks structure
Change History (2)
Note: See
TracTickets for help on using
tickets.

(In [10335]) Fix paginate comment link slashing. Props AntonShevchuk. fixes #8821 for trunk