[wp-trac] [WordPress Trac] #11679: Mark 2nd param of load_plugin_textdomain() as deprecated

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 2 10:26:29 UTC 2010


#11679: Mark 2nd param of load_plugin_textdomain() as deprecated
-------------------------+--------------------------------------------------
 Reporter:  sirzooro     |       Owner:  nacin           
     Type:  enhancement  |      Status:  accepted        
 Priority:  normal       |   Milestone:  3.0             
Component:  General      |     Version:  3.0             
 Severity:  normal       |    Keywords:  has-patch commit
-------------------------+--------------------------------------------------

Comment(by westi):

 I would prefer to put the check inside where the argument is used.

 That way we only warn people who just use this argument rather than those
 who supply both so as to enable the plugin to function with old WordPress
 version.

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


More information about the wp-trac mailing list