Skip to content

Commit

Permalink
meta
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspijak committed Jul 13, 2023
1 parent 628c6b4 commit 60e81d1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/Utils/Meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public static function links(array $links, string $file): array
'youtube_channel' => '<a href="https://www.youtube.com/channel/UCGD7ndC4z2NfuWUrS-DGELg" aria-label="YouTube Channel">YouTube Channel</a>',
'contact_us' => '<a href="https://www.bulkgate.com/en/contact-us/" aria-label="Contact us">Contact us</a>',
'api' => '<a href="https://www.bulkgate.com/en/developers/sms-api/" aria-label="API">API</a>',
'github' => '<a href="https://github.com/bulkgate/woosms" aria-label="GitHub">GitHub</a>',
'terms_of_service' => '<a href="https://portal.bulkgate.com/page/terms-and-conditions" aria-label="Terms of Service">Terms of Service</a>',
'privacy_policy' => '<a href="https://portal.bulkgate.com/page/privacy-policy" aria-label="Privacy Policy">Privacy Policy</a>',
]);
}

Expand Down
3 changes: 3 additions & 0 deletions tests/Utils/MetaTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ class MetaTest extends TestCase
'youtube_channel' => '<a href="https://www.youtube.com/channel/UCGD7ndC4z2NfuWUrS-DGELg" aria-label="YouTube Channel">YouTube Channel</a>',
'contact_us' => '<a href="https://www.bulkgate.com/en/contact-us/" aria-label="Contact us">Contact us</a>',
'api' => '<a href="https://www.bulkgate.com/en/developers/sms-api/" aria-label="API">API</a>',
'github' => '<a href="https://github.com/bulkgate/woosms" aria-label="GitHub">GitHub</a>',
'terms_of_service' => '<a href="https://portal.bulkgate.com/page/terms-and-conditions" aria-label="Terms of Service">Terms of Service</a>',
'privacy_policy' => '<a href="https://portal.bulkgate.com/page/privacy-policy" aria-label="Privacy Policy">Privacy Policy</a>',
], Meta::links(['xxx' => '<a href="http://www.bulkgate.com/cs/">BulkGate</a>'], '/yyy/woosms-sms-module-for-woocommerce/woosms-sms-module-for-woocommerce.php'));

Assert::same([
Expand Down
2 changes: 1 addition & 1 deletion woosms-sms-module-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: BulkGate SMS Plugin for WooCommerce
* Plugin URI: https://www.bulkgate.com/en/integrations/sms-plugin-for-woocommerce/
* Description: Notify your customers about order status via SMS notifications.
* Version: 3.0.0 beta
* Version: 3.0.0
* Author: BulkGate
* Author URI: https://www.bulkgate.com/
* Requires at least: 5.7
Expand Down

0 comments on commit 60e81d1

Please sign in to comment.