[wp-trac] [WordPress Trac] #51019: convert_smilies() fails on large tags

WordPress Trac noreply at wordpress.org
Tue Jul 9 23:25:44 UTC 2024


#51019: convert_smilies() fails on large tags
-------------------------------------------------+-------------------------
 Reporter:  podpirate                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  6.7
Component:  Formatting                           |     Version:  5.5
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch php80 has-unit-tests has-  |     Focuses:
  testing-info needs-testing                     |
-------------------------------------------------+-------------------------

Comment (by rajinsharwar):

 Tested out the new PR, and it does seem to work. So using my above testing
 instructions,
 Before: https://prnt.sc/UB4UMOEuINZi ❌
 After: https://prnt.sc/vp2NwZKYFKjU ✅

 @dmsnell How about adding a unit test for checking for large input behaves
 expectedly or not?
 Like just using the test from this PR: https://github.com/WordPress
 /wordpress-develop/pull/6786?

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


More information about the wp-trac mailing list