[wp-trac] [WordPress Trac] #43172: Output Buffering and <pre>

WordPress Trac noreply at wordpress.org
Mon Jan 29 19:29:04 UTC 2018


#43172: Output Buffering and <pre>
-------------------------------------+------------------------------
 Reporter:  briansahagun             |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  4.9.2
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback close  |     Focuses:
-------------------------------------+------------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:2 briansahagun]:
 > In the Visual/Text editor, everything seems ok. But when I publish it
 and view it using my theme (wherein I run the_content() inside ob_start()
 ), the formatting is removed.
 >
 > Please see images:
 > https://www.flickr.com/gp/briansahagun/NWX0J1
 > https://www.flickr.com/gp/briansahagun/798R62
 >
 > But when I switch to Twentyseventeen theme, the formatting is preserved.

 The second link shows a 403 error. If output buffering works as expected
 in Twenty Seventeen but not in your theme, it sounds like the issue is
 somewhere in your theme rather than in WordPress core. Could you track it
 down further?

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


More information about the wp-trac mailing list