PluginProbe
Filter Everything — WordPress & WooCommerce Filters / 1.9.7
Filter Everything — WordPress & WooCommerce Filters v1.9.7
1.9.7 1.9.6 1.9.5 1.9.4 1.9.3 1.9.2.2 1.9.2.1 trunk 1.2.1 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 1.4.1 1.4.4 1.4.5 1.4.8 1.4.9 1.5.0 1.5.1 1.6.0 1.6.1 1.6.2 All 52 releases
← All changes | src/Admin/AdminHooks.php +1 -11 1.9.2.21.9.7 View file →
@@ -306,19 +306,9 @@
306 306 $link = '';
307 307 $html = '';
308 308
309 309 if ('where_filter' == $column_name) {
310 - $set_settings_fields = $fss->getSettingsLocationTypeFields($post_id);
311 -
312 - foreach ($set_settings_fields as $key => $attributes) {
313 - if ($attributes['id'] == $fss->generateFieldId('post_name')) {
314 - $current_index = isset($attributes['value']) ? $attributes['value'] : '';
315 - $options = !empty($attributes['options']) ? $attributes['options'] : [];
316 - if (isset($options[$current_index]['data-link'])) {
317 - $link = esc_attr($options[$current_index]['data-link']);
318 - }
319 - }
320 - }
310 + $link = flrt_filter_set_front_link($post_id);
321 311
322 312 if ($under_limit_filter_set) {
323 313 $post_type_field = $filterSet->getPostTypeField($post_id);
324 314 $post_type = !empty($post_type_field['post_type']['value']) ? $post_type_field['post_type']['value'] : '';