Ticket #10535: 10535.3.diff
File 10535.3.diff, 679 bytes (added by , 14 years ago) |
---|
-
wp-includes/plugin.php
753 753 if ( !isset($function[0]->wp_filter_id) ) { 754 754 if ( false === $priority ) 755 755 return false; 756 $obj_idx .= isset($wp_filter[$tag][$priority]) ? count((array)$wp_filter[$tag][$priority]) : $filter_id_count;757 756 $function[0]->wp_filter_id = $filter_id_count; 758 757 ++$filter_id_count; 759 } else {760 $obj_idx .= $function[0]->wp_filter_id;761 758 } 762 759 760 $obj_idx .= $function[0]->wp_filter_id; 761 763 762 return $obj_idx; 764 763 } 765 764 } else if ( is_string($function[0]) ) {