-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update bkap-wc.php #2
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code analysis identified issues
action-phpcs-code-review has identified potential problems in this pull request during automated scanning. We recommend reviewing the issues noted and that they are resolved.
phpcs scanning turned up:
Powered by rtCamp's GitHub Actions Library
@@ -162,6 +162,7 @@ public static function bkap_do_required_plugin_check() { | |||
if ( is_plugin_active( plugin_basename( __FILE__ ) ) ) { | |||
deactivate_plugins( plugin_basename( __FILE__ ) ); | |||
add_action( 'admin_notices', array( 'Woocommerce_Booking', 'show_required_plugin_error_notice' ) ); | |||
// This is my test comment. | |||
if ( isset( $_GET['activate'] ) ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -162,6 +162,7 @@ public static function bkap_do_required_plugin_check() { | |||
if ( is_plugin_active( plugin_basename( __FILE__ ) ) ) { | |||
deactivate_plugins( plugin_basename( __FILE__ ) ); | |||
add_action( 'admin_notices', array( 'Woocommerce_Booking', 'show_required_plugin_error_notice' ) ); | |||
// This is my test comment. | |||
if ( isset( $_GET['activate'] ) ) { | |||
unset( $_GET['activate'] ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.