[wp-trac] [WordPress Trac] #48212: Remove deprecated function

WordPress Trac noreply at wordpress.org
Fri Oct 4 10:17:38 UTC 2019


#48212: Remove deprecated function
-----------------------------+------------------------------
 Reporter:  dkarfa           |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch close  |     Focuses:
-----------------------------+------------------------------
Changes (by swissspidy):

 * keywords:  has-patch => has-patch close


Comment:

 @dkarfa Could you explain these patches? [attachment:"48212.1.patch"] and
 [attachment:"48212.2.patch"] don't really work as you remove a class
 method and then create a new function.

 We also cannot just outright remove the method as in
 [attachment:"48212.patch"] as plugins might still be using it (hence the
 deprecation).

 WordPress doesn't really have a strong deprecation policy (e.g. we don't
 typically remove deprecated functions after x releases), so my
 recommendation here is to just leave this as-is.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48212#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list