Changeset 25368
- Timestamp:
- 09/11/2013 10:21:43 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/cron.php
r25002 r25368 121 121 // clear the schedule for the args events and make sure they're gone too 122 122 // note: wp_clear_scheduled_hook() expects args passed directly, rather than as an array 123 wp_clear_scheduled_hook($hook, $args [0]);123 wp_clear_scheduled_hook($hook, $args); 124 124 $this->assertFalse( wp_next_scheduled($hook, $args) ); 125 125 } … … 147 147 // clear the schedule for the args events and make sure they're gone too 148 148 // note: wp_clear_scheduled_hook() used to expect args passed directly, rather than as an array pre WP 3.0 149 wp_clear_scheduled_hook($hook, $args [0], $args[1]);149 wp_clear_scheduled_hook($hook, $args); 150 150 $this->assertFalse( wp_next_scheduled($hook, $args) ); 151 151 }
Note: See TracChangeset
for help on using the changeset viewer.