[wp-trac] [WordPress Trac] #17206: Deprecating wp_clone() causes some BC Issues

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 21 18:04:53 UTC 2011


#17206: Deprecating wp_clone() causes some BC Issues
--------------------------+-------------------------------
 Reporter:  technosailor  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:  reporter-feedback
--------------------------+-------------------------------
 Notably, with the W3 Total Cache plugin. Normally, I'd say we shouldn't
 worry too much about plugin compatibility, but considering the widespread
 use of this particular one, we should consider ensuring compatibility.

 I've not paid too close attention to the process of deprecation and
 keeping code BC. Happy to write this patch with some guidance/feedback
 though.

 Errors from logs below for context:

 [Thu Apr 21 12:53:11 2011] [error] [client 24.35.200.175] PHP Fatal error:
 Call to undefined function wp_clone() in /nas/wp/www/sites/aaronbrazell
 /wp-content/plugins/w3-total-cache/lib/W3/ObjectCache.php on line 223

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


More information about the wp-trac mailing list