Changeset 43220 for trunk/src/wp-includes/compat.php
- Timestamp:
- 05/10/2018 05:57:38 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/compat.php
r43036 r43220 521 521 */ 522 522 function is_countable( $var ) { 523 return ( is_array( $var ) || $var instanceof Countable ); 523 return ( is_array( $var ) 524 || $var instanceof Countable 525 || $var instanceof SimpleXMLElement 526 || $var instanceof ResourceBundle 527 ); 524 528 } 525 529 }
Note: See TracChangeset
for help on using the changeset viewer.