Ticket #2790 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Cron pass-by-reference error

Reported by: robmiller Assigned to: robmiller
Priority: high Milestone: 2.1
Component: General Version: 2.1
Severity: major Keywords:
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

2790.diff (0.9 kB) - added by robmiller on 06/06/06 18:56:49.

Change History

06/06/06 18:56:49 changed by robmiller

  • attachment 2790.diff added.

06/06/06 18:57:22 changed by robmiller

  • owner changed from anonymous to robmiller.
  • status changed from new to assigned.

06/10/06 20:43:54 changed by ryan

  • status changed from assigned to closed.
  • resolution set to fixed.

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

07/29/06 01:28:20 changed by ryan

  • milestone changed from 2.0.4 to 2.1.