Skip to content

Load plugin translation also when must-use#30

Open
timiwahalahti wants to merge 1 commit intojustintadlock:masterfrom
timiwahalahti:mu-plugin-translation
Open

Load plugin translation also when must-use#30
timiwahalahti wants to merge 1 commit intojustintadlock:masterfrom
timiwahalahti:mu-plugin-translation

Conversation

@timiwahalahti
Copy link
Copy Markdown

This PR does what the title says. Basically added check if plugin is must-use and if, use load_muplugin_textdomain instead of load_plugin_textdomain.

I think this is something that WP core should address and do automatically, but Trac ticket hasn't updated in year...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant