WordPress.org

Support

Support » Plugins and Hacks » Codestyling Localization » contact from 7 claims your error is incorrect

contact from 7 claims your error is incorrect

  • Hi,
    I installed Code Styler on my site and it showed this error in regard to Contact Form 7 plugin…..

    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.

    Contact form 7 is an extremely popular and well regarded plugin so I contacted the author. His reply was……
    The error is not valid. Contact Form 7 doesn’t use load_textdomain instead of load_plugin_textdomain. It only uses it where it is necessary, and it doesn’t break behavior of WordPress. Please contact the Author about that.

    I admire the efforts by your plugin to secure itself against errors but if it is reporting false ones that reflect badly on other plugins that is a concern. I am not saying that it is. In this case I do not have the knowledge to know who is right.

    http://wordpress.org/extend/plugins/codestyling-localization/

Viewing 1 replies (of 1 total)
  • I just read this article about loading language files the right way, which uses load_textdomain and explains why.

    Unless the author of the article is missing something, the error is indeed invalid.

Viewing 1 replies (of 1 total)
  • The topic ‘contact from 7 claims your error is incorrect’ is closed to new replies.
Skip to toolbar