Support » Plugin: Simple Events Calendar » Quick fix for SE_DOMAIN Hardcoded Path

  • Hello, I just wanted to provide you with a quick fix to make your plugin work from folders different to the default wp-content/plugins.

    On line 29 from simple-events-calendar.php:

    // Replace this line
    // with this one
    define('SE_DOMAIN', plugin_dir_url(__FILE__) );

    This way everything will work even when plugins are located outside wp-content folder.

    José SAYAGO.

  • The topic ‘Quick fix for SE_DOMAIN Hardcoded Path’ is closed to new replies.