fix: translate strings on various pages #632
Annotations
10 errors and 17 warnings
includes/Free/Form_Element.php#L456
Opening parenthesis of a multi-line function call must be the last content on the line
|
includes/Free/Form_Element.php#L459
Closing parenthesis of a multi-line function call must be on a line by itself
|
wpuf.php#L244
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
wpuf.php#L299
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
|
wpuf.php#L393
A file should either contain function declarations or OO structure declarations, but not both. Found 1 function declaration(s) and 1 OO structure declaration(s). The first function declaration was found on line 393; the first OO declaration was found on line 38
|
includes/Traits/TaxableTrait.php#L23
Visibility must be declared on method "wpuf_tax_enabled"
|
includes/Traits/TaxableTrait.php#L39
Visibility must be declared on method "wpuf_prices_include_tax"
|
includes/Traits/TaxableTrait.php#L57
Visibility must be declared on method "wpuf_get_tax_rates"
|
includes/Traits/TaxableTrait.php#L69
Visibility must be declared on method "wpuf_base_country_state"
|
includes/Traits/TaxableTrait.php#L143
Visibility must be declared on method "wpuf_ajax_get_base_states"
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pat-s/always-upload-cache@v1.1.4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, pat-s/always-upload-cache@v1.1.4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-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 `save-state` 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 `save-state` 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/
|
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/Free/Form_Element.php#L148
This comment is 54% valid code; is this commented out code?
|
includes/Free/Form_Element.php#L357
Stand-alone post-increment statement found. Use pre-increment instead: ++$count.
|
includes/Free/Form_Element.php#L503
wp_redirect() found. Using wp_safe_redirect(), along with the "allowed_redirect_hosts" filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
|
wpuf.php#L226
This comment is 43% valid code; is this commented out code?
|
includes/Traits/TaxableTrait.php#L144
Processing form data without nonce verification.
|
includes/Traits/TaxableTrait.php#L144
Processing form data without nonce verification.
|
includes/Traits/TaxableTrait.php#L475
json_encode() is discouraged. Use wp_json_encode() instead.
|
includes/Traits/TaxableTrait.php#L487
Processing form data without nonce verification.
|
includes/Traits/TaxableTrait.php#L487
Processing form data without nonce verification.
|
includes/Traits/TaxableTrait.php#L519
Processing form data without nonce verification.
|
This job failed
Loading