[wp-trac] [WordPress Trac] #61393: Trailing Slash Issue in Category Pagination URLs with the_posts_pagination()

WordPress Trac noreply at wordpress.org
Thu Jun 13 18:20:57 UTC 2024


#61393: Trailing Slash Issue in Category Pagination URLs with
the_posts_pagination()
-------------------------------------------------+-------------------------
 Reporter:  hmbashar                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Permalinks                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch has-       |     Focuses:
  testing-info needs-testing changes-requested   |  accessibility
-------------------------------------------------+-------------------------
Changes (by hmbashar):

 * keywords:  has-screenshots has-patch has-testing-info needs-testing =>
     has-screenshots has-patch has-testing-info needs-testing changes-
     requested


Comment:

 Hello @rahulsprajapati,

 I've tested your patch, and while it is working fine, I have noticed
 another issue. Perhaps your patch could address this as well. I checked
 several themes like Astra, Twenty Fifteen, Twenty Fourteen, and more. I
 observed that themes with the "Newest Post" and "Older Post" navigation
 feature have a trailing slash for the newest posts (see screenshot).
 However, other themes with the same features, such as Twenty Eleven and
 Twenty Ten, do not show a trailing slash with the newest posts (see
 screenshots).


 Twenty Fourteen: https://prnt.sc/NrC_xTz4b63X
 Astra: https://prnt.sc/i2H72Q6XLBjc
 Twenty Fifteen: https://prnt.sc/bawBT2J-IhM7



 Twenty Ten: https://prnt.sc/lTizkhfzP-Uz
 Twenty Eleven: https://prnt.sc/iv169bWJkQSz

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


More information about the wp-trac mailing list