Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#2790 closed defect (bug) (fixed)

Cron pass-by-reference error

Reported by: robmiller's profile robmiller Owned by: robmiller's profile robmiller
Milestone: 2.1 Priority: high
Severity: major Version: 2.1
Component: General Keywords:
Focuses: Cc:

Description

Whenever cron spawns on my local SVN install (Windows XP, Apache 2, PHP 5), I get a fatal PHP error:

Fatal error: Only variables can be passed by reference in C:\apache\xampp\htdocs\wpsvn\wp-includes\cron.php on line 84

This patch fixes the issue; I'm pretty sure it's just a PHP5 thing but it's nice to have the compatability.

Pretty important considering 1. it totally blocks access to your WP site until you clear the cron option 2. It's a pretty trivial patch.

Attachments (1)

2790.diff (872 bytes) - added by robmiller 18 years ago.

Download all attachments as: .zip

Change History (4)

@robmiller
18 years ago

#1 @robmiller
18 years ago

  • Owner changed from anonymous to robmiller
  • Status changed from new to assigned

#2 @ryan
18 years ago

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

(In [3860]) Cron pass-by-reference error fix from robmiller. fixes #2790

#3 @ryan
18 years ago

  • Milestone changed from 2.0.4 to 2.1
Note: See TracTickets for help on using tickets.