[wp-trac] [WordPress Trac] #61210: Hybrid themes: PHP Templates can not be assigned in the block editor

WordPress Trac noreply at wordpress.org
Fri Feb 6 23:59:29 UTC 2026


#61210: Hybrid themes: PHP Templates can not be assigned in the block editor
--------------------------+-----------------------------
 Reporter:  nkpathan      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Editor        |     Version:  6.5.3
 Severity:  major         |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+-----------------------------
Changes (by sajib1223):

 * keywords:  dev-feedback needs-testing => dev-feedback


Comment:

 == Bug Reproduction Report

 === Environment
 - WordPress: 7.0-alpha-61215-src
 - PHP: 8.2.29
 - Server: nginx/1.27.5
 - Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
 - Browser: Firefox 147.0
 - OS: Windows 10/11
 - Theme: Twenty Twenty-Four 1.4
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

 === Steps taken
 1. Activated Twenty Twenty Four theme.
 2. Added custom page template in theme.

 {{{
 <?php
 /**
  * Template Name: Custom Page
  */
 }}}

 3. It's not showing in Page Template Selector.
 4. ✅ Error condition occurs (reproduced).

 === Expected results
 - PHP Page templates should be available in block template selector.

 === Screenshots / Screencasts:

 Page template now showing:

 [[Image(https://files.catbox.moe/d50yr0.png)]]

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


More information about the wp-trac mailing list