Skip to content

Commit

Permalink
πŸ‘Œ IMPROVE: Plugin check
Browse files Browse the repository at this point in the history
  • Loading branch information
austinginder committed Sep 14, 2024
1 parent 2a02e29 commit b59ac8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/remote-scripts/deploy-helper
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ function captaincore_quick_login_action_callback() {
if ( is_plugin_active( 'wps-hide-login/wps-hide-login.php' ) ) {
$login_page = get_option( 'whl_page' );
}
if ( is_plugin_active( 'better-wp-security/better-wp-security.php' ) ) {
if ( is_plugin_active( 'better-wp-security/better-wp-security.php' ) and class_exists( 'ITSEC_Modules' ) ) {
$hide_backend = (object) ITSEC_Modules::get_settings( 'hide-backend' );
if ( $hide_backend->enabled ) {
$login_page = $hide_backend->slug;
Expand Down

0 comments on commit b59ac8b

Please sign in to comment.