Ticket #17111: 17111.diff
File 17111.diff, 569 bytes (added by , 12 years ago) |
---|
-
wp-includes/plugin.php
373 373 return; 374 374 } 375 375 376 $args = array(); 377 if ( is_array($arg) && 1 == count($arg) && isset($arg[0]) && is_object($arg[0]) ) // array(&$this) 378 $args[] =& $arg[0]; 379 else 380 $args[] = $arg; 381 for ( $a = 2; $a < func_num_args(); $a++ ) 382 $args[] = func_get_arg($a); 376 $args = array_slice( func_get_args(), 1 ); 383 377 384 378 // Sort 385 379 if ( !isset( $merged_filters[ $tag ] ) ) {