Update README.md #2
Annotations
10 errors and 10 warnings
plugin_header_no_license:
tcom-payway-woocommerce.php#L1
Missing "License" in Plugin Header. Please update your Plugin Header with a valid GPLv2 (or later) compatible license.
|
WordPress.WP.DeprecatedParameters.Load_plugin_textdomainParam2Found:
tcom-payway-woocommerce.php#L36
The parameter "// Textdomain\n\t\tfalse" at position #2 of load_plugin_textdomain() has been deprecated since WordPress version 2.7.0. Use "" instead.
|
WordPress.WP.I18n.TextDomainMismatch:
tcom-payway-woocommerce.php#L119
Mismatched text domain. Expected 'woocommerce-tcom-payway' but got 'tcom-payway-wc'.
|
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
|
textdomain_mismatch:
tcom-payway-woocommerce.php#L1
The "Text Domain" header in the plugin file does not match the slug. Found "tcom-payway-wc", expected "woocommerce-tcom-payway".
|
trademarked_term:
tcom-payway-woocommerce.php#L1
The plugin name includes a restricted term. Your chosen plugin name - "WooCommerce PayWay Hrvatski Telekom payment gateway" - 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:
tcom-payway-woocommerce.php#L1
The plugin slug includes a restricted term. Your plugin slug - "woocommerce-tcom-payway" - 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.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#L470
Processing form data without nonce verification.
|