Skip to content

Commit

Permalink
Use plugins_url function instead of WP_PLUGIN_URL constant
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielBakovic committed Nov 3, 2017
1 parent 4047bd5 commit 0aeb135
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
- MyArcadePlugin Lite -
* Tweak - Use plugins_url function instead of WP_PLUGIN_URL constant
* Tweak - Improved stats tracking

v5.4.0 - 2017-09-08 - Based on MyArcadePlugin Pro 5.30.0
Expand Down
2 changes: 1 addition & 1 deletion myarcadeplugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function myarcade_initial_constants() {
$dirname = basename( dirname( __FILE__ ) );
define('MYARCADE_DIR', WP_PLUGIN_DIR . '/' . $dirname );
define('MYARCADE_CORE_DIR', MYARCADE_DIR . '/core');
define('MYARCADE_URL', WP_PLUGIN_URL . '/' . $dirname );
define('MYARCADE_URL', plugins_url() . '/' . $dirname );

define('MYARCADE_UPDATE_API', 'http://api.myarcadeplugin.com/');

Expand Down

0 comments on commit 0aeb135

Please sign in to comment.