Hardcoded plugin path
-
WordPress plugins can live in other folders. And hardcoding the path is causing problems in this case.
The plugin should use the wordpress provided function to retrieve the plugin url
$wp_lyte_plugin_url = plugins_url('wp-youtube-lyte');$lyteSettings['path']=$wp_lyte_plugin_url.'/lyte/';
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Hardcoded plugin path’ is closed to new replies.