PluginProbe
Yatra – Travel Booking & Tour Operator Software / 3.0.16
Yatra – Travel Booking & Tour Operator Software v3.0.16
3.0.16 3.0.15 3.0.14 3.0.14.1 3.0.14.2 3.0.12 3.0.13 3.0.11 3.0.10 3.0.9 3.0.8 3.0.7 3.0.6 3.0.5 3.0.5.1 3.0.4 3.0.3 3.0.2.9 3.0.2.7 3.0.2.8 3.0.2.6 trunk 1.0.0 2.0.0 2.0.1 All 84 releases
← All changes | app/Compatibility/Elementor/Assets.php +3 -4 3.0.2.8 → 3.0.16 View file →
@@ -95,9 +95,8 @@
95 95 foreach ([
96 96 'yatra_booking_confirmation',
97 97 'yatra_remaining_checkout',
98 98 'yatra_verify_email',
99 - 'yatra_login_page',
100 99 'yatra_destination_slug',
101 100 'yatra_activity_slug',
102 101 'yatra_category_slug',
103 102 ] as $qv) {
@@ -134,11 +133,11 @@
134 133
135 134 if ($path !== '') {
136 135 $bases = [
137 136 $tripBase,
138 - preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getString('destination_base', 'destination')),
139 - preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getString('activity_base', 'activity')),
140 - preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getString('trip_category_base', 'trip-category')),
137 + preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getDestinationBase()),
138 + preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getActivityBase()),
139 + preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getTripCategoryBase()),
141 140 preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getBookingBase()),
142 141 preg_replace('/[^a-zA-Z0-9_-]/', '', (string) \Yatra\Services\SettingsService::getAccountBase()),
143 142 ];
144 143 foreach (array_filter($bases) as $base) {