[wp-trac] [WordPress Trac] #11388: Deprecated functions: Formally deprecate and/or move to deprecated.php
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 2 07:02:31 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 nacin):
New patch now moves a total of 15 functions to deprecated.php.
Refreshed patch (r12593) includes translate_with_context(). This had _c()
as an alias. I've marked it as deprecated in favor of _x(), though a
committing dev may wish to mark it as deprecated in favor of
translate_with_gettext_context() instead.
This does mean that using _c() would generate two deprecated function
warnings, but that should be fine. The other option is to modifying _c()
to not rely on translate_with_context().
Speaking of -- is there any reason why we have yet to deprecate
translate_with_gettext_context() and translate() and move all of their
references to _x() and {{{__()}}}?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11388#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list