Feature: Dashboard Menu Manager #2050
Merged
Annotations
8 errors and 14 warnings
Detect coding standard violations:
includes/functions.php#L303
Use placeholders and $wpdb->prepare(); found interpolated variable {$exclude_product_types_text} at WHERE tt.taxonomy = 'product_type' AND t.slug NOT IN ({$exclude_product_types_text})
|
Detect coding standard violations:
includes/functions.php#L1103
The shorthand list syntax "[]" to destructure arrays is not available in PHP 7.0 or earlier.
|
Detect coding standard violations:
includes/functions.php#L1202
Detected usage of a possibly undefined superglobal array index: $_SERVER['QUERY_STRING']. Use isset() or empty() to check the index exists before using it
|
Detect coding standard violations:
includes/functions.php#L1202
$_SERVER['QUERY_STRING'] not unslashed before sanitization. Use wp_unslash() or similar
|
Detect coding standard violations:
includes/functions.php#L1202
Detected usage of a non-sanitized input variable: $_SERVER['QUERY_STRING']
|
Detect coding standard violations:
includes/functions.php#L2316
Detected usage of a non-sanitized input variable: $_GET['product_search_name']
|
Detect coding standard violations:
includes/functions.php#L3977
The shorthand list syntax "[]" to destructure arrays is not available in PHP 7.0 or earlier.
|
Detect coding standard violations
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Get composer cache directory
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/
|
Run URL="https://api.github.com/repos/getdokan/dokan/pulls/2050/files"
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/
|
Detect coding standard violations:
includes/Dashboard/Templates/Dashboard.php#L62
Found unknown capability "dokan_view_sales_overview" 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.
|
Detect coding standard violations:
includes/Dashboard/Templates/Dashboard.php#L92
Found unknown capability "dokan_view_order_report" 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.
|
Detect coding standard violations:
includes/Dashboard/Templates/Dashboard.php#L205
Found unknown capability "dokan_view_product_status_report" 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.
|
Detect coding standard violations:
includes/Dashboard/Templates/Dashboard.php#L251
Found unknown capability "dokan_view_sales_report_chart" 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.
|
Detect coding standard violations:
includes/Shortcodes/Dashboard.php#L51
Found unknown capability "dokan_view_product_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.
|
Detect coding standard violations:
includes/Shortcodes/Dashboard.php#L61
Found unknown capability "dokan_add_product" 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.
|
Detect coding standard violations:
includes/Shortcodes/Dashboard.php#L71
Found unknown capability "dokan_view_order_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.
|
Detect coding standard violations:
includes/Shortcodes/Dashboard.php#L81
Found unknown capability "dokan_view_withdraw_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.
|
Detect coding standard violations:
includes/Shortcodes/Dashboard.php#L91
Found unknown capability "dokan_view_withdraw_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.
|
Detect coding standard violations:
includes/Shortcodes/Dashboard.php#L107
Found unknown capability "dokan_view_overview_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.
|
The logs for this run have expired and are no longer available.
Loading