WordPress.org

Ready to get started?Download WordPress

Forums

Codestyling Localization
contact from 7 claims your error is incorrect (2 posts)

  1. mgason
    Member
    Posted 1 year ago #

    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/

  2. elusiveunit
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic