Prepare Release v2.0.4 #48
Annotations
11 errors and 11 warnings
PHP Code Sniffer:
includes/admin/views/metabox/campaign-miscellaneous.php#L2
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
|
PHP Code Sniffer:
includes/admin/views/metabox/campaign-miscellaneous.php#L3
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$campaign_id'.
|
PHP Code Sniffer:
includes/admin/views/metabox/campaign-miscellaneous.php#L3
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'wp_create_nonce'.
|
PHP Code Sniffer:
wp-content-pilot.php#L36
Inline comments must end in full-stops, exclamation marks, or question marks
|
PHP Code Sniffer:
wp-content-pilot.php#L83
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
|
PHP Code Sniffer:
wp-content-pilot.php#L92
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '__'.
|
PHP Code Sniffer:
wp-content-pilot.php#L149
No space found before comment text; expected "// boot" but found "//boot"
|
PHP Code Sniffer:
wp-content-pilot.php#L149
Inline comments must end in full-stops, exclamation marks, or question marks
|
PHP Code Sniffer:
wp-content-pilot.php#L150
"require_once" is a statement not a function; no parentheses are required
|
PHP Code Sniffer:
wp-content-pilot.php#L151
"require_once" is a statement not a function; no parentheses are required
|
PHP Code Sniffer
Process completed with exit code 2.
|
PHP Code Sniffer
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
PHP Code Sniffer:
wp-content-pilot.php#L58
Property name "$_instance" should not be prefixed with an underscore to indicate visibility
|
PHP Code Sniffer:
wp-content-pilot.php#L196
Scheduling crons at 60 sec ( less than 15 minutes ) is discouraged.
|
PHP Code Sniffer:
wp-content-pilot.php#L253
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
|
PHP Code Sniffer:
wp-content-pilot.php#L307
This comment is 50% valid code; is this commented out code?
|
PHP Code Sniffer:
wp-content-pilot.php#L322
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
|
PHP Code Sniffer:
includes/class-wpcp-logger.php#L94
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
|
PHP Code Sniffer:
includes/class-wpcp-logger.php#L98
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: is_writable().
|
PHP Code Sniffer:
includes/class-wpcp-logger.php#L176
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fwrite().
|
PHP Code Sniffer:
includes/class-wpcp-logger.php#L198
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fopen().
|
PHP Code Sniffer:
includes/admin/views/metabox/action-metabox.php#L14
Processing form data without nonce verification.
|