☎️ enhance: Backend validation of phone numbers all over the plugin #2508
Annotations
10 errors and 13 warnings
includes/Frontend/MyAccount/BecomeAVendor.php#L119
Detected usage of a non-sanitized input variable: $_POST['phone']
|
includes/Registration.php#L148
Detected usage of a non-sanitized input variable: $_POST['dokan_address']
|
includes/Registration.php#L149
Detected usage of a non-sanitized input variable: $_POST['phone']
|
includes/Admin/UserProfile.php#L120
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
includes/Admin/UserProfile.php#L564
Detected usage of a non-sanitized input variable: $_POST['dokan_store_phone']
|
includes/Dashboard/Templates/Settings.php#L566
Detected usage of a non-sanitized input variable: $_POST['opening_time'][$day_key]
|
includes/Dashboard/Templates/Settings.php#L567
Detected usage of a non-sanitized input variable: $_POST['closing_time'][$day_key]
|
includes/Dashboard/Templates/Settings.php#L613
Detected usage of a non-sanitized input variable: $_POST['dokan_address']
|
includes/Dashboard/Templates/Settings.php#L617
Detected usage of a non-sanitized input variable: $_POST['setting_phone']
|
includes/Dashboard/Templates/Settings.php#L638
Detected usage of a non-sanitized input variable: $_POST['settings']['bank']
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
includes/Admin/UserProfile.php#L56
Found unknown capability "manage_woocommerce" in function call to current_user_can(). Please check the spelling of the capability. If this is a custom capability, please verify the capability is registered with WordPress via a call to WP_Role(s)->add_cap().
Custom capabilities can be made known to this sniff by setting the "custom_capabilities" property in the PHPCS ruleset.
|
includes/Admin/UserProfile.php#L60
Found unknown capability "dokandar" in function call to user_can(). Please check the spelling of the capability. If this is a custom capability, please verify the capability is registered with WordPress via a call to WP_Role(s)->add_cap().
Custom capabilities can be made known to this sniff by setting the "custom_capabilities" property in the PHPCS ruleset.
|
includes/Admin/UserProfile.php#L542
Found unknown capability "manage_woocommerce" in function call to current_user_can(). Please check the spelling of the capability. If this is a custom capability, please verify the capability is registered with WordPress via a call to WP_Role(s)->add_cap().
Custom capabilities can be made known to this sniff by setting the "custom_capabilities" property in the PHPCS ruleset.
|
includes/Dashboard/Templates/Settings.php#L134
Found unknown capability "dokan_view_store_settings_menu" in function call to current_user_can(). Please check the spelling of the capability. If this is a custom capability, please verify the capability is registered with WordPress via a call to WP_Role(s)->add_cap().
Custom capabilities can be made known to this sniff by setting the "custom_capabilities" property in the PHPCS ruleset.
|
includes/Dashboard/Templates/Settings.php#L320
Found unknown capability "dokan_view_store_social_menu" in function call to current_user_can(). Please check the spelling of the capability. If this is a custom capability, please verify the capability is registered with WordPress via a call to WP_Role(s)->add_cap().
Custom capabilities can be made known to this sniff by setting the "custom_capabilities" property in the PHPCS ruleset.
|
includes/Dashboard/Templates/Settings.php#L332
Found unknown capability "dokan_view_store_settings_menu" in function call to current_user_can(). Please check the spelling of the capability. If this is a custom capability, please verify the capability is registered with WordPress via a call to WP_Role(s)->add_cap().
Custom capabilities can be made known to this sniff by setting the "custom_capabilities" property in the PHPCS ruleset.
|
includes/Dashboard/Templates/Settings.php#L344
Found unknown capability "dokan_view_store_payment_menu" in function call to current_user_can(). Please check the spelling of the capability. If this is a custom capability, please verify the capability is registered with WordPress via a call to WP_Role(s)->add_cap().
Custom capabilities can be made known to this sniff by setting the "custom_capabilities" property in the PHPCS ruleset.
|
includes/Dashboard/Templates/Settings.php#L826
The method parameter $method is never used
|
includes/template-tags.php#L660
The method parameter $title is never used
|
includes/functions.php#L36
Found unknown capability "vendor_staff" in function call to current_user_can(). Please check the spelling of the capability. If this is a custom capability, please verify the capability is registered with WordPress via a call to WP_Role(s)->add_cap().
Custom capabilities can be made known to this sniff by setting the "custom_capabilities" property in the PHPCS ruleset.
|
The logs for this run have expired and are no longer available.
Loading