fix(core): ubah rute redirect aktivasi ke edukarsa_settings dan perbaiki hak akses screenshot.png
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ add_action( 'admin_enqueue_scripts', 'edukarsa_admin_scripts' );
|
||||
function edukarsa_activation_redirect() {
|
||||
global $pagenow;
|
||||
if ( is_admin() && 'themes.php' === $pagenow && isset( $_GET['activated'] ) ) {
|
||||
wp_redirect( admin_url( 'admin.php?page=edukarsa_main_menu' ) );
|
||||
wp_redirect( admin_url( 'admin.php?page=edukarsa_settings' ) );
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user