Multisite User Registration Manager
Language problem (2 posts)

  1. strobech
    Posted 3 years ago #


    First of all, thanks for a great plugin!
    My issue is that there appears to be some problems with localization/language files in your plugin. I am using the WP plugin Codestyling Localization, and it comes up with this error message:

    Compatibility: Loading Issue: Author is using load_textdomain instead of load_plugin_textdomain function. This may break behavior of WordPress, because some filters and actions won't be executed anymore. Please contact the Author about that.

    Is this something you could look into?



  2. Jan Štětina
    Plugin Author

    Posted 3 years ago #

    if you look into my code, you'll see a method of the Murm class:

    function load_textdomain() {
    	$plugin_dir = basename( dirname( __FILE__ ) );
    	load_plugin_textdomain( self::txd, false, $plugin_dir.'/languages' );

    Ergo the correct WordPress function is called. However, I suspect that the Codestyling Localization plugin might think that load_textdomain is called because it just searches the murm.php file for this string and finds it.

    I'll rename my method to something else and you'll see if the warning disappears. Please confirm afterwards.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Multisite User Registration Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic