PluginProbe
Yatra – Travel Booking & Tour Operator Software / 3.0.17
Yatra – Travel Booking & Tour Operator Software v3.0.17
3.0.17 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 All 85 releases
← All changes | app/Services/InstallerService.php +3 -2 3.0.14.1 → 3.0.17 View file →
@@ -206,9 +206,10 @@
206 206 $seed('yatra_email_template_admin_scheduled_payment_failed', true);
207 207 $seed('yatra_email_template_enquiry_received', true);
208 208 $seed('yatra_email_template_enquiry_admin', true);
209 209 $seed('yatra_email_template_enquiry_response', true);
210 - $seed('yatra_email_template_review_request', true);
210 + // Off on a fresh install — see SettingsService::$defaults for why.
211 + $seed('yatra_email_template_review_request', false);
211 212 $seed('yatra_email_template_abandoned_booking_recovery_first', true);
212 213 $seed('yatra_email_template_abandoned_booking_recovery_second', true);
213 214 $seed('yatra_email_template_abandoned_booking_recovery_final', true);
214 215
@@ -557,9 +558,9 @@
557 558 // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared -- table name escaped, static column definition.
558 559 $wpdb->query(
559 560 'ALTER TABLE `' . esc_sql($table) . '` '
560 561 . "ADD COLUMN `duration_hours` smallint(5) UNSIGNED DEFAULT NULL "
561 - . "COMMENT 'Duration in hours for hour-based (single-day) tours; NULL = day-based' "
562 + . "COMMENT 'Duration in hours for hour-based single-day tours, NULL means day-based' "
562 563 . 'AFTER `duration_nights`'
563 564 );
564 565
565 566 // Re-check so we only mark this done when the column really exists.