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 define('SE_DOMAIN',get_bloginfo('url').'/wp-content/plugins/simple-events-calendar/'); // with this one define('SE_DOMAIN', plugin_dir_url(__FILE__) );
This way everything will work even when plugins are located outside
wp-content
folder.Cheers,
José SAYAGO.
- The topic ‘Quick fix for SE_DOMAIN Hardcoded Path’ is closed to new replies.