Skip to content

Remove deprecated load_plugin_textdomain() call #131

Description

@CoachBirgit

Description

Line 171 calls load_plugin_textdomain(), which has been unnecessary since WordPress 4.6. For plugins hosted on WordPress.org, translations are loaded automatically.

Action needed

Remove the load_plugin_textdomain() call. If the plugin needs to support non-WordPress.org translation loading, keep it but suppress the warning with a comment.

Reference

I18n improvements in WordPress 4.6

PHPCS rule

PluginCheck.CodeAnalysis.DiscouragedFunctions.load_plugin_textdomainFound

Activity

  1. added a commit that references this issue on May 12, 2026
    70f70c7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions