Skip to content
Snippets Groups Projects
Commit 1c1270d4 authored by Grzegorz Rola's avatar Grzegorz Rola
Browse files

Fixed get_plugin_file_path - should return plugin file path instead directory name

parent c4392086
No related branches found
No related tags found
1 merge request!6Fixed get_plugin_file_path - should return plugin file path instead directory name
Pipeline #6874 failed
......@@ -64,7 +64,7 @@ abstract class AbstractPlugin implements \WPDesk_Translable {
* @return string
*/
public function get_plugin_file_path() {
return $this->plugin_info->get_plugin_dir();
return $this->plugin_info->get_plugin_file_name();
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment