Update tcom-payway-woocommerce.php #8
Annotations
10 errors and 10 warnings
WordPress.WP.DeprecatedParameters.Load_plugin_textdomainParam2Found:
classes/class-wc-tpayway.php#L83
The parameter "// Textdomain\n false" at position #2 of load_plugin_textdomain() has been deprecated since WordPress version 2.7.0. Use "" instead.
|
WordPress.WP.I18n.NonSingularStringLiteralDomain:
classes/class-wc-tpayway.php#L97
The $domain parameter must be a single text string literal. Found: $this->domain
|
WordPress.WP.I18n.TextDomainMismatch:
classes/class-wc-tpayway.php#L99
Mismatched text domain. Expected 'woocommerce-tcom-payway' but got 'tcom-payway-wc'.
|
WordPress.WP.I18n.NonSingularStringLiteralDomain:
classes/class-wc-tpayway.php#L103
The $domain parameter must be a single text string literal. Found: $this->domain
|
WordPress.WP.I18n.TextDomainMismatch:
classes/class-wc-tpayway.php#L105
Mismatched text domain. Expected 'woocommerce-tcom-payway' but got 'tcom-payway-wc'.
|
WordPress.WP.I18n.TextDomainMismatch:
classes/class-wc-tpayway.php#L106
Mismatched text domain. Expected 'woocommerce-tcom-payway' but got 'tcom-payway-wc'.
|
WordPress.WP.I18n.NonSingularStringLiteralDomain:
classes/class-wc-tpayway.php#L109
The $domain parameter must be a single text string literal. Found: $this->domain
|
WordPress.WP.I18n.TextDomainMismatch:
classes/class-wc-tpayway.php#L111
Mismatched text domain. Expected 'woocommerce-tcom-payway' but got 'tcom-payway-wc'.
|
WordPress.WP.I18n.TextDomainMismatch:
classes/class-wc-tpayway.php#L112
Mismatched text domain. Expected 'woocommerce-tcom-payway' but got 'tcom-payway-wc'.
|
WordPress.WP.I18n.NonSingularStringLiteralDomain:
classes/class-wc-tpayway.php#L115
The $domain parameter must be a single text string literal. Found: $this->domain
|
WordPress.DB.DirectDatabaseQuery.DirectQuery:
classes/class-wc-tpayway.php#L270
Use of a direct database call is discouraged.
|
WordPress.DB.DirectDatabaseQuery.NoCaching:
classes/class-wc-tpayway.php#L270
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
WordPress.DB.PreparedSQL.InterpolatedNotPrepared:
classes/class-wc-tpayway.php#L270
Use placeholders and $wpdb->prepare(); found interpolated variable $table_name at "SELECT COUNT(*) FROM $table_name WHERE transaction_id = %s"
|
WordPress.DB.DirectDatabaseQuery.DirectQuery:
classes/class-wc-tpayway.php#L272
Use of a direct database call is discouraged.
|
WordPress.DB.DirectDatabaseQuery.NoCaching:
classes/class-wc-tpayway.php#L272
Direct database call without caching detected. Consider using wp_cache_get() / wp_cache_set() or wp_cache_delete().
|
WordPress.DB.DirectDatabaseQuery.DirectQuery:
classes/class-wc-tpayway.php#L287
Use of a direct database call is discouraged.
|
WordPress.Security.NonceVerification.Missing:
classes/class-wc-tpayway.php#L471
Processing form data without nonce verification.
|
WordPress.Security.NonceVerification.Missing:
classes/class-wc-tpayway.php#L475
Processing form data without nonce verification.
|
WordPress.Security.ValidatedSanitizedInput.MissingUnslash:
classes/class-wc-tpayway.php#L475
$_POST['ShoppingCartID'] not unslashed before sanitization. Use wp_unslash() or similar
|
WordPress.Security.NonceVerification.Missing:
classes/class-wc-tpayway.php#L478
Processing form data without nonce verification.
|