enhance: inconsistent format in email templates #618
Annotations
10 errors and 15 warnings
includes/Frontend/Frontend_Form.php#L176
The shorthand list syntax "[]" to destructure arrays is not available in PHP 7.0 or earlier.
|
includes/Frontend/Frontend_Form.php#L304
The shorthand list syntax "[]" to destructure arrays is not available in PHP 7.0 or earlier.
|
includes/Frontend/Frontend_Form.php#L428
Capabilities should be used instead of roles. Found "administrator" in function call to current_user_can()
|
includes/Frontend/Frontend_Form.php#L429
Capabilities should be used instead of roles. Found "editor" in function call to current_user_can()
|
includes/Frontend/Frontend_Form.php#L430
Capabilities should be used instead of roles. Found "author" in function call to current_user_can()
|
includes/Frontend/Frontend_Form.php#L431
Capabilities should be used instead of roles. Found "contributor" in function call to current_user_can()
|
wpuf.php#L243
Unnecessary "echo sprintf(...)" found. Use "printf(...)" instead.
|
wpuf.php#L298
date() is affected by runtime timezone changes which can cause date/time to be incorrectly displayed. Use gmdate() instead.
|
wpuf.php#L392
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 392; the first OO declaration was found on line 38
|
includes/Free/Form_Element.php#L435
Opening parenthesis of a multi-line function call must be the last content on the line
|
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 `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/upgrades/upgrade-4.0.11.php#L58
This comment is 54% valid code; is this commented out code?
|
includes/Frontend/Frontend_Form.php#L55
Processing form data without nonce verification.
|
includes/Frontend/Frontend_Form.php#L55
Processing form data without nonce verification.
|
includes/Frontend/Frontend_Form.php#L110
This comment is 55% valid code; is this commented out code?
|
includes/Frontend/Frontend_Form.php#L124
Processing form data without nonce verification.
|
includes/Frontend/Frontend_Form.php#L124
Processing form data without nonce verification.
|
includes/Frontend/Frontend_Form.php#L168
Silencing errors is strongly discouraged. Use proper error checking instead. Found: @Header( 'Content-Type: application/json; charset=' ...
|
includes/Frontend/Frontend_Form.php#L270
json_encode() is discouraged. Use wp_json_encode() instead.
|
includes/Frontend/Frontend_Form.php#L325
Processing form data without nonce verification.
|
includes/Frontend/Frontend_Form.php#L325
Processing form data without nonce verification.
|
This job failed
Loading