Skip to content
Snippets Groups Projects
Commit 1318edc3 authored by Dyszczo's avatar Dyszczo
Browse files

Merge branch 'bugix/plugin-file-name' into 'master'

Fixed get_plugin_file_path - should return plugin file path instead directory name

See merge request !6
parents c4392086 1c1270d4
Branches
Tags
1 merge request!6Fixed get_plugin_file_path - should return plugin file path instead directory name
Pipeline #6902 failed
...@@ -64,7 +64,7 @@ abstract class AbstractPlugin implements \WPDesk_Translable { ...@@ -64,7 +64,7 @@ abstract class AbstractPlugin implements \WPDesk_Translable {
* @return string * @return string
*/ */
public function get_plugin_file_path() { 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