Opened 21 months ago
Closed 21 months ago
#62691 closed defect (bug) (duplicate)
convert_smilies has an Uncaught TypeError
| Reported by: | roybellingan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Formatting | Version: | 6.7.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Sorry forget to say this is in wp-includes/formatting.php around line 3840