Support » Plugin: Relevanssi - A Better Search » it gives an error with the name of the different plugin directory.

  • Resolved cartns

    (@cartns)


    Hello,

    it gives an error with the name of the different plugin directory.

    This was no problem with the previous versions.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Can you show me the exact error you’re seeing?

    /wp-admin/options-general.php?page=relevanssi/relevanssi.php&tab=indexing

    this links are wrong.

    Links should be like that: /wp-admin/options-general.php?page=plugin_dir_path/relevanssi.php&tab=indexing

    Plugin Author Mikko Saari

    (@msaari)

    The directory name for Relevanssi should not be plugin_dir_path, it should be relevanssi. Are you sure the plugin is installed in the right directory?

    I change the name of the plugin directories since 5 years. I do this for extra security.

    I got an error for the first time in this version.

    Plugin Author Mikko Saari

    (@msaari)

    Find this line in /lib/interface.php:

    $this_page = "?page=relevanssi/relevanssi.php";

    Change it to:

    $this_page = "?page=" . plugin_basename($relevanssi_variables['file']);

    Does that fix the problem?

    Yes, that problem was fixed, thanks.

    Please update the code in the plugin for new versions 🙂

    Plugin Author Mikko Saari

    (@msaari)

    Yeah, the next version will include this fix.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘it gives an error with the name of the different plugin directory.’ is closed to new replies.