WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#12875 closed enhancement (fixed)

Adding path support to load_muplugin_textdomain() function

Reported by: uglyrobot Owned by: nbachiyski
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: I18N Keywords: has-patch
Focuses: Cc:

Description

It always bugged me that the load_muplugin_textdomain() function didn't support a relative path, so I was forced to use the depreciated argument in load_plugin_textdomain() if I wanted my language files in a folder.

Simple backwards compatible fix to bring it in line with load_plugin_textdomain().

Attachments (1)

load_muplugin_textdomain.diff (916 bytes) - added by uglyrobot 10 years ago.

Download all attachments as: .zip

Change History (3)

#1 @uglyrobot
10 years ago

  • Component changed from Plugins to i18n
  • Owner changed from westi to nbachiyski

#2 @nbachiyski
10 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [14186]) Make the $path argument of load_muplugin_textdomain() functional -- relative to mu-plugins. Props uglyrobot, fixes #12875

Note: See TracTickets for help on using tickets.