[wp-trac] [WordPress Trac] #2877: A Slash too much @ get_pagenum_link()

WordPress Trac noreply at wordpress.org
Sun Oct 1 17:36:12 UTC 2023


#2877: A Slash too much @ get_pagenum_link()
-------------------------------------------------+-------------------------
 Reporter:  dave@…                               |       Owner:  petitphp
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.4
Component:  Posts, Post Types                    |     Version:  2.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-unit-    |     Focuses:  template
  tests has-testing-info                         |
-------------------------------------------------+-------------------------

Comment (by webtechpooja):

 Thank you, @petitphp for providing the detailed instructions for
 reproducing the issue.

 == **Test Report** ==

 === **Environment** ===

 - WordPress - 6.4 Beta 1
 - Chrome Version - Version 117.0.5938.92
 - OS - macOS Ventura Version: 13.0
 - Theme: Twenty Twenty-Three Version: 1.2
 - PHP - 8.1.9
 - Web Server - nginx
 - Database - MySQL 8.0.16

 === **Actual Results** ===

 I created a test setup using WordPress 6.4 Beta 1 and used the Twenty
 Twenty-Three theme, Here I followed the exact steps that were mentioned
 above by @petitphp:
 - Set the permalink structure to /%postname% (no trailing slash)
 - Created 20 posts
 - Then checked on frontend on both pages Older and newer pages.
 - I didn’t get the slash at the end of the URL.

 == Conclusion ==

 ❌ The issue is not recreated at my end. So I didn't apply the patch.

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


More information about the wp-trac mailing list