[wp-trac] [WordPress Trac] #11388: Deprecated functions: Formally deprecate and/or move to deprecated.php

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 13 10:40:12 UTC 2010


#11388: Deprecated functions: Formally deprecate and/or move to deprecated.php
-------------------------+--------------------------------------------------
 Reporter:  nacin        |       Owner:           
     Type:  enhancement  |      Status:  new      
 Priority:  low          |   Milestone:  3.0      
Component:  Inline Docs  |     Version:  2.9      
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by scribu):

 Replying to [comment:10 nacin]:
 > Found a few others. The pre-2.8 widget API, register_sidebar_widget()
 and register_widget_control(), should be marked as deprecated in favor of
 wp_register_sidebar_widget() and wp_register_widget_control().
 >
 > unregister_sidebar_widget() and unregister_widget_control() are straight
 aliases for their wp_* counterparts. Probably can be deprecated as well.
 >
 > These functions are already kind of marked with a PHP comment but they
 should get {{{_deprecated_function()}}} calls added to them and get the
 {{{deprecated.php}}} treatment.

 +1

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


More information about the wp-trac mailing list