WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2814 closed defect (bug) (fixed)

Another quick cron problem

Reported by: robmiller Owned by: robmiller
Milestone: 2.1 Priority: high
Severity: major Version: 2.1
Component: General Keywords: bg|has-patch bg|tested
Focuses: Cc:

Description

Fixes array_keys error if cron option is not an array.

Attachments (2)

2814.diff (909 bytes) - added by robmiller 9 years ago.
2814.2.diff (400 bytes) - added by robmiller 9 years ago.

Download all attachments as: .zip

Change History (8)

@robmiller9 years ago

comment:1 @robmiller9 years ago

  • Keywords bg|has-patch bg|tested added
  • Owner changed from anonymous to robmiller
  • Status changed from new to assigned

comment:2 @robmiller9 years ago

Any input? This would be nice for 2.0.4.

comment:3 @ryan9 years ago

  • Milestone changed from 2.0.4 to 2.1
  • Version changed from 2.0 to 2.1

Have you tested the latest cron.php in trunk? It's a bit different.

Cron doesn't exist for 2.0.x. It's 2.1 only.

comment:4 @robmiller9 years ago

Ooh, I thought it was a 2.0 thing. My bad!

The error is still there in the latest trunk, though. Here's a patch that takes into account the other fix from the other ticket.

@robmiller9 years ago

comment:5 @ryan9 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [3929]) Fix array_keys error when cron option is not an array. Props robmiller. fixes #2814

comment:6 @robmiller9 years ago

Eek! You caught the typos, but sorry. That'll teach me to submit patches at 4am :)

Note: See TracTickets for help on using tickets.