Opened 4 weeks ago
Closed 4 weeks ago
#62691 closed defect (bug) (duplicate)
convert_smilies has an Uncaught TypeError
Reported by: | roybellingan | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 6.7.1 |
Component: | Formatting | Keywords: | |
Focuses: | Cc: |
Description
Latest wordpress still has this bug
https://wordpress.stackexchange.com/a/409087
I would suggest to use something like
<?php if(! ($value instanceof Countable)){ $stop = 0; }else{ $stop = count( $textarr ); // Loop stuff. }
Change History (2)
Note: See
TracTickets for help on using
tickets.
Sorry forget to say this is in wp-includes/formatting.php around line 3840