Changeset 3465655
- Timestamp:
- 02/20/2026 10:10:33 AM (6 weeks ago)
- Location:
- domilocus
- Files:
-
- 4 edited
- 15 copied
-
tags/1.0.9 (copied) (copied from domilocus/trunk)
-
tags/1.0.9/assets/banner-1544x500.png (copied) (copied from domilocus/trunk/assets/banner-1544x500.png)
-
tags/1.0.9/assets/css/admin.css (copied) (copied from domilocus/trunk/assets/css/admin.css)
-
tags/1.0.9/assets/icon-128x128.png (copied) (copied from domilocus/trunk/assets/icon-128x128.png)
-
tags/1.0.9/assets/icon-256x256.png (copied) (copied from domilocus/trunk/assets/icon-256x256.png)
-
tags/1.0.9/domilocus.php (copied) (copied from domilocus/trunk/domilocus.php) (2 diffs)
-
tags/1.0.9/includes/admin/class-domilocus-admin-menus.php (copied) (copied from domilocus/trunk/includes/admin/class-domilocus-admin-menus.php)
-
tags/1.0.9/includes/admin/class-domilocus-admin-settings.php (modified) (2 diffs)
-
tags/1.0.9/includes/admin/class-domilocus-dashboard-widget.php (copied) (copied from domilocus/trunk/includes/admin/class-domilocus-dashboard-widget.php)
-
tags/1.0.9/includes/class-domilocus-booking.php (copied) (copied from domilocus/trunk/includes/class-domilocus-booking.php)
-
tags/1.0.9/includes/class-domilocus-calendar.php (copied) (copied from domilocus/trunk/includes/class-domilocus-calendar.php)
-
tags/1.0.9/includes/class-domilocus-metaboxes.php (copied) (copied from domilocus/trunk/includes/class-domilocus-metaboxes.php)
-
tags/1.0.9/includes/class-domilocus-pricing-manager.php (copied) (copied from domilocus/trunk/includes/class-domilocus-pricing-manager.php)
-
tags/1.0.9/includes/class-domilocus-translation-helper.php (copied) (copied from domilocus/trunk/includes/class-domilocus-translation-helper.php)
-
tags/1.0.9/includes/frontend/class-domilocus-shortcodes.php (copied) (copied from domilocus/trunk/includes/frontend/class-domilocus-shortcodes.php)
-
tags/1.0.9/readme.txt (copied) (copied from domilocus/trunk/readme.txt) (1 diff)
-
trunk/domilocus.php (modified) (2 diffs)
-
trunk/includes/admin/class-domilocus-admin-settings.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
domilocus/tags/1.0.9/domilocus.php
r3464318 r3465655 4 4 * Plugin URI: https://domilocus.consulinfo.it 5 5 * Description: Complete booking and property management solution for vacation rentals, apartments, and accommodations with backend administration. 6 * Version: 1.0. 86 * Version: 1.0.9 7 7 * Author: ConsulInfo 8 8 * Author URI: https://domilocus.consulinfo.it … … 23 23 24 24 // Define plugin constants 25 define('DOMILOCUS_VERSION', '1.0. 8');25 define('DOMILOCUS_VERSION', '1.0.9'); 26 26 define('DOMILOCUS_PLUGIN_FILE', __FILE__); 27 27 define('DOMILOCUS_PLUGIN_DIR', plugin_dir_path(__FILE__)); -
domilocus/tags/1.0.9/includes/admin/class-domilocus-admin-settings.php
r3406872 r3465655 153 153 'advanced' => __('Advanced', 'domilocus'), 154 154 ); 155 156 $tabs = apply_filters('domilocus_settings_tabs', $tabs); 157 158 if (!isset($tabs[$current_tab])) { 159 $current_tab = 'general'; 160 } 155 161 ?> 156 162 <div class="wrap domilocus-settings"> … … 168 174 </h2> 169 175 170 <form method="post" action="<?php echo esc_url(admin_url('admin-post.php')); ?>"> 171 <input type="hidden" name="action" value="domilocus_save_settings" /> 172 <input type="hidden" name="tab" value="<?php echo esc_attr($current_tab); ?>" /> 173 <?php wp_nonce_field('domilocus_settings_' . $current_tab); ?> 174 175 <?php 176 switch ($current_tab) { 177 case 'general': 178 self::render_general_settings(); 179 break; 180 case 'payments': 181 self::render_payment_settings(); 182 break; 183 case 'emails': 184 self::render_email_settings(); 185 break; 186 case 'advanced': 187 self::render_advanced_settings(); 188 break; 189 } 190 ?> 191 192 <?php submit_button(__('Save Settings', 'domilocus')); ?> 193 </form> 176 <?php 177 $core_tabs = array('general', 'payments', 'emails', 'advanced'); 178 if (in_array($current_tab, $core_tabs, true)) : 179 ?> 180 <form method="post" action="<?php echo esc_url(admin_url('admin-post.php')); ?>"> 181 <input type="hidden" name="action" value="domilocus_save_settings" /> 182 <input type="hidden" name="tab" value="<?php echo esc_attr($current_tab); ?>" /> 183 <?php wp_nonce_field('domilocus_settings_' . $current_tab); ?> 184 185 <?php 186 switch ($current_tab) { 187 case 'general': 188 self::render_general_settings(); 189 break; 190 case 'payments': 191 self::render_payment_settings(); 192 break; 193 case 'emails': 194 self::render_email_settings(); 195 break; 196 case 'advanced': 197 self::render_advanced_settings(); 198 break; 199 } 200 ?> 201 202 <?php submit_button(__('Save Settings', 'domilocus')); ?> 203 </form> 204 <?php else : ?> 205 <?php do_action('domilocus_render_settings_tab_' . $current_tab); ?> 206 <?php endif; ?> 194 207 195 208 <?php -
domilocus/tags/1.0.9/readme.txt
r3464318 r3465655 5 5 Tested up to: 6.9 6 6 Requires PHP: 8.0 7 Stable tag: 1.0. 87 Stable tag: 1.0.9 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
domilocus/trunk/domilocus.php
r3464318 r3465655 4 4 * Plugin URI: https://domilocus.consulinfo.it 5 5 * Description: Complete booking and property management solution for vacation rentals, apartments, and accommodations with backend administration. 6 * Version: 1.0. 86 * Version: 1.0.9 7 7 * Author: ConsulInfo 8 8 * Author URI: https://domilocus.consulinfo.it … … 23 23 24 24 // Define plugin constants 25 define('DOMILOCUS_VERSION', '1.0. 8');25 define('DOMILOCUS_VERSION', '1.0.9'); 26 26 define('DOMILOCUS_PLUGIN_FILE', __FILE__); 27 27 define('DOMILOCUS_PLUGIN_DIR', plugin_dir_path(__FILE__)); -
domilocus/trunk/includes/admin/class-domilocus-admin-settings.php
r3406872 r3465655 153 153 'advanced' => __('Advanced', 'domilocus'), 154 154 ); 155 156 $tabs = apply_filters('domilocus_settings_tabs', $tabs); 157 158 if (!isset($tabs[$current_tab])) { 159 $current_tab = 'general'; 160 } 155 161 ?> 156 162 <div class="wrap domilocus-settings"> … … 168 174 </h2> 169 175 170 <form method="post" action="<?php echo esc_url(admin_url('admin-post.php')); ?>"> 171 <input type="hidden" name="action" value="domilocus_save_settings" /> 172 <input type="hidden" name="tab" value="<?php echo esc_attr($current_tab); ?>" /> 173 <?php wp_nonce_field('domilocus_settings_' . $current_tab); ?> 174 175 <?php 176 switch ($current_tab) { 177 case 'general': 178 self::render_general_settings(); 179 break; 180 case 'payments': 181 self::render_payment_settings(); 182 break; 183 case 'emails': 184 self::render_email_settings(); 185 break; 186 case 'advanced': 187 self::render_advanced_settings(); 188 break; 189 } 190 ?> 191 192 <?php submit_button(__('Save Settings', 'domilocus')); ?> 193 </form> 176 <?php 177 $core_tabs = array('general', 'payments', 'emails', 'advanced'); 178 if (in_array($current_tab, $core_tabs, true)) : 179 ?> 180 <form method="post" action="<?php echo esc_url(admin_url('admin-post.php')); ?>"> 181 <input type="hidden" name="action" value="domilocus_save_settings" /> 182 <input type="hidden" name="tab" value="<?php echo esc_attr($current_tab); ?>" /> 183 <?php wp_nonce_field('domilocus_settings_' . $current_tab); ?> 184 185 <?php 186 switch ($current_tab) { 187 case 'general': 188 self::render_general_settings(); 189 break; 190 case 'payments': 191 self::render_payment_settings(); 192 break; 193 case 'emails': 194 self::render_email_settings(); 195 break; 196 case 'advanced': 197 self::render_advanced_settings(); 198 break; 199 } 200 ?> 201 202 <?php submit_button(__('Save Settings', 'domilocus')); ?> 203 </form> 204 <?php else : ?> 205 <?php do_action('domilocus_render_settings_tab_' . $current_tab); ?> 206 <?php endif; ?> 194 207 195 208 <?php -
domilocus/trunk/readme.txt
r3464318 r3465655 5 5 Tested up to: 6.9 6 6 Requires PHP: 8.0 7 Stable tag: 1.0. 87 Stable tag: 1.0.9 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.