Skip to content

Commit

Permalink
Resolves #9 by updating the relative URLs of the Activation Banner an…
Browse files Browse the repository at this point in the history
…d Plugin Settings link to go to the correct location.
  • Loading branch information
mathetos committed Nov 5, 2020
1 parent 28c418d commit aaa6391
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Addon/ActivationBanner.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function show() {
'file' => GIVE_DTD_FILE,
'name' => 'Double the Donation',
'version' => GIVE_DTD_VERSION,
'settings_url' => admin_url( 'edit.php?post_type=give_forms&page=give-settings&tab=general&section=double-the-donation' ),
'settings_url' => admin_url( 'edit.php?post_type=give_forms&page=give-settings&tab=give-double-the-donation' ),
'documentation_url' => 'https://docs.givewp.com/double-the-donation/',
'support_url' => 'https://givewp.com/support/',
'testing' => false, // Never leave true.
Expand Down
2 changes: 1 addition & 1 deletion src/DoubleTheDonation/SettingsPageContent.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function addSettingsLink( $actions ) {
$new_actions = [
'settings' => sprintf(
'<a href="%1$s">%2$s</a>',
admin_url( 'edit.php?post_type=give_forms&page=give-settings&tab=general&section=double-the-donation' ),
admin_url( 'edit.php?post_type=give_forms&page=give-settings&tab=give-double-the-donation' ),
__( 'Settings', 'give-double-the-donation' )
),
];
Expand Down

0 comments on commit aaa6391

Please sign in to comment.