geodirectory-widgets/geodirectory_bestof_widget.php 1 location
|
@@ 359-362 (lines=4) @@
|
| 356 |
|
$instance['character_count'] = $new_instance['character_count']; |
| 357 |
|
$instance['tab_layout'] = $new_instance['tab_layout']; |
| 358 |
|
$instance['excerpt_type'] = $new_instance['excerpt_type']; |
| 359 |
|
if (isset($new_instance['add_location_filter']) && $new_instance['add_location_filter'] != '') |
| 360 |
|
$instance['add_location_filter'] = strip_tags($new_instance['add_location_filter']); |
| 361 |
|
else |
| 362 |
|
$instance['add_location_filter'] = '0'; |
| 363 |
|
$instance['use_viewing_post_type'] = isset($new_instance['use_viewing_post_type']) && $new_instance['use_viewing_post_type'] ? 1 : 0; |
| 364 |
|
return $instance; |
| 365 |
|
} |
geodirectory-widgets/geodirectory_popular_widget.php 1 location
|
@@ 193-196 (lines=4) @@
|
| 190 |
|
$instance['listing_width'] = strip_tags($new_instance['listing_width']);
|
| 191 |
|
$instance['list_sort'] = strip_tags($new_instance['list_sort']);
|
| 192 |
|
$instance['character_count'] = $new_instance['character_count'];
|
| 193 |
|
if (isset($new_instance['add_location_filter']) && $new_instance['add_location_filter'] != '')
|
| 194 |
|
$instance['add_location_filter'] = strip_tags($new_instance['add_location_filter']);
|
| 195 |
|
else
|
| 196 |
|
$instance['add_location_filter'] = '0';
|
| 197 |
|
|
| 198 |
|
$instance['show_featured_only'] = isset($new_instance['show_featured_only']) && $new_instance['show_featured_only'] ? 1 : 0;
|
| 199 |
|
$instance['show_special_only'] = isset($new_instance['show_special_only']) && $new_instance['show_special_only'] ? 1 : 0;
|
geodirectory-widgets/geodirectory_related_listing_widget.php 1 location
|
@@ 121-124 (lines=4) @@
|
| 118 |
|
$instance['listing_width'] = strip_tags($new_instance['listing_width']); |
| 119 |
|
$instance['list_sort'] = strip_tags($new_instance['list_sort']); |
| 120 |
|
$instance['character_count'] = $new_instance['character_count']; |
| 121 |
|
if (isset($new_instance['add_location_filter']) && $new_instance['add_location_filter'] != '') |
| 122 |
|
$instance['add_location_filter'] = strip_tags($new_instance['add_location_filter']); |
| 123 |
|
else |
| 124 |
|
$instance['add_location_filter'] = '0'; |
| 125 |
|
|
| 126 |
|
return $instance; |
| 127 |
|
} |