[wp-trac] [WordPress Trac] #16813: PHP5-port - Deprecate wp_clone()

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 9 23:01:49 UTC 2011


#16813: PHP5-port - Deprecate wp_clone()
--------------------------+-----------------------------
 Reporter:  hakre         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.1
 Severity:  normal        |   Keywords:  has-patch
--------------------------+-----------------------------
 wp_clone() is not needed any longer. php natives can do better and php 4
 does not needs to be supported any longer.

 let's just deprecate it (hey, that could have been done already for 3.1).

 Next to deprecation, the version check is obviously luxury (for trunk).

 See [http://php.net/manual/en/language.oop5.cloning.php Object Cloning]

 Related: #8844, #8146, [9740]

 Reference: #13480

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


More information about the wp-trac mailing list