Changeset 2119785
- Timestamp:
- 07/09/2019 01:12:18 AM (7 years ago)
- Location:
- easyindex/trunk
- Files:
-
- 6 edited
-
easyindex.php (modified) (1 diff)
-
lib/EasyIndex.php (modified) (1 diff)
-
lib/EasyIndexDiagnostics.php (modified) (2 diffs)
-
lib/EasyIndexIndex.php (modified) (4 diffs)
-
lib/EasyIndexStyle.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easyindex/trunk/easyindex.php
r2101370 r2119785 5 5 Description: WordPress indexes made easy. 6 6 Author: Jayce53 7 Version: 1.1.169 87 Version: 1.1.1699 8 8 Author URI: https://easyindexplugin.com 9 9 License: GPLv2 or later -
easyindex/trunk/lib/EasyIndex.php
r2101370 r2119785 80 80 * The standard WP functions for getting the plugin's dir name and URL won't work if we symlink the latest version into the plugin directory like our test suite does 81 81 */ 82 self::$pluginVersion = "1.1.169 8";82 self::$pluginVersion = "1.1.1699"; 83 83 self::$pluginName = "easyindex/easyindex.php"; 84 84 self::$EasyIndexDir = trailingslashit(WP_PLUGIN_DIR) . "easyindex"; -
easyindex/trunk/lib/EasyIndexDiagnostics.php
r2101370 r2119785 32 32 33 33 public $pluginName = 'easyindex'; 34 public $pluginVersion = '1.1.169 8';34 public $pluginVersion = '1.1.1699'; 35 35 36 36 public $pluginURL = ''; … … 330 330 if (isset($response['response']) && $response['response']['code'] == 200) { 331 331 /** 332 * Freshdesk support endpoints return json, earlier support enpoints return a status as a string 332 * Freshdesk support endpoints return json with ticket details, earlier support endpoints return a status as a string 333 * Earlier versions returned HTML to be displayed - the latest version returns the ticket URL and the user's email 333 334 */ 334 $ response= json_decode($response['body']);335 if (!$ response) {335 $decoded = json_decode($response['body']); 336 if (!$decoded) { 336 337 $result->status = $response['body']; 337 338 } else { 338 $result->status = $response->status; 339 $result->html = stripslashes($response->html); 340 if (!empty($response->result)) { 341 $result->result = stripslashes($response->result); 339 $result->status = $decoded->status; 340 if (!empty($decoded->html)) { 341 $result->html = stripslashes($decoded->html); 342 342 } 343 if (!empty($ response->error)) {344 $result-> result = stripslashes($response->error);343 if (!empty($decoded->tkUrl)) { 344 $result->tkUrl = stripslashes($decoded->tkUrl); 345 345 } 346 346 if (!empty($decoded->email)) { 347 $result->email = stripslashes($decoded->email); 348 } 349 if (!empty($decoded->result)) { 350 $result->result = stripslashes($decoded->result); 351 } 352 if (!empty($decoded->error)) { 353 $result->result = stripslashes($decoded->error); 354 } 347 355 } 348 356 -
easyindex/trunk/lib/EasyIndexIndex.php
r2094227 r2119785 142 142 } 143 143 } 144 wp_cache_add($cachekey, $html );144 wp_cache_add($cachekey, $html,"easyindex"); 145 145 return $html; 146 146 … … 762 762 $template = $indexStyle->getTemplate($tags); 763 763 $html = $template->replace($data); 764 wp_cache_add($cachekey, $html );764 wp_cache_add($cachekey, $html,"easyindex"); 765 765 766 766 return $html; … … 1071 1071 $q .= "JOIN $wpdb->term_taxonomy ON $wpdb->term_taxonomy.term_taxonomy_id = $wpdb->term_relationships.term_taxonomy_id "; 1072 1072 $q .= "WHERE $wpdb->term_taxonomy.term_taxonomy_id IN ($taxonomies) AND post_status = 'publish' AND taxonomy = '$indexTaxonomy' "; 1073 $q .= "AND post_type = 'post' "; 1073 1074 $q .= $lastKey <> "-1" ? "AND $sortField '$lastKey' " : ''; 1074 1075 $q .= $orderBy != '' ? "ORDER BY $orderBy" : ''; … … 1080 1081 $q .= "JOIN $wpdb->term_taxonomy ON $wpdb->term_taxonomy.term_taxonomy_id = $wpdb->term_relationships.term_taxonomy_id "; 1081 1082 $q .= "WHERE $wpdb->term_taxonomy.term_taxonomy_id IN ($taxonomies) AND post_status = 'publish' AND taxonomy = '$indexTaxonomy' "; 1083 $q .= "AND post_type = 'post' "; 1082 1084 $q .= $lastKey <> "-1" ? "AND $sortField '$lastKey' " : ''; 1083 1085 $q .= $orderBy != '' ? "ORDER BY $orderBy" : ''; -
easyindex/trunk/lib/EasyIndexStyle.php
r2101370 r2119785 223 223 */ 224 224 public function getCSSUrl() { 225 return EasyIndex::$EasyIndexUrl . "/styles/$this->id/style.css?v=1.1.169 8";225 return EasyIndex::$EasyIndexUrl . "/styles/$this->id/style.css?v=1.1.1699"; 226 226 } 227 227 -
easyindex/trunk/readme.txt
r2101370 r2119785 4 4 Tags: index, recipe index, product index, thumbnail gallery, post gallery, visual index, post index 5 5 Requires at least: 3.9 6 Tested up to: 5.2. 17 Stable tag: 1.1.169 86 Tested up to: 5.2.2 7 Stable tag: 1.1.1699 8 8 9 9 Wordpress indexes made easy! EasyIndex makes post indexes, recipe indexes, product indexes and more in just minutes. Easy to use, easy to customize. … … 108 108 == Changelog == 109 109 110 = 1.1.1698 = 110 = 1.1.1699 = 111 Update: Tested with WordPress 5.2.2 112 Update: Change to work with Revision Manager TMC plugin 113 Fix: Minor fix for index html caching 114 115 = 1.1 Build 1698 = 111 116 Update: Workarounds for PHP 7 compatibility issues incorrectly reported by PHP Code Sniffer "PHPCompatibility" checks 112 117
Note: See TracChangeset
for help on using the changeset viewer.