Skip to content

Commit

Permalink
Updated Asset URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
MB-Jan committed Jul 21, 2022
1 parent f32333a commit c1f3ebb
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 23 deletions.
8 changes: 4 additions & 4 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: MB-Jan, wink
Tags: travel, wink, booking
Requires at least: 4.7
Tested up to: 6.0
Stable tag: 1.2.17
Version: 1.2.17
Tested up to: 6.0.1
Stable tag: 1.2.18
Version: 1.2.18
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -50,7 +50,7 @@ If you notice any issues, please contact us.
== Changelog ==

= 1.2.18 =
* Rebrand to Wink.
* Rebrand to WINK.

= 1.2.17 =
* Includes multiple fixes + notice if permalinks have not been set in WordPress.
Expand Down
2 changes: 1 addition & 1 deletion includes/elementHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function coreComponent() {
$html = '';
$clientId = get_option($this->clientIdKey, false);

echo'<wink-app-loader config=\'{"clientId":"'.esc_html($clientId).'"}\'></wink-app-loader>';
echo'<iko-app-loader config=\'{"clientId":"'.esc_html($clientId).'"}\'></iko-app-loader>';
$GLOBALS['winkLoaderAlreadyEnqueued'] = true;
}
return $GLOBALS['winkLoaderAlreadyEnqueued'];
Expand Down
6 changes: 3 additions & 3 deletions includes/elements/js/winkcontent.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion includes/elements/winkaccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function blockHandler($atts) {
}
function winkElement() {
ob_start();
?><wink-account-button></wink-account-button><?php
?><iko-account-button></iko-account-button><?php
$content = ob_get_contents();
ob_end_clean();
$isAdmin = false;
Expand Down
2 changes: 1 addition & 1 deletion includes/elements/winkcontent.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ function winkElement($atts) {
$jsonConfig = json_encode($config);
ob_start();
?>
<wink-content-loader config='<?php echo trim($jsonConfig); ?>'></wink-content-loader>
<iko-content-loader config='<?php echo trim($jsonConfig); ?>'></iko-content-loader>
<?php
$content = ob_get_contents();
ob_end_clean();
Expand Down
2 changes: 1 addition & 1 deletion includes/elements/winkitinerary.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function blockHandler($atts) {
}
function winkElement() {
ob_start();
?><wink-itinerary-button></wink-itinerary-button><?php
?><iko-itinerary-button></iko-itinerary-button><?php
$content = ob_get_contents();
ob_end_clean();
$isAdmin = false;
Expand Down
2 changes: 1 addition & 1 deletion includes/elements/winkitineraryform.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function blockHandler($atts) {
}
function winkElement() {
ob_start();
?><wink-itinerary-form></wink-itinerary-form><?php
?><iko-itinerary-form></iko-itinerary-form><?php
$content = ob_get_contents();
ob_end_clean();
$isAdmin = false;
Expand Down
2 changes: 1 addition & 1 deletion includes/elements/winklookup.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function blockHandler($atts) {
}
function winkElement() {
ob_start();
?><wink-lookup></wink-lookup><?php
?><iko-lookup></iko-lookup><?php
$content = ob_get_contents();
ob_end_clean();
$isAdmin = false;
Expand Down
2 changes: 1 addition & 1 deletion includes/elements/winksearch.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function blockHandler($atts) {
}
function winkElement() {
ob_start();
?><wink-search-button></wink-search-button><?php
?><iko-search-button></iko-search-button><?php
$content = ob_get_contents();
ob_end_clean();
$isAdmin = false;
Expand Down
18 changes: 9 additions & 9 deletions wink.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,19 +200,19 @@ static function environmentURL($target, $environment) {
// error_log('WINK - environment: '.$environment);
$environments = array(
'js' => array(
'staging' => 'https://staging-elements.WINK',
'development' => 'https://dev.travelwink.com:8011',
'production' => 'https://elements.WINK'
'staging' => 'https://staging-elements.wink.travel',
'development' => 'https://dev.traveliko.com:8011',
'production' => 'https://elements.wink.travel'
),
'json' => array(
'staging' => 'https://staging-iam.WINK',
'development' => 'https://dev.travelwink.com:9000',
'production' => 'https://iam.WINK'
'staging' => 'https://staging-iam.wink.travel',
'development' => 'https://dev.traveliko.com:9000',
'production' => 'https://iam.wink.travel'
),
'api' => array(
'staging' => 'https://staging-api.WINK',
'development' => 'https://dev.travelwink.com:8443',
'production' => 'https://api.WINK'
'staging' => 'https://staging-api.wink.travel',
'development' => 'https://dev.traveliko.com:8443',
'production' => 'https://api.wink.travel'
)
);
return $environments[$target][$environment];
Expand Down

0 comments on commit c1f3ebb

Please sign in to comment.