Skip to content
This repository has been archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request #95 from TweetPressFr/patch-1
Browse files Browse the repository at this point in the history
use menu_page_url() for more accurate link
  • Loading branch information
ruhanirabin committed Jun 27, 2016
2 parents 7af4ded + db75d3e commit d1787e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-optimize.php
Expand Up @@ -83,7 +83,7 @@ function wpo_admin_bar() {
$wp_admin_bar->add_node(array(
'id' => 'wp-optimize',
'title' => 'WP-Optimize',
'href' => admin_url( 'admin.php?page=WP-Optimize', 'http' )
'href' => menu_page_url( 'WP-Optimize', false ),
));

}
Expand Down

0 comments on commit d1787e4

Please sign in to comment.