[wp-trac] [WordPress Trac] #13459: Conflict between post and page slugs/permalinks when permalink setting is set to /%postname%/

WordPress Trac noreply at wordpress.org
Sat May 17 12:33:57 UTC 2025


#13459: Conflict between post and page slugs/permalinks when permalink setting is
set to /%postname%/
-------------------------------------------------+-------------------------
 Reporter:  jamescollins                         |       Owner:  petitphp
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Permalinks                           |     Version:  2.9.2
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing has-unit-tests => has-patch has-unit-
     tests dev-feedback


Comment:

 == Test Report
 === Description
 ✅ This report validates that the indicated patch works as expected.

 Patch tested: https://github.com/WordPress/wordpress-
 develop/pull/8257.diff

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 136.0.0.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-Five 1.2
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Actual Results
 1. ✅ Issue resolved with patch.
 2. 🟠 Unit tests could be improved, check Notes

 === Additional Notes
 - Patch tests provided by @sukhendu2002 look good, but they are testing
 things that are redundant (already being covered). I'm providing a new PR
 that aims to focus on this ticket report, taking his code as baseline
 - @audrasjb @jorbin, 15 years later, [https://github.com/WordPress
 /wordpress-develop/pull/8814 this patch] appears to be ready to go into
 next 6.8.2

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


More information about the wp-trac mailing list