Changeset 2917568
- Timestamp:
- 05/26/2023 05:45:12 AM (3 years ago)
- Location:
- unlimited-elements-for-elementor/trunk
- Files:
-
- 9 edited
-
assets_libraries/filters/ue_filters.js (modified) (1 diff)
-
assets_libraries/remote/ue-remote-controls.js (modified) (1 diff)
-
inc_php/framework/instagram/instagram_api_official.class.php (modified) (6 diffs)
-
inc_php/unitecreator_operations.class.php (modified) (2 diffs)
-
inc_php/unitecreator_params_processor.class.php (modified) (1 diff)
-
includes.php (modified) (1 diff)
-
provider/provider_operations.class.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
release_log.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
unlimited-elements-for-elementor/trunk/assets_libraries/filters/ue_filters.js
r2916208 r2917568 3162 3162 } 3163 3163 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 3164 3190 3165 3191 /** -
unlimited-elements-for-elementor/trunk/assets_libraries/remote/ue-remote-controls.js
r2916324 r2917568 1714 1714 objElement.on("click",function(){ 1715 1715 1716 var objElement = jQuery(this); 1717 1718 if(objElement.hasClass("uc-disabled")) 1719 return(true); 1720 1716 1721 t.doAction(action); 1717 1722 -
unlimited-elements-for-elementor/trunk/inc_php/framework/instagram/instagram_api_official.class.php
r2896157 r2917568 9 9 10 10 class InstagramAPIOfficialUC{ 11 11 12 12 const URL_REFRESH = "https://graph.instagram.com/refresh_access_token"; 13 13 const URL_AUTHORIZE = "https://api.instagram.com/oauth/authorize"; … … 292 292 private function requestMedia(){ 293 293 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}"; 296 295 297 296 $data = array(); … … 299 298 300 299 $urlNext = $this->getUrlRequest("media", $fields); 301 300 302 301 $arrDataCombined = array(); 303 302 304 303 $maxRequest = 3; 305 304 306 do{ 307 305 do{ 308 306 $response = $this->requestForData($urlNext); 309 307 310 308 $data = UniteFunctionsUC::getVal($response, "data"); 311 309 if(empty($data)) … … 365 363 366 364 $arrUserData = $this->requestUser(); 367 365 368 366 $arrItemsData = $this->requestMedia(); 369 367 … … 435 433 */ 436 434 public function getItemsData($mixed, $lastID=null, $userID = null, $maxItems = null){ 435 437 436 438 437 $type = ""; … … 455 454 switch($type){ 456 455 case "user": 456 457 457 //$objItems = $this->getUserData($mixed, $lastID, $userID); 458 458 $objItems = $this->getUserData_new($mixed, $lastID, $userID); -
unlimited-elements-for-elementor/trunk/inc_php/unitecreator_operations.class.php
r2879337 r2917568 1175 1175 if(isset($query->found_posts)) 1176 1176 $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 1178 1191 $output = array(); 1179 1192 $output["count_posts"] = $numPosts; … … 1182 1195 $output["num_pages"] = $totalPages; 1183 1196 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 1184 1208 return($output); 1185 1209 } -
unlimited-elements-for-elementor/trunk/inc_php/unitecreator_params_processor.class.php
r2916324 r2917568 146 146 case "ue_sort_filter": 147 147 148 $options = UniteFunctionsWPUC::getArrSortBy(true, true); 148 $optionsSortBy = UniteFunctionsWPUC::getArrSortBy(true, true); 149 150 $options = array_merge($options,$optionsSortBy); 149 151 150 152 break; -
unlimited-elements-for-elementor/trunk/includes.php
r2916324 r2917568 13 13 14 14 if(!defined("UNLIMITED_ELEMENTS_VERSION")) 15 define("UNLIMITED_ELEMENTS_VERSION", "1.5.6 4");15 define("UNLIMITED_ELEMENTS_VERSION", "1.5.65"); 16 16 17 17 $currentFile = __FILE__; -
unlimited-elements-for-elementor/trunk/provider/provider_operations.class.php
r2865693 r2917568 229 229 $whereRegular = $where." and post_title like '%$search%'"; 230 230 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 "; 234 234 235 235 if($isStartWord == true){ … … 246 246 $response = $db->fetchSql($sql); 247 247 } 248 248 249 249 250 if(empty($response)) -
unlimited-elements-for-elementor/trunk/readme.txt
r2916324 r2917568 1240 1240 1241 1241 1242 version 1.5.65: 2023-05-26: 1243 1244 * Fix: fixed instagram api related bugs 1245 1246 1242 1247 version 1.5.64 2023-05-23: 1243 1248 … … 1270 1275 * Feature: did option to disable third party hooks in ajax 1271 1276 * 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) 1273 1278 * Change: updated freemius sdk to 2.5.7 version. 1274 1279 -
unlimited-elements-for-elementor/trunk/release_log.txt
r2916324 r2917568 1 2 3 version 1.5.65: 4 5 -bug fix: fixed instagram api related bugs 1 6 2 7 … … 5 10 -change: update freemius to latest version 2.5.8 6 11 -bug fix: fixed a small php bug 12 -feature: added order in post search 7 13 8 14 … … 35 41 -feature: did option to disable third party hooks in ajax 36 42 -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) 38 44 39 45
Note: See TracChangeset
for help on using the changeset viewer.