[wp-trac] [WordPress Trac] #55410: Update spacer block markup in patterns/templates registered by Twenty Twenty-Two and Core

WordPress Trac noreply at wordpress.org
Tue May 20 11:40:36 UTC 2025


#55410: Update spacer block markup in patterns/templates registered by Twenty
Twenty-Two and Core
---------------------------+-----------------------------
 Reporter:  jsnajdr        |       Owner:  (none)
     Type:  enhancement    |      Status:  closed
 Priority:  normal         |   Milestone:  Future Release
Component:  Bundled Theme  |     Version:  6.0
 Severity:  normal         |  Resolution:  worksforme
 Keywords:  has-patch      |     Focuses:
---------------------------+-----------------------------
Changes (by SirLouen):

 * keywords:  has-patch needs-testing => has-patch
 * status:  assigned => closed
 * resolution:   => worksforme


Comment:

 == Reproduction Report
 === Description
 ❌ This report can't validate that the issue can be reproduced.

 === 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-Two 2.0
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Bug Reproduction Steps
 1. Enable 2022 theme
 2. Open a new page
 3. Add a template > Footers > Footer with social links and copyright
 4. ❌ Nothing happens

 === Actual Results
 1.  ❌ Error condition doesn't occur

 === Additional Notes
 Hello @jsnajdr, I've noted that if I add a spacer and remove the `px` in
 code, the deprecation notice appears as you suggest.

 But I've been trying to add several patterns and I can't seem to find one
 that triggers this notice
 I've checked your PR and added some templates (without the patch) that you
 seem to be touching like `footer-navigation-coypright.php` and none seem
 to trigger the deprecation notice

 For example, one of the templates you touch is "footer with social links
 and copyright" but the pixels are automatically added

 Maybe since 3 years have passed since you opened this, this has been
 already sorted at some point

 This said, I can close this as `worksforme`. You are welcome to reopen if
 you can provide some exact reproduction steps that I could have missed.

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


More information about the wp-trac mailing list