[wp-trac] [WordPress Trac] #11250: bulk activation reporting it's failing due to E_DEPRECATED in php 5.3

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 24 13:37:45 UTC 2009


#11250: bulk activation reporting it's failing due to E_DEPRECATED in php 5.3
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:     
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  2.9
Component:  Upgrade/Install    |     Version:  2.9
 Severity:  normal             |    Keywords:     
-------------------------------+--------------------------------------------
 I get this error while bulk activating plugins, using code based on the WP
 function:

 Plugins failed to reactivate due to a fatal error.

 Deprecated: Assigning the return value of new by reference is deprecated
 in /Users/denis/Sites/upgrade-test/wp-content/plugins/xml-sitemaps/xml-
 sitemaps.php on line 238

 So, basically, the error reporting level is too important. I believe the
 attached patch would be useful in WP as well...

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


More information about the wp-trac mailing list