Plugin Directory

Changeset 3035870


Ignore:
Timestamp:
02/14/2024 07:38:26 PM (2 years ago)
Author:
realtyna
Message:

fix sort issue in info window

Location:
real-estate-listing-realtyna-wpl/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • real-estate-listing-realtyna-wpl/trunk/WPL.php

    r3035252 r3035870  
    55 * Description: WPL is a professional WordPress real estate plugin created by Realtyna.
    66 * Author: Realtyna
    7  * Version: 4.14.3
     7 * Version: 4.14.4
    88 * Text Domain: real-estate-listing-realtyna-wpl
    99 * Domain Path: /languages
     
    2828 */
    2929define('WPL_TEXTDOMAIN', 'real-estate-listing-realtyna-wpl');
    30 define('WPL_VERSION', '4.14.3'); // WPL Version
     30define('WPL_VERSION', '4.14.4'); // WPL Version
    3131
    3232require WPL_ABSPATH.'config.php';
  • real-estate-listing-realtyna-wpl/trunk/readme.txt

    r3035277 r3035870  
    55Requires at least: 4.7.0
    66Tested up to: 6.4.1
    7 Stable tag: 4.14.3
     7Stable tag: 4.14.4
    88Requires PHP: 7.4
    9 Version: 4.14.3
     9Version: 4.14.4
    1010License: GPL-2.0-or-later
    1111License URI: https://www.gnu.org/licenses/license-list.html#GPLv2
  • real-estate-listing-realtyna-wpl/trunk/views/basics/functions/wpl_ajax.php

    r3035252 r3035870  
    4343
    4444        $plisting_fields = $wpl_property->get_plisting_fields('', $kind);
    45         $wpl_property->start(0, count($ex_pids), '', '', ["sf_multiple_id" => $property_ids]);
     45        $wpl_property->start(0, count($ex_pids), wpl_settings::get('default_orderby'), wpl_settings::get('default_order'), ["sf_multiple_id" => $property_ids]);
    4646        $wpl_property->query();
    4747        $properties = $wpl_property->search();
  • real-estate-listing-realtyna-wpl/trunk/widgets/carousel/main.php

    r3035252 r3035870  
    9292        echo isset($args['before_widget']) ? $args['before_widget'] : '';
    9393
    94         // Apply Filters
    95         @extract(wpl_filters::apply('property_listing_after_render', array('wpl_properties'=>$wpl_properties)));
     94        $wpl_properties = apply_filters('property_listing_after_render', $wpl_properties);
    9695
    9796        $title = apply_filters('widget_title', $instance['title']);
     
    351350        }
    352351
    353         // Apply Filters
    354         @extract(wpl_filters::apply('carousel_where', array('where'=>$where, 'widget_id'=>$this->widget_id, 'instance'=>$instance)));
     352        $where = apply_filters('carousel_where', $where, $this->widget_id, $instance);
    355353       
    356354        if( trim($data['random'] ?? '') and trim($data['listing_ids'] ?? '') == '')
Note: See TracChangeset for help on using the changeset viewer.