Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tcom-payway-woocommerce.php #41

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tcom-payway-woocommerce.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

Check warning on line 1 in tcom-payway-woocommerce.php

View workflow job for this annotation

GitHub Actions / test

textdomain_mismatch

The "Text Domain" header in the plugin file does not match the slug. Found "tcom-payway-wc", expected "woocommerce-tcom-payway".

Check warning on line 1 in tcom-payway-woocommerce.php

View workflow job for this annotation

GitHub Actions / test

trademarked_term

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.
/*
* Plugin Name: PayWay Hrvatski Telekom payment gateway for Woocommerce
* Plugin URI: https://github.com/marinsagovac/woocommerce-tcom-payway
* Description: PayWay Hrvatski Telekom payment gateway for Woocommerce
* Description: PayWay Hrvatski Telekom payment gateway for WooCommerce
* Version: 1.8.6
* @license: MIT
* License: MIT
* License URI: https://opensource.org/licenses/MIT
* Author: Marin Šagovac
* Developers: Marin Šagovac, Matija Kovačević, Danijel Gubić, Ivan Švaljek, Micemade, 9jaDevo, Danijel-kt, nine-2-five, Chidiebere Chukwudi
Expand Down Expand Up @@ -33,7 +33,7 @@
*/
function tcom_payway_load_textdomain()
{
load_plugin_textdomain(

Check failure on line 36 in tcom-payway-woocommerce.php

View workflow job for this annotation

GitHub Actions / test

WordPress.WP.DeprecatedParameters.Load_plugin_textdomainParam2Found

The parameter "// Textdomain\n\t\tfalse" at position #2 of load_plugin_textdomain() has been deprecated since WordPress version 2.7.0. Use "" instead.
'tcom-payway-wc', // Textdomain
false, // Deprecated argument, set to false
dirname(plugin_basename(__FILE__)) . '/languages/' // Path to language files
Expand Down Expand Up @@ -116,7 +116,7 @@
{
$links[] = '<a href="' .
admin_url('admin.php?page=wc-settings&tab=checkout&section=wc_tpayway') .
'">' . __('Settings', 'tcom-payway-wc') . '</a>';

Check failure on line 119 in tcom-payway-woocommerce.php

View workflow job for this annotation

GitHub Actions / test

WordPress.WP.I18n.TextDomainMismatch

Mismatched text domain. Expected 'woocommerce-tcom-payway' but got 'tcom-payway-wc'.
return $links;
}

Expand Down
Loading