Add the WordPress Plugin Check Action #17
Annotations
10 errors and 10 warnings
WordPress.WP.I18n.MissingTranslatorsComment:
includes/Framework/PaymentGateway/Admin/Payment_Gateway_Admin_User_Handler.php#L302
A function call to esc_html__() 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.
|
WordPress.WP.I18n.MissingTranslatorsComment:
includes/Framework/PaymentGateway/Payment_Gateway.php#L2444
A function call to esc_html__() 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.
|
WordPress.WP.I18n.MissingTranslatorsComment:
includes/Framework/PaymentGateway/Payment_Gateway.php#L2541
A function call to esc_html__() 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.
|
WordPress.WP.I18n.MissingTranslatorsComment:
includes/Framework/PaymentGateway/Payment_Gateway.php#L2574
A function call to esc_html__() 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.
|
WordPress.WP.I18n.MissingTranslatorsComment:
includes/Framework/PaymentGateway/Payment_Gateway.php#L2787
A function call to esc_html__() 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.
|
WordPress.WP.I18n.MissingTranslatorsComment:
includes/Framework/PaymentGateway/Payment_Gateway.php#L2888
A function call to esc_html__() 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.
|
WordPress.WP.I18n.MissingTranslatorsComment:
includes/Framework/PaymentGateway/Payment_Gateway.php#L3557
A function call to esc_html__() 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.
|
PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage:
includes/Framework/PaymentGateway/Payment_Gateway.php#L4720
Images should be added using wp_get_attachment_image() or similar functions
|
PluginCheck.CodeAnalysis.ImageFunctions.NonEnqueuedImage:
includes/Framework/PaymentGateway/Payment_Gateway.php#L4732
Images should be added using wp_get_attachment_image() or similar functions
|
hidden_files:
.stylelintrc.json#L1
Hidden files are not permitted.
|
plugin_header_nonexistent_domain_path:
woocommerce-square.php#L1
The "Domain Path" header in the plugin file must point to an existing folder. Found: "i18n/languages"
|
trademarked_term:
woocommerce-square.php#L1
The plugin name includes a restricted term. Your chosen plugin name - "WooCommerce Square" - contains the restricted term "woocommerce" which cannot be used within in your plugin name, unless your plugin name ends with "for woocommerce". The term must still not appear anywhere else in your name.
|
trademarked_term:
woocommerce-square.php#L1
The plugin slug includes a restricted term. Your plugin slug - "woocommerce-square" - contains the restricted term "woocommerce" which cannot be used within in your plugin slug, unless your plugin slug ends with "for woocommerce". The term must still not appear anywhere else in your plugin slug.
|
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized:
includes/Gateway.php#L182
Detected usage of a non-sanitized input variable: $_REQUEST['type']
|
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized:
includes/Gateway.php#L187
Detected usage of a non-sanitized input variable: $_REQUEST['data']
|
WordPress.WP.EnqueuedResourceParameters.NotInFooter:
includes/Gateway.php#L264
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
|
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized:
includes/Utilities/Helper.php#L41
Detected usage of a non-sanitized input variable: $_POST[$key]
|
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized:
includes/Handlers/Products.php#L1139
Detected usage of a non-sanitized input variable: $_POST['square-gift-card-sender-name']
|
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized:
includes/Handlers/Products.php#L1141
Detected usage of a non-sanitized input variable: $_POST['square-gift-card-sent-to-first-name']
|
WordPress.Security.ValidatedSanitizedInput.InputNotSanitized:
includes/Handlers/Products.php#L1142
Detected usage of a non-sanitized input variable: $_POST['square-gift-card-sent-to-message']
|