Skip to content

Commit

Permalink
Phan
Browse files Browse the repository at this point in the history
  • Loading branch information
TimBroddin committed May 2, 2024
1 parent a685ec3 commit 3ebe2d4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ public function test_creating_schedules_for_same_time() {
public function test_creating_more_than_twentyfour_schedules() {
// Create twentyfour schedules.
for ( $hour = 0; $hour < 24; $hour++ ) {
$formatted_hour = str_pad( $hour, 2, '0', STR_PAD_LEFT );
$formatted_hour = str_pad( (string) $hour, 2, '0', STR_PAD_LEFT );
$plugin_name = "plugin-{$formatted_hour}/plugin-{$formatted_hour}.php";

wp_schedule_event(
Expand Down

0 comments on commit 3ebe2d4

Please sign in to comment.