Skip to content
Snippets Groups Projects
Commit 2edeb766 authored by Marcin Kolanko's avatar Marcin Kolanko
Browse files

fix: change plugin_url function

parent 7ba3ce7e
No related branches found
No related tags found
1 merge request!12Bugfix/wordpress review
Pipeline #504656 passed with stages
in 1 minute and 8 seconds
......@@ -200,7 +200,7 @@ final class PluginBootstrap {
$plugin_info->set_version( $this->plugin_version );
$plugin_info->set_product_id( $this->product_id );
$plugin_info->set_text_domain( $this->plugin_text_domain );
$plugin_info->set_plugin_url( plugins_url( dirname( plugin_basename( $this->plugin_file ) ) ) );
$plugin_info->set_plugin_url( plugins_url( '', $this->plugin_file ) );
$plugin_info->set_plugin_shops( $this->plugin_shops );
return $plugin_info;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment