Changeset 3442505
- Timestamp:
- 01/19/2026 12:04:20 PM (2 months ago)
- Location:
- creavi-booking-service
- Files:
-
- 28 added
- 5 edited
-
tags/1.1.4 (added)
-
tags/1.1.4/assets (added)
-
tags/1.1.4/assets/css (added)
-
tags/1.1.4/assets/css/admin.css (added)
-
tags/1.1.4/assets/css/style.css (added)
-
tags/1.1.4/assets/js (added)
-
tags/1.1.4/assets/js/admin.js (added)
-
tags/1.1.4/assets/js/booking.js (added)
-
tags/1.1.4/assets/js/cbs-gcal-busy-admin.js (added)
-
tags/1.1.4/assets/vendor (added)
-
tags/1.1.4/assets/vendor/flatpickr (added)
-
tags/1.1.4/assets/vendor/flatpickr/flatpickr.min.css (added)
-
tags/1.1.4/assets/vendor/flatpickr/flatpickr.min.js (added)
-
tags/1.1.4/assets/vendor/luxon (added)
-
tags/1.1.4/assets/vendor/luxon/luxon.min.js (added)
-
tags/1.1.4/creavi-booking-service.php (added)
-
tags/1.1.4/includes (added)
-
tags/1.1.4/includes/admin.php (added)
-
tags/1.1.4/includes/ajax-handlers.php (added)
-
tags/1.1.4/includes/cbs-gcal-remote.php (added)
-
tags/1.1.4/includes/functions.php (added)
-
tags/1.1.4/includes/gcal-freebusy.php (added)
-
tags/1.1.4/includes/meta-boxes.php (added)
-
tags/1.1.4/includes/post-types.php (added)
-
tags/1.1.4/includes/reminders.php (added)
-
tags/1.1.4/includes/render-booking-inline.php (added)
-
tags/1.1.4/includes/save-service.php (added)
-
tags/1.1.4/readme.txt (added)
-
trunk/assets/js/booking.js (modified) (1 diff)
-
trunk/creavi-booking-service.php (modified) (2 diffs)
-
trunk/includes/functions.php (modified) (1 diff)
-
trunk/includes/meta-boxes.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
creavi-booking-service/trunk/assets/js/booking.js
r3439801 r3442505 3 3 return /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(email); 4 4 } 5 6 // Apply WP "Week Starts On" to Flatpickr globally 7 if (window.flatpickr && window.creavibc_ajax) { 8 const w = parseInt(creavibc_ajax.week_starts_on, 10); 9 if (Number.isFinite(w)) { 10 flatpickr.l10ns.default.firstDayOfWeek = w; 11 } 12 } 13 5 14 6 15 function validateField($input) { -
creavi-booking-service/trunk/creavi-booking-service.php
r3441012 r3442505 4 4 * Description: A simple service booking system with popup UI. 5 5 * Text Domain: creavi-booking-service 6 * Version: 1.1. 36 * Version: 1.1.4 7 7 * Author: Creavi 8 8 * License: GPL2 … … 14 14 define('CREAVIBC_PLUGIN_URL', plugin_dir_url(__FILE__)); 15 15 define('CREAVIBC_PLUGIN_PATH', plugin_dir_path(__FILE__)); 16 define('CREAVIBC_VERSION', '1.1. 3');16 define('CREAVIBC_VERSION', '1.1.4'); 17 17 18 18 require_once CREAVIBC_PLUGIN_DIR . 'includes/cbs-gcal-remote.php'; -
creavi-booking-service/trunk/includes/functions.php
r3439801 r3442505 189 189 190 190 wp_localize_script('creavibc-script', 'creavibc_ajax', [ 191 'ajax_url' => admin_url('admin-ajax.php'), 192 'nonce' => wp_create_nonce('creavibc_booking_nonce'), 193 ]); 191 'ajax_url' => admin_url('admin-ajax.php'), 192 'nonce' => wp_create_nonce('creavibc_booking_nonce'), 193 'week_starts_on' => (int) get_option('start_of_week', 0), // WP setting 194 ]); 195 194 196 }); 195 197 -
creavi-booking-service/trunk/includes/meta-boxes.php
r3441012 r3442505 421 421 wp_nonce_field('creavibc_save_grid_slots', 'creavibc_grid_slots_nonce'); 422 422 423 echo '<div class="creavibc-admin-hint" style="margin-top:12px;"> 424 <span class="dashicons dashicons-info-outline"></span> 425 ' . esc_html__( 'The weekday columns follow your WordPress “Week Starts On” setting (Settings → General).', 'creavi-booking-service' ) . ' 426 </div>'; 427 428 423 429 echo '<p><strong>Select appointment start times:</strong></p>'; 424 430 echo '<div id="creavibc-slot-wrapper" style="position:relative;">'; -
creavi-booking-service/trunk/readme.txt
r3441012 r3442505 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.4 7 Stable tag: 1.1. 37 Stable tag: 1.1.4 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 86 86 87 87 == Changelog == 88 89 = 1.1.4 = 90 * Booking calendar now respects the WordPress “Week Starts On” setting. 88 91 89 92 = 1.1.3 =
Note: See TracChangeset
for help on using the changeset viewer.