Changeset 12537 for trunk/wp-includes/cron.php
- Timestamp:
- 12/24/2009 11:12:04 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/cron.php
r12462 r12537 136 136 // Backward compatibility 137 137 // Previously this function took the arguments as discrete vars rather than an array like the rest of the API 138 if ( !is_array($args) ) 138 if ( !is_array($args) ) { 139 _deprecated_argument(__FUNCTION__, 'args', '3.0.0', __('This argument has changed to an array so as to match with the behaviour of all the other cron functions.') ); 139 140 $args = array_slice( func_get_args(), 1 ); 141 } 140 142 141 143 while ( $timestamp = wp_next_scheduled( $hook, $args ) )
Note: See TracChangeset
for help on using the changeset viewer.