[wp-trac] [WordPress Trac] #51019: convert_smilies() fails on large tags
WordPress Trac
noreply at wordpress.org
Sat Aug 15 13:55:55 UTC 2020
#51019: convert_smilies() fails on large tags
--------------------------+------------------------------
Reporter: podpirate | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 5.5
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Changes (by SergeyBiryukov):
* keywords: => needs-patch
* component: General => Formatting
Comment:
Hi there, welcome back to WordPress Trac! Thanks for the ticket.
> IMHO there should a check for `preg_last_error()` whether `preg_split()`
was successfull, and if not the function should just return its input.
Makes sense to me :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51019#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list