[wp-trac] [WordPress Trac] #60545: Default XML exporter is failing to export block templates.

WordPress Trac noreply at wordpress.org
Wed Jan 28 15:52:46 UTC 2026


#60545: Default XML exporter is failing to export block templates.
---------------------------------------+------------------------------
 Reporter:  heymehedi                  |       Owner:  (none)
     Type:  defect (bug)               |      Status:  assigned
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Export                     |     Version:  6.4.3
 Severity:  normal                     |  Resolution:
 Keywords:  has-patch needs-test-info  |     Focuses:
---------------------------------------+------------------------------
Changes (by huzaifaalmesbah):

 * keywords:  has-patch needs-testing needs-test-info => has-patch needs-
     test-info


Comment:

 == Reproduction Report

 === Environment
 - WordPress: 7.0-alpha-61215-src
 - PHP: 8.2.30
 - Server: nginx/1.29.4
 - Database: mysqli (Server: 9.5.0 / Client: mysqlnd 8.2.30)
 - Browser: Chrome 143.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.1

 === Steps taken
 1. Set up a fresh WordPress installation.
 2. Created a new block template via **Appearance → Editor → Templates**.
 3. Navigated to **Tools → Export**.
 4. Selected **Choose what to export → All content**.
 5. Generated and downloaded the XML export file.
 6. Opened the XML file and searched for the created block template.

 x. ❌ Bug is not occurring

 === Expected behavior
 - Block templates should be included in the XML export when exporting
 **All content**.


 === Additional Notes
 - Tested on latest trunk and matches results from previous reports on this
 ticket.
 - Behavior appears correct and consistent across multiple environments.
 - No regressions or export issues detected.

 === Screenshots/Screencast with results
 - XML export file contains the created block template (verified manually).
 [[Image(https://i.ibb.co/4w2SvyDm/Huzaifa-20260128215120.png)]]

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


More information about the wp-trac mailing list