Changeset 12641
- Timestamp:
- 01/07/2010 08:27:02 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/plugin.php
r12464 r12641 682 682 static $filter_id_count = 0; 683 683 684 if ( is_string($function) ) {684 if ( is_string($function) ) 685 685 return $function; 686 } else if (is_object($function[0]) ) { 686 687 $function = (array) $function; 688 689 if (is_object($function[0]) ) { 687 690 // Object Class Calling 688 691 if ( function_exists('spl_object_hash') ) { … … 699 702 $obj_idx .= $function[0]->wp_filter_id; 700 703 } 701 704 702 705 return $obj_idx; 703 706 }
Note: See TracChangeset
for help on using the changeset viewer.