ReOrder Post Within Categories
Language bug (2 posts)

  1. nextplusapp
    Posted 2 years ago #

    The language file is not loaded.
    After review your code, I found that you place the load_plugin_textdomain in the constructor, see the follow:

    * Constructor
    function ReOrderPostWithinCategory() {
       load_plugin_textdomain('deefusereorder', false, basename(dirname(__FILE__)) . '/languages');

    The load_plugin_textdomain function should be called only in the WordPress init hook.

    Quick resovle:

    I place the load_plugin_textdomain in the saveOptionPlugin function.

    //Action qui sauvegardera le paam├ętrage du plugin
    add_action('init', array(&$this, 'saveOptionPlugin'));

    It Works.

  2. lucasbhealy
    Posted 2 years ago #

    Thank you so much!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • ReOrder Post Within Categories
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.