Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update bkap-wc.php #2

wants to merge 1 commit into from

Conversation

kartikparmar
Copy link
Contributor

No description provided.

Copy link

@tyche-bot tyche-bot left a 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:

⚠️ 2 warnings


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'] ) ) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Processing form data without nonce verification (WordPress.Security.NonceVerification.Recommended).

@@ -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'] );

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Warning: Processing form data without nonce verification (WordPress.Security.NonceVerification.Recommended).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants