[wp-trac] [WordPress Trac] #49919: Explore renaming double underscore functions

WordPress Trac noreply at wordpress.org
Thu Apr 16 16:17:24 UTC 2020


#49919: Explore renaming double underscore functions
-----------------------------+-------------------------------
 Reporter:  desrosj          |       Owner:  (none)
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  2nd-opinion      |     Focuses:  coding-standards
-----------------------------+-------------------------------

Comment (by desrosj):

 If we were to tackle this, here is a rough draft plan of steps:

 1. In release X.1, introduce functions with the new, future proof names,
 accompanied with a dev note explaining why the new functions are being
 changed, how to update code, and encouraging all plugin/theme developers
 to update their code base accordingly.
 1. Let that sit for one more additional major release (X.2).
 1. After X.2 is released, deprecate the functions in `trunk` and publish
 another post on Make Core reminding everyone that the functions will be
 deprecated in X.3.
 1. X.3 is released officially deprecating the old `__` style functions.

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


More information about the wp-trac mailing list