Fix/Coding Standards #8
Annotations
10 errors and 2 warnings
WPCS:
includes/templates/admin-ips.php#L75
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
|
WPCS:
includes/templates/admin-ips.php#L104
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
|
WPCS:
includes/templates/admin-ips.php#L109
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
|
WPCS:
includes/templates/admin-hours-list.php#L42
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
|
WPCS:
includes/templates/admin-hours-list.php#L47
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$time'.
|
WPCS:
includes/templates/admin-block-ip.php#L6
There must be exactly one blank line after the file comment
|
WPCS:
includes/templates/admin-block-ip.php#L20
All output should be run through an escaping function (like esc_html_e() or esc_attr_e()), found '_e'.
|
WPCS:
includes/templates/admin-block-ip.php#L28
$_REQUEST data not unslashed before sanitization. Use wp_unslash() or similar
|
WPCS:
includes/templates/admin-block-ip.php#L28
Detected usage of a non-sanitized input variable: $_REQUEST['ip']
|
WPCS:
includes/templates/admin-bar-chart.php#L37
Inline comments must end in full-stops, exclamation marks, or question marks
|
WPCS
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
WPCS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|