Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Stop basename being set incorrectly in symlink'd plugin folders

  • Loading branch information...
commit 60a04a43c2a8f1647a172b0f369e86c666ac37e6 1 parent f548ff8
@paulgibbs authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  achievements.php
View
2  achievements.php
@@ -172,7 +172,7 @@ public function __construct() {
private function setup_globals() {
// Achievements root directory
$this->file = __FILE__;
- $this->basename = plugin_basename( $this->file );
+ $this->basename = 'achievements/achievements.php'; //plugin_basename( $this->file ); @todo Doesn't work in environments with symlink folder
$this->plugin_dir = plugin_dir_path( $this->file );
$this->plugin_url = plugin_dir_url ( $this->file );
Please sign in to comment.
Something went wrong with that request. Please try again.