[wp-trac] [WordPress Trac] #56341: Twenty Twenty-Two: Long text strings cause horizontal overflow

WordPress Trac noreply at wordpress.org
Fri Jan 23 10:15:08 UTC 2026


#56341: Twenty Twenty-Two: Long text strings cause horizontal overflow
-------------------------------------------------+-------------------------
 Reporter:  mrfoxtalbot                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Bundled Theme                        |     Version:  6.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh has-test-    |     Focuses:  css
  info                                           |
-------------------------------------------------+-------------------------
Changes (by huzaifaalmesbah):

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


Comment:

 == Patch Testing Report

 Patch Tested:
 https://core.trac.wordpress.org/attachment/ticket/56341/56341.diff

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

 === Steps taken
 1. Activated the Twenty Twenty-Two theme.
 2. Created a new page and added a Paragraph block.
 3. Inserted a very long unbroken text/URL.
 4. Checked the frontend on a narrow viewport.
 5. Applied the patch from 56341.diff.
 6. Rechecked the frontend layout.
 7. ✅ Patch is solving the problem

 === Expected result
 - Long text strings should wrap within the content area.
 - No horizontal overflow should appear on narrow viewports.

 === Actual result
 - Before applying the patch, long strings caused horizontal overflow.
 - After applying the patch, text wraps correctly and the issue is
 resolved.

 === Additional Notes
 - The existing patch is around 3 years old and may need to be
 refreshed/rebased to match the current codebase.

 === Screenshots/Screencast with results
 || Before Apply Patch || After Apply Patch ✅ ||
 || [[Image(https://i.ibb.co/JMF4Mvh/Huzaifa-20260123161308.png)]] ||
 [[Image(https://i.ibb.co/8g0h9T1k/Huzaifa-20260123161330.png)]] ||

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


More information about the wp-trac mailing list