Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#12875 closed enhancement (fixed)

Adding path support to load_muplugin_textdomain() function

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

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 17 years ago.

Download all attachments as: .zip

Change History (3)

#1 @uglyrobot
17 years ago

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

#2 @nbachiyski
17 years ago

  • Resolution → fixed
  • Status new → 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.