Changeset 277 in tests
- Timestamp:
- 12/19/2009 11:45:32 AM (16 years ago)
- File:
-
- 1 edited
-
wp-testcase/test_cron.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-testcase/test_cron.php
r274 r277 142 142 143 143 // clear the schedule for the args events and make sure they're gone too 144 // note: wp_clear_scheduled_hook() expects args passed directly, rather than as an array144 // note: wp_clear_scheduled_hook() used to expect args passed directly, rather than as an array pre WP 3.0 145 145 wp_clear_scheduled_hook($hook, $args[0], $args[1]); 146 146 $this->assertFalse( wp_next_scheduled($hook, $args) ); … … 178 178 179 179 // clear the schedule for the args events and make sure they're gone too 180 // wp_clear_scheduled_hook() should take args as an array like the other functions .180 // wp_clear_scheduled_hook() should take args as an array like the other functions and does from WP 3.0 181 181 wp_clear_scheduled_hook($multi_hook, $multi_args); 182 182 $this->assertFalse( wp_next_scheduled($multi_hook, $multi_args) );
Note: See TracChangeset
for help on using the changeset viewer.