WordPress.org

Ready to get started?Download WordPress

Forums

Registered Users Only
Using deprecated argument on load_plugin_textdomain (1 post)

  1. Bill Erickson
    Member
    Posted 2 years ago #

    At the top of the file, change this:

    load_plugin_textdomain( 'registered-users-only', '/wp-content/plugins/registered-users-only' );

    to this:

    load_plugin_textdomain( 'registered-users-only', false, dirname( plugin_basename( __FILE__ ) ) );

    http://wordpress.org/extend/plugins/registered-users-only/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic