[wp-trac] [WordPress Trac] #58406: Post/Page Content Renders Empty
WordPress Trac
noreply at wordpress.org
Thu May 25 14:10:26 UTC 2023
#58406: Post/Page Content Renders Empty
--------------------------+------------------------------
Reporter: svgator | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 6.2.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by petitphp):
Hi @svgator and welcome to trac !
Looking at the content you shared (thank you for providing a real
example), you are embedding a PNG image in a SVG. The PNG image is 649x801
pixels which is a lot of text in base64. This cause the preg_split
function to fail (probably hitting a limit of some kind).
IMHO this is more an issue with the content than with WordPress. Images
should be inserted using a `<img>` tag and not inline because it creates
really heavy content that take more time to download and are harder to
parse for browsers.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58406#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list