Changeset 3692043
- Timestamp:
- 09/11/2026 08:05:30 PM (6 weeks ago)
- Location:
- bookingfacil-reservas
- Files:
-
- 2 edited
-
tags/1.3.9/shortcodes.php (modified) (1 diff)
-
trunk/shortcodes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bookingfacil-reservas/tags/1.3.9/shortcodes.php
r3692007 r3692043 994 994 <div class="wbf-style-81d75b44"> 995 995 <?php 996 $services_list = get_option( 'booking_facil_services_list', array('WiFi', 'Aire Acondicionado', 'Desayuno', 'Cochera', 'Piscina', 'Calefacción', 'Televisión', 'Servicio de limpieza') ); 997 foreach ( $services_list as $service ) : 996 $raw_services_list = get_option( 'booking_facil_services_list', array('WiFi', 'Aire Acondicionado', 'Desayuno', 'Cochera', 'Piscina', 'Calefacción', 'Televisión', 'Servicio de limpieza') ); 997 foreach ( $raw_services_list as $service_item ) : 998 $service_name = ''; 999 if ( is_array( $service_item ) && isset( $service_item['name'] ) ) { 1000 $service_name = trim( $service_item['name'] ); 1001 } elseif ( is_string( $service_item ) ) { 1002 $service_name = trim( $service_item ); 1003 } 1004 if ( empty( $service_name ) ) { 1005 continue; 1006 } 998 1007 ?> 999 <label class="wbf-style-941d2292"> 1000 <input type="checkbox" name="services[]" class="wp-booking-filter-service-checkbox wp-booking-filter-checkbox" value="<?php echo esc_attr( $service ); ?>" /> 1001 <span><?php echo esc_html( $service ); ?></span> 1008 <label class="wbf-style-941d2292" style="display: flex; align-items: center; gap: 8px; cursor: pointer;"> 1009 <input type="checkbox" name="services[]" class="wp-booking-filter-service-checkbox wp-booking-filter-checkbox" value="<?php echo esc_attr( $service_name ); ?>" /> 1010 <span style="display: inline-flex; align-items: center; gap: 6px;"> 1011 <?php echo booking_facil_get_amenity_icon_svg( $service_name ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> 1012 <span><?php echo esc_html( $service_name ); ?></span> 1013 </span> 1002 1014 </label> 1003 1015 <?php endforeach; ?> -
bookingfacil-reservas/trunk/shortcodes.php
r3692007 r3692043 994 994 <div class="wbf-style-81d75b44"> 995 995 <?php 996 $services_list = get_option( 'booking_facil_services_list', array('WiFi', 'Aire Acondicionado', 'Desayuno', 'Cochera', 'Piscina', 'Calefacción', 'Televisión', 'Servicio de limpieza') ); 997 foreach ( $services_list as $service ) : 996 $raw_services_list = get_option( 'booking_facil_services_list', array('WiFi', 'Aire Acondicionado', 'Desayuno', 'Cochera', 'Piscina', 'Calefacción', 'Televisión', 'Servicio de limpieza') ); 997 foreach ( $raw_services_list as $service_item ) : 998 $service_name = ''; 999 if ( is_array( $service_item ) && isset( $service_item['name'] ) ) { 1000 $service_name = trim( $service_item['name'] ); 1001 } elseif ( is_string( $service_item ) ) { 1002 $service_name = trim( $service_item ); 1003 } 1004 if ( empty( $service_name ) ) { 1005 continue; 1006 } 998 1007 ?> 999 <label class="wbf-style-941d2292"> 1000 <input type="checkbox" name="services[]" class="wp-booking-filter-service-checkbox wp-booking-filter-checkbox" value="<?php echo esc_attr( $service ); ?>" /> 1001 <span><?php echo esc_html( $service ); ?></span> 1008 <label class="wbf-style-941d2292" style="display: flex; align-items: center; gap: 8px; cursor: pointer;"> 1009 <input type="checkbox" name="services[]" class="wp-booking-filter-service-checkbox wp-booking-filter-checkbox" value="<?php echo esc_attr( $service_name ); ?>" /> 1010 <span style="display: inline-flex; align-items: center; gap: 6px;"> 1011 <?php echo booking_facil_get_amenity_icon_svg( $service_name ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> 1012 <span><?php echo esc_html( $service_name ); ?></span> 1013 </span> 1002 1014 </label> 1003 1015 <?php endforeach; ?>
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)