[wp-trac] [WordPress Trac] #63875: Twenty Twenty-Two and Twenty Twenty-Five: <pre> tag overflows container, causing horizontal scroll

WordPress Trac noreply at wordpress.org
Thu Oct 9 03:02:45 UTC 2025


#63875: Twenty Twenty-Two and Twenty Twenty-Five: <pre> tag overflows container,
causing horizontal scroll
-------------------------------------+-------------------------------------
 Reporter:  pateljaymin              |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  6.9
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch has-test-info  |     Focuses:  ui, accessibility, css
-------------------------------------+-------------------------------------

Comment (by rollybueno):

 This also happens on page, using code editor:

 {{{
 <pre>
 System Log - Example Output
 ---------------------------

 [2025-10-09 10:15:42] INFO:  Application started
 [2025-10-09 10:15:43] DEBUG: Loading configuration file
 [2025-10-09 10:15:44] WARN:  Deprecated function detectedDeprecated
 function detectedDeprecated function detectedDeprecated function
 detectedDeprecated function detectedDeprecated function detectedDeprecated
 function detectedDeprecated function detectedDeprecated function
 detectedDeprecated function detectedDeprecated function detectedDeprecated
 function detectedDeprecated function detectedDeprecated function detected
 [2025-10-09 10:15:45] ERROR: Unable to connect to database
 [2025-10-09 10:15:47] INFO:  Retrying connection...
 [2025-10-09 10:15:49] INFO:  Connected successfully

 Directory Structure:
 --------------------
 /var/www/html/
     index.php
     wp-config.php
     /wp-content/
         /themes/
             /my-theme/
                 style.css
                 functions.php
         /plugins/
             hello.php
             akismet.php

 Code Snippet:
 -------------
 function sayHello($name) {
     echo "Hello, " . $name . "!";
 }

 sayHello("Rolly");

 ---------------------------------------------------
 End of Preformatted Example
 </pre>

 }}}

 Result:
 [[Image(https://i.imgur.com/IZNQ02i.png)]]

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


More information about the wp-trac mailing list