[wp-trac] [WordPress Trac] #23454: _deprecated_function Messages

WordPress Trac noreply at wordpress.org
Wed Dec 11 14:31:28 UTC 2013


#23454: _deprecated_function Messages
---------------------------------+-----------------------------
 Reporter:  mikejolley           |       Owner:
     Type:  enhancement          |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  General              |     Version:  3.5
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.9-early  |
---------------------------------+-----------------------------

Comment (by mikejolley):

 @nacin I cannot remember the exact case I needed it (10 months ago!) but
 if you are deprecating a function and there is no replacement, or their is
 a replacement function that is substantially different, you cannot add any
 explanation to your message - all you can currently get it to output is:

 "X is deprecated since version X with no alternative available."

 The change would allow us to add more explanation, and is perfectly
 backwards compatible with existing uses. Not to mention making it work in
 line with the other _deprecated functions. Are there any disadvantages to
 adding it I'm not seeing?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/23454#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list