Changeset 2123605
- Timestamp:
- 07/16/2019 05:17:00 AM (7 years ago)
- Location:
- easyindex/trunk
- Files:
-
- 7 edited
-
easyindex.php (modified) (1 diff)
-
lib/EasyIndex.php (modified) (1 diff)
-
lib/EasyIndexDiagnostics.php (modified) (1 diff)
-
lib/EasyIndexIndex.php (modified) (2 diffs)
-
lib/EasyIndexStyle.php (modified) (1 diff)
-
lib/EasyIndexThumbnail.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easyindex/trunk/easyindex.php
r2119785 r2123605 5 5 Description: WordPress indexes made easy. 6 6 Author: Jayce53 7 Version: 1.1.1 6997 Version: 1.1.1701 8 8 Author URI: https://easyindexplugin.com 9 9 License: GPLv2 or later -
easyindex/trunk/lib/EasyIndex.php
r2119785 r2123605 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.1 699";82 self::$pluginVersion = "1.1.1701"; 83 83 self::$pluginName = "easyindex/easyindex.php"; 84 84 self::$EasyIndexDir = trailingslashit(WP_PLUGIN_DIR) . "easyindex"; -
easyindex/trunk/lib/EasyIndexDiagnostics.php
r2119785 r2123605 32 32 33 33 public $pluginName = 'easyindex'; 34 public $pluginVersion = '1.1.1 699';34 public $pluginVersion = '1.1.1701'; 35 35 36 36 public $pluginURL = ''; -
easyindex/trunk/lib/EasyIndexIndex.php
r2119785 r2123605 1067 1067 $taxonomies = '0'; 1068 1068 } 1069 /** 1070 * It's possible for the Revision Manager TMC plugin to create "revision" post types that are published 1071 * We need to exlude them else we get what appears to be duplicate items 1072 */ 1069 1073 if ($isGallery || !$isPrimary) { 1070 1074 $q = "SELECT DISTINCT ID FROM $wpdb->posts JOIN $wpdb->term_relationships ON id = object_id "; 1071 1075 $q .= "JOIN $wpdb->term_taxonomy ON $wpdb->term_taxonomy.term_taxonomy_id = $wpdb->term_relationships.term_taxonomy_id "; 1072 1076 $q .= "WHERE $wpdb->term_taxonomy.term_taxonomy_id IN ($taxonomies) AND post_status = 'publish' AND taxonomy = '$indexTaxonomy' "; 1073 $q .= "AND post_type = 'post' ";1077 $q .= "AND post_type <> 'revision' "; 1074 1078 $q .= $lastKey <> "-1" ? "AND $sortField '$lastKey' " : ''; 1075 1079 $q .= $orderBy != '' ? "ORDER BY $orderBy" : ''; … … 1081 1085 $q .= "JOIN $wpdb->term_taxonomy ON $wpdb->term_taxonomy.term_taxonomy_id = $wpdb->term_relationships.term_taxonomy_id "; 1082 1086 $q .= "WHERE $wpdb->term_taxonomy.term_taxonomy_id IN ($taxonomies) AND post_status = 'publish' AND taxonomy = '$indexTaxonomy' "; 1083 $q .= "AND post_type = 'post' ";1087 $q .= "AND post_type <> 'revision' "; 1084 1088 $q .= $lastKey <> "-1" ? "AND $sortField '$lastKey' " : ''; 1085 1089 $q .= $orderBy != '' ? "ORDER BY $orderBy" : ''; -
easyindex/trunk/lib/EasyIndexStyle.php
r2119785 r2123605 223 223 */ 224 224 public function getCSSUrl() { 225 return EasyIndex::$EasyIndexUrl . "/styles/$this->id/style.css?v=1.1.1 699";225 return EasyIndex::$EasyIndexUrl . "/styles/$this->id/style.css?v=1.1.1701"; 226 226 } 227 227 -
easyindex/trunk/lib/EasyIndexThumbnail.php
r2092767 r2123605 296 296 * Do it this way so if we DO find an appropriate image we don't have to read it again 297 297 * (can be very slow if it's a Url not on the site) 298 * 299 * Make sure $src isn't empty else getSourceHeight() will eventually recursively call findSource() and we'll crash 298 300 */ 299 $this->setSource($src); 300 if ($this->getSourceHeight() >= 150 && $this->getSourceWidth() >= 150) { 301 $isLoaded = true; 302 $source = $src; 303 break; 304 } else { 305 $this->clearSource(); 301 if (!empty($src)) { 302 $this->setSource($src); 303 if ($this->getSourceHeight() >= 150 && $this->getSourceWidth() >= 150) { 304 $isLoaded = true; 305 $source = $src; 306 break; 307 } else { 308 $this->clearSource(); 309 } 306 310 } 307 311 } -
easyindex/trunk/readme.txt
r2119785 r2123605 5 5 Requires at least: 3.9 6 6 Tested up to: 5.2.2 7 Stable tag: 1.1.1 6997 Stable tag: 1.1.1701 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.1699 = 110 = 1.1.1701 = 111 Fix: Fix error from last update that caused non "post" type items from being indexed 112 Fix: Fix for crash when an empty image src was specified in microdata markup 113 114 = 1.1 Build 1699 = 111 115 Update: Tested with WordPress 5.2.2 112 116 Update: Change to work with Revision Manager TMC plugin
Note: See TracChangeset
for help on using the changeset viewer.