Changeset 3253175
- Timestamp:
- 03/10/2025 09:02:26 AM (13 months ago)
- Location:
- advanced-notifications/trunk
- Files:
-
- 3 edited
-
advanced-notifications.php (modified) (1 diff)
-
plugins/easy-interface-settings/easy-interface-settings.php (modified) (1 diff)
-
plugins/easy-interface-settings/includes/eis-admin-functions.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advanced-notifications/trunk/advanced-notifications.php
r3216887 r3253175 4 4 * Plugin URI: https://advanced-notifications.com 5 5 * Description: Advanced Notifications allows you to create beautiful custom notifications 6 * Version: 1.2. 86 * Version: 1.2.9 7 7 * Author: Yehi 8 8 * Author URI: https://profiles.wordpress.org/yehi/ -
advanced-notifications/trunk/plugins/easy-interface-settings/easy-interface-settings.php
r3220243 r3253175 2 2 /* 3 3 * 4 * Easy Interface Settings V 1. 0.94 * Easy Interface Settings V 1.1.0 5 5 * ------------------------------------------------ 6 6 * Copyright Linker - https://linker.co.il -
advanced-notifications/trunk/plugins/easy-interface-settings/includes/eis-admin-functions.php
r3220243 r3253175 143 143 $input_type = $option['input_type']; 144 144 $placeholder = $option['placeholder']; 145 $current_val = (strpos($input_id , '_eis_encrypt') !== false && !empty($option['value']) && !is_array($option['value'])) ? eis_openssl_decrypt($option['value']) : $option['value'];146 $current_val = ( $current_val == null && $option['default'] != null) ? $option['default'] : $current_val;145 $current_val = (strpos($input_id ?? '', '_eis_encrypt') !== false && !empty($option['value']) && !is_array($option['value'])) ? eis_openssl_decrypt($option['value']) : $option['value']; 146 $current_val = (!$current_val && $option['default']) ? $option['default'] : $current_val; 147 147 $current_val = (is_array($current_val)) ? array_map("esc_attr", $current_val) : esc_attr($current_val); 148 148 if (is_array($current_val)) { 149 149 $current_val = array_map("esc_attr", $current_val); 150 if (strpos($input_id , '_eis_encrypt') !== false) {150 if (strpos($input_id ?? '', '_eis_encrypt') !== false) { 151 151 $current_val = array_map("eis_openssl_decrypt", $current_val); 152 152 } … … 690 690 691 691 function is_eis_option_hidden($current_interface_id, $current_input_id) { 692 $current_input_id = str_replace('_eis_html', '', $current_input_id );692 $current_input_id = str_replace('_eis_html', '', $current_input_id ?? ''); 693 693 global $post; 694 694 $post_id = (isset($post->ID)) ? $post->ID : null;
Note: See TracChangeset
for help on using the changeset viewer.