Changeset 46139
- Timestamp:
- 09/15/2019 11:44:09 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-wp-hook.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-hook.php
r46082 r46139 260 260 * @param mixed $value The value to filter. 261 261 * @param array $args Additional parameters to pass to the callback functions. 262 * This array is expected to include $value at index 0. 262 263 * @return mixed The filtered value after all hooked functions are applied to it. 263 264 */ … … 283 284 // Avoid the array_slice if possible. 284 285 if ( $the_['accepted_args'] == 0 ) { 285 $value = call_user_func _array( $the_['function'], array());286 $value = call_user_func( $the_['function'] ); 286 287 } elseif ( $the_['accepted_args'] >= $num_args ) { 287 288 $value = call_user_func_array( $the_['function'], $args );
Note: See TracChangeset
for help on using the changeset viewer.