Changeset 3771908
- Timestamp:
- 10/29/2026 12:42:03 AM (3 days ago)
- Location:
- kibian-reservations
- Files:
-
- 2 added
- 6 edited
-
assets/screenshot-3.png (added)
-
assets/screenshot-4.png (added)
-
trunk/includes/class-kibian-reservations-form.php (modified) (1 diff)
-
trunk/includes/class-kibian-reservations-requests.php (modified) (1 diff)
-
trunk/kibian-reservations.php (modified) (2 diffs)
-
trunk/languages/kibian-reservations-es_ES.mo (modified) ( previous)
-
trunk/languages/kibian-reservations-es_ES.po (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kibian-reservations/trunk/includes/class-kibian-reservations-form.php
r3771842 r3771908 101 101 */ 102 102 private function enqueue( $o ) { 103 // Block themes render the content before wp_enqueue_scripts runs, so register here too. 104 if ( ! wp_script_is( 'kr-form', 'registered' ) ) { 105 $this->register_assets(); 106 } 107 103 108 wp_enqueue_style( 'kr-form' ); 104 109 wp_enqueue_script( 'kr-form' ); -
kibian-reservations/trunk/includes/class-kibian-reservations-requests.php
r3771842 r3771908 511 511 $nights = (int) round( ( strtotime( $out . ' UTC' ) - strtotime( $in . ' UTC' ) ) / DAY_IN_SECONDS ); 512 512 if ( $nights > 0 ) { 513 $label = function_exists( 'mb_strtolower' ) ? mb_strtolower( __( 'Nights', 'kibian-reservations' ) ) : strtolower( __( 'Nights', 'kibian-reservations' ) ); 513 $word = 1 === $nights ? __( 'Night', 'kibian-reservations' ) : __( 'Nights', 'kibian-reservations' ); 514 $label = function_exists( 'mb_strtolower' ) ? mb_strtolower( $word ) : strtolower( $word ); 514 515 echo '<span class="kr-chip-nights">' . esc_html( $nights . ' ' . $label ) . '</span>'; 515 516 } -
kibian-reservations/trunk/kibian-reservations.php
r3771842 r3771908 3 3 * Plugin Name: Kibian Reservations 4 4 * Description: Booking request form for tourism and hospitality. The guest fills it in and WhatsApp opens with the message already written. Request inbox included. 5 * Version: 0.11. 55 * Version: 0.11.6 6 6 * Requires at least: 6.0 7 7 * Requires PHP: 7.4 … … 19 19 } 20 20 21 define( 'KIBIAN_RESERVATIONS_VERSION', '0.11. 5' );21 define( 'KIBIAN_RESERVATIONS_VERSION', '0.11.6' ); 22 22 define( 'KIBIAN_RESERVATIONS_FILE', __FILE__ ); 23 23 define( 'KIBIAN_RESERVATIONS_PATH', plugin_dir_path( __FILE__ ) ); -
kibian-reservations/trunk/languages/kibian-reservations-es_ES.po
r3771842 r3771908 346 346 msgstr "Noches" 347 347 348 msgid "Night" 349 msgstr "Noche" 350 348 351 msgid "View all requests:" 349 352 msgstr "Ver todas las solicitudes:" -
kibian-reservations/trunk/readme.txt
r3771842 r3771908 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 0.11. 57 Stable tag: 0.11.6 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 88 88 == Changelog == 89 89 90 = 0.11.6 = 91 * Fixed: in block themes the calendar and form script did not start (the form was not interactive). 92 * Fixed: the inbox showed "1 nights" for one-night stays. 93 90 94 = 0.11.5 = 91 95 * Removed the custom CSS setting. Colors, corner radius and texts are still editable from the settings page. … … 174 178 == Upgrade Notice == 175 179 180 = 0.11.6 = 181 Fixes the form not working in block themes (such as the default WordPress themes) and a nights label in the inbox. 182 176 183 = 0.11.5 = 177 184 The custom CSS box was removed. Use your theme's CSS editor (Appearance > Customize > Additional CSS) for extra styling.
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)