[wp-trac] [WordPress Trac] #2790: Cron pass-by-reference error

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 6 18:56:18 GMT 2006


#2790: Cron pass-by-reference error
-----------------------+----------------------------------------------------
       Id:  2790       |      Status:  new                     
Component:  General    |    Modified:  Tue Jun  6 18:56:18 2006
 Severity:  major      |   Milestone:  2.0.4                   
 Priority:  high       |     Version:  2.1                     
    Owner:  anonymous  |    Reporter:  robmiller               
-----------------------+----------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2790>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list