[wp-trac] [WordPress Trac] #62691: convert_smilies has an Uncaught TypeError

WordPress Trac noreply at wordpress.org
Fri Dec 13 14:57:18 UTC 2024


#62691: convert_smilies has an Uncaught TypeError
--------------------------+-----------------------------
 Reporter:  roybellingan  |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  6.7.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Latest wordpress still has this bug
 https://wordpress.stackexchange.com/a/409087

 I would suggest to use something like

 {{{#!php
 <?php
                 if(! ($value instanceof Countable)){
                         $stop = 0;
                 }else{
                         $stop    = count( $textarr ); // Loop stuff.
                 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62691>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list