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.
wp_safe_redirect
1 parent 0421137 commit e6b03f1Copy full SHA for e6b03f1
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