Plugin Directory

Changeset 2917568


Ignore:
Timestamp:
05/26/2023 05:45:12 AM (3 years ago)
Author:
valiano
Message:

updated to 1.5.64 version.

Location:
unlimited-elements-for-elementor/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • unlimited-elements-for-elementor/trunk/assets_libraries/filters/ue_filters.js

    r2916208 r2917568  
    31623162    }
    31633163   
     3164    /**
     3165     * get filter parent query data
     3166     */
     3167    this.getFilterGridQueryData = function(objFilter){
     3168       
     3169         var objGrid = objFilter.data("grid");
     3170         if(!objGrid)
     3171            return(null);
     3172         
     3173         var queryData = objGrid.attr("querydata");
     3174          if(!queryData)
     3175            return(null);
     3176     
     3177         var objData = jQuery.parseJSON(queryData);
     3178       
     3179        return(objData);
     3180    }
     3181   
     3182    /**
     3183     * get value
     3184     */
     3185    this.getVal = function(obj, name, defaultValue){
     3186       
     3187        return getVal(obj, name, defaultValue);
     3188    }
     3189   
    31643190   
    31653191    /**
  • unlimited-elements-for-elementor/trunk/assets_libraries/remote/ue-remote-controls.js

    r2916324 r2917568  
    17141714        objElement.on("click",function(){
    17151715           
     1716            var objElement = jQuery(this);
     1717           
     1718            if(objElement.hasClass("uc-disabled"))
     1719                return(true);
     1720           
    17161721            t.doAction(action);
    17171722           
  • unlimited-elements-for-elementor/trunk/inc_php/framework/instagram/instagram_api_official.class.php

    r2896157 r2917568  
    99
    1010class InstagramAPIOfficialUC{
    11    
     11       
    1212    const URL_REFRESH = "https://graph.instagram.com/refresh_access_token";
    1313    const URL_AUTHORIZE = "https://api.instagram.com/oauth/authorize";
     
    292292    private function requestMedia(){
    293293       
    294         $fields = "media_url,thumbnail_url,caption,id,media_type,timestamp,username,comments_count,like_count,permalink,children{media_url,id,media_type,timestamp,permalink,thumbnail_url}";
    295         //$fields = "media_url,thumbnail_url,caption,media_type";
     294        $fields = "media_url,thumbnail_url,caption,id,media_type,timestamp,username,permalink,children{media_url,id,media_type,timestamp,permalink,thumbnail_url}";
    296295       
    297296        $data = array();
     
    299298       
    300299        $urlNext = $this->getUrlRequest("media", $fields);
    301        
     300               
    302301        $arrDataCombined = array();
    303302       
    304303        $maxRequest = 3;
    305304       
    306         do{
    307            
     305        do{         
    308306            $response = $this->requestForData($urlNext);
    309            
     307                       
    310308            $data = UniteFunctionsUC::getVal($response, "data");
    311309            if(empty($data))
     
    365363       
    366364        $arrUserData = $this->requestUser();
    367        
     365               
    368366        $arrItemsData = $this->requestMedia();
    369367               
     
    435433     */
    436434    public function getItemsData($mixed, $lastID=null, $userID = null, $maxItems = null){
     435       
    437436       
    438437        $type = "";
     
    455454            switch($type){
    456455                case "user":
     456                   
    457457                    //$objItems = $this->getUserData($mixed, $lastID, $userID);
    458458                    $objItems = $this->getUserData_new($mixed, $lastID, $userID);
  • unlimited-elements-for-elementor/trunk/inc_php/unitecreator_operations.class.php

    r2879337 r2917568  
    11751175            if(isset($query->found_posts))
    11761176                $totalPosts = $query->found_posts;
    1177                
     1177           
     1178            $arrQuery = $query->query;
     1179           
     1180            $postType = UniteFunctionsUC::getVal($arrQuery, "post_type");
     1181                       
     1182            $orderBy = UniteFunctionsUC::getVal($arrQuery, "orderby");
     1183            $orderDir = UniteFunctionsUC::getVal($arrQuery, "order");
     1184           
     1185            $orderBy = strtolower($orderBy);
     1186            $orderDir = strtolower($orderDir);
     1187           
     1188            if($orderBy == "id")
     1189                $orderBy = "ID";
     1190           
    11781191            $output = array();
    11791192            $output["count_posts"] = $numPosts;
     
    11821195            $output["num_pages"] = $totalPages;
    11831196           
     1197            if(!empty($orderBy)){
     1198                $output["orderby"] = $orderBy;
     1199            }
     1200           
     1201            if(!empty($orderDir))
     1202                $output["orderdir"] = $orderDir;
     1203
     1204            if($postType == "product")
     1205                $output["woo"] = true;
     1206           
     1207               
    11841208            return($output);
    11851209        }
  • unlimited-elements-for-elementor/trunk/inc_php/unitecreator_params_processor.class.php

    r2916324 r2917568  
    146146            case "ue_sort_filter":
    147147               
    148                 $options = UniteFunctionsWPUC::getArrSortBy(true, true);
     148                $optionsSortBy = UniteFunctionsWPUC::getArrSortBy(true, true);
     149               
     150                $options = array_merge($options,$optionsSortBy);
    149151               
    150152            break;
  • unlimited-elements-for-elementor/trunk/includes.php

    r2916324 r2917568  
    1313
    1414if(!defined("UNLIMITED_ELEMENTS_VERSION"))
    15     define("UNLIMITED_ELEMENTS_VERSION", "1.5.64");
     15    define("UNLIMITED_ELEMENTS_VERSION", "1.5.65");
    1616 
    1717$currentFile = __FILE__;
  • unlimited-elements-for-elementor/trunk/provider/provider_operations.class.php

    r2865693 r2917568  
    229229        $whereRegular = $where." and post_title like '%$search%'";
    230230       
    231         $sqlStartWord = "select * from $tablePosts where $whereStartWord limit $limit";
    232        
    233         $sql = "select * from $tablePosts where $whereRegular limit $limit";
     231        $sqlStartWord = "select * from $tablePosts where $whereStartWord order by post_date desc limit $limit";
     232       
     233        $sql = "select * from $tablePosts where $whereRegular order by post_date desc limit $limit ";
    234234       
    235235        if($isStartWord == true){
     
    246246            $response = $db->fetchSql($sql);
    247247        }
     248       
    248249       
    249250        if(empty($response))
  • unlimited-elements-for-elementor/trunk/readme.txt

    r2916324 r2917568  
    12401240
    12411241
     1242version 1.5.65: 2023-05-26:
     1243
     1244* Fix: fixed instagram api related bugs
     1245
     1246
    12421247version 1.5.64 2023-05-23:
    12431248
     
    12701275* Feature: did option to disable third party hooks in ajax
    12711276* Fix: click on link on sync didn't worked
    1272 * Fix: added some protections to nonce and to file manager zip exctract
     1277* Fix: added some protections to nonce and to file manager zip exctract (securaty issues fix)
    12731278* Change: updated freemius sdk to 2.5.7 version.
    12741279
  • unlimited-elements-for-elementor/trunk/release_log.txt

    r2916324 r2917568  
     1
     2
     3version 1.5.65:
     4
     5-bug fix: fixed instagram api related bugs
    16
    27
     
    510-change: update freemius to latest version 2.5.8
    611-bug fix: fixed a small php bug
     12-feature: added order in post search
    713
    814
     
    3541-feature: did option to disable third party hooks in ajax
    3642-bug fix: click on link on sync didn't worked
    37 -bug fix: added some protections to nonce and to file manager zip exctract
     43-bug fix: added some protections to nonce and to file manager zip exctract (securaty issues fix)
    3844
    3945
Note: See TracChangeset for help on using the changeset viewer.