Skip to content

Commit c739ad2

Browse files
correct pages
1 parent ae0b92a commit c739ad2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

classes/Visualizer/Module/Chart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,7 +1063,7 @@ public function cloneChart() {
10631063
'type' => filter_input( INPUT_GET, 'type' ),
10641064
'vaction' => false,
10651065
),
1066-
admin_url( 'upload.php' )
1066+
admin_url( 'admin.php' )
10671067
);
10681068
}
10691069
}

classes/Visualizer/Module/Setup.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public function onActivation( $plugin ) {
155155
}
156156

157157
if ( $plugin === VISUALIZER_BASENAME ) {
158-
wp_redirect( admin_url( 'upload.php?page=' . Visualizer_Plugin::NAME ) );
158+
wp_redirect( admin_url( 'admin.php?page=' . Visualizer_Plugin::NAME ) );
159159
exit();
160160
}
161161
}

0 commit comments

Comments
 (0)