We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8df964 + e6b03f1 commit ed9264bCopy full SHA for ed9264b
activate.php
@@ -15,8 +15,9 @@
15
*/
16
function sqlite_plugin_activation_redirect( $plugin ) {
17
if ( plugin_basename( SQLITE_MAIN_FILE ) === $plugin ) {
18
- wp_redirect( admin_url( 'options-general.php?page=sqlite-integration' ) );
19
- exit;
+ if( wp_safe_redirect( admin_url( 'options-general.php?page=sqlite-integration' ) ) ) {
+ exit;
20
+ }
21
}
22
23
add_action( 'activated_plugin', 'sqlite_plugin_activation_redirect' );
0 commit comments