Skip to content

Commit ca44049

Browse files
committed
Apply PR review suggestion
1 parent be7193e commit ca44049

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WordPress/Tests/WP/CronIntervalUnitTest.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,9 @@ add_filter( 'cron_schedules', function ( $schedules ) {
164164
// Correctly handle fully qualified WP time constants.
165165
class FQNConstants {
166166
public function add_schedules() {
167-
add_filter( 'cron_schedules', array( $this, 'ADD_WEEKLY_SCHEDULE' ) ); // Ok: > 15 min.
167+
add_filter( 'cron_schedules', array( $this, 'add_weekly_schedule' ) ); // Ok: > 15 min.
168168
\add_filter( 'cron_schedules', array( $this, 'add_eight_minute_schedule' ) ); // Warning: 8 min.
169-
ADD_FILTER( 'cron_schedules', array( $this, 'add_hundred_minute_schedule' ) ); // Warning: time undetermined.
169+
ADD_FILTER( 'cron_schedules', array( $this, 'ADD_HUNDRED_MINUTE_SCHEDULE' ) ); // Warning: time undetermined.
170170
\Add_Filter( 'cron_schedules', array( $this, 'sneaky_fake_wp_constant_schedule' ) ); // Warning: time undetermined.
171171
}
172172

0 commit comments

Comments
 (0)