Changeset 55038
- Timestamp:
- 01/09/2023 12:40:55 AM (21 months ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/cron.php
r54504 r55038 77 77 * @since 5.7.0 The `$wp_error` parameter was added, and a `WP_Error` object can now be returned. 78 78 * 79 * @param null|bool|WP_Error $ pre Value to return instead. Default null to continue adding the event.79 * @param null|bool|WP_Error $result The value to return instead. Default null to continue adding the event. 80 80 * @param stdClass $event { 81 81 * An object containing an event's data. -
trunk/tests/phpunit/tests/cron.php
r53791 r55038 457 457 * Filter the scheduling of events to use the preflight array. 458 458 */ 459 public function filter_pre_schedule_event_filter( $ null, $event ) {459 public function filter_pre_schedule_event_filter( $result, $event ) { 460 460 $key = md5( serialize( $event->args ) ); 461 461 … … 466 466 ); 467 467 uksort( $this->preflight_cron_array, 'strnatcasecmp' ); 468 468 469 return true; 469 470 }
Note: See TracChangeset
for help on using the changeset viewer.