[wp-trac] [WordPress Trac] #31291: Replace clunky load_plugin_textdomain to remove deprecated parameter
WordPress Trac
noreply at wordpress.org
Wed Feb 11 04:30:10 UTC 2015
#31291: Replace clunky load_plugin_textdomain to remove deprecated parameter
-------------------------+-----------------------------
Reporter: strider72 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: I18N | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
I think it would be nice to update the textdomain loading to remove the
long-deprecated path parameter. There hads been an unused second
parameter for many versions now -- it's just a bit of ugly old code.
I'm attaching a patch that replaces the old function with
wp_load_plugin_textdomain, turns the old function into a wrapper for the
new one, and moves the old one to the deprecated.php
(Suggestions for renaming the function welcome....)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31291>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list