[wp-trac] [WordPress Trac] #49194: Page Template dropdown ordering should be by title, not value

WordPress Trac noreply at wordpress.org
Thu Mar 5 15:00:55 UTC 2026


#49194: Page Template dropdown ordering should be by title, not value
-------------------------------------------------+-------------------------
 Reporter:  leec87                               |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  reviewing
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Posts, Post Types                    |     Version:
 Severity:  minor                                |  Resolution:
 Keywords:  good-first-bug has-test-info has-    |     Focuses:  ui,
  patch                                          |  administration
-------------------------------------------------+-------------------------

Comment (by ant1busted):

 == Test Report
 === Description
 This report validates whether the indicated patch works as expected.
 The patch tested was johnnycocheroo454 from @johnnycocheroo454
 I tried applying 49194-sort-page-templates-by-title.patch but it failed.
 The modified file is not the same as in the patch.

 Patch tested: https://core.trac.wordpress.org/ticket/49194

 === Environment
 - WordPress: 7.0-beta2-20260305.115512
 - PHP: 8.2.27
 - Server: nginx/1.26.1
 - Database: mysqli (Server: 8.0.35 / Client: mysqlnd 8.2.27)
 - Browser: Firefox 148.0
 - OS: Linux
 - Theme: Twenty ten
 - MU Plugins: None activated
 - Plugins: None
   * Test Reports 1.2.1

 === Actual Results
 1.  ❌ Failed : The list was still following the value and not the name.

 === Additional Notes
 - Any additional details worth mentioning.

 === Supplemental Artifacts
 Screen captures here : [https://imgur.com/a/N92QM9c]

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


More information about the wp-trac mailing list