Plugin Directory

Changeset 2123605


Ignore:
Timestamp:
07/16/2019 05:17:00 AM (7 years ago)
Author:
Jayce53
Message:

Version 1.1.1701

Location:
easyindex/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • easyindex/trunk/easyindex.php

    r2119785 r2123605  
    55Description: WordPress indexes made easy.
    66Author: Jayce53
    7 Version: 1.1.1699
     7Version: 1.1.1701
    88Author URI: https://easyindexplugin.com
    99License: GPLv2 or later
  • easyindex/trunk/lib/EasyIndex.php

    r2119785 r2123605  
    8080         * 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
    8181         */
    82         self::$pluginVersion   = "1.1.1699";
     82        self::$pluginVersion   = "1.1.1701";
    8383        self::$pluginName      = "easyindex/easyindex.php";
    8484        self::$EasyIndexDir = trailingslashit(WP_PLUGIN_DIR) . "easyindex";
  • easyindex/trunk/lib/EasyIndexDiagnostics.php

    r2119785 r2123605  
    3232
    3333    public $pluginName = 'easyindex';
    34     public $pluginVersion = '1.1.1699';
     34    public $pluginVersion = '1.1.1701';
    3535
    3636    public $pluginURL = '';
  • easyindex/trunk/lib/EasyIndexIndex.php

    r2119785 r2123605  
    10671067            $taxonomies = '0';
    10681068        }
     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         */
    10691073        if ($isGallery || !$isPrimary) {
    10701074            $q = "SELECT DISTINCT ID FROM $wpdb->posts JOIN $wpdb->term_relationships ON id = object_id ";
    10711075            $q .= "JOIN $wpdb->term_taxonomy ON $wpdb->term_taxonomy.term_taxonomy_id = $wpdb->term_relationships.term_taxonomy_id ";
    10721076            $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' ";
    10741078            $q .= $lastKey <> "-1" ? "AND $sortField '$lastKey' " : '';
    10751079            $q .= $orderBy != '' ? "ORDER BY $orderBy" : '';
     
    10811085            $q .= "JOIN $wpdb->term_taxonomy ON $wpdb->term_taxonomy.term_taxonomy_id = $wpdb->term_relationships.term_taxonomy_id ";
    10821086            $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' ";
    10841088            $q .= $lastKey <> "-1" ? "AND $sortField '$lastKey' " : '';
    10851089            $q .= $orderBy != '' ? "ORDER BY $orderBy" : '';
  • easyindex/trunk/lib/EasyIndexStyle.php

    r2119785 r2123605  
    223223     */
    224224    public function getCSSUrl() {
    225         return EasyIndex::$EasyIndexUrl . "/styles/$this->id/style.css?v=1.1.1699";
     225        return EasyIndex::$EasyIndexUrl . "/styles/$this->id/style.css?v=1.1.1701";
    226226    }
    227227
  • easyindex/trunk/lib/EasyIndexThumbnail.php

    r2092767 r2123605  
    296296                     * Do it this way so if we DO find an appropriate image we don't have to read it again
    297297                     * (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
    298300                     */
    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                        }
    306310                    }
    307311                }
  • easyindex/trunk/readme.txt

    r2119785 r2123605  
    55Requires at least: 3.9
    66Tested up to: 5.2.2
    7 Stable tag: 1.1.1699
     7Stable tag: 1.1.1701
    88
    99Wordpress indexes made easy! EasyIndex makes post indexes, recipe indexes, product indexes and more in just minutes. Easy to use, easy to customize.
     
    108108== Changelog ==
    109109
    110 = 1.1.1699 =
     110= 1.1.1701 =
     111Fix: Fix error from last update that caused non "post" type items from being indexed
     112Fix: Fix for crash when an empty image src was specified in microdata markup
     113
     114= 1.1 Build 1699 =
    111115Update: Tested with WordPress 5.2.2
    112116Update: Change to work with Revision Manager TMC plugin
Note: See TracChangeset for help on using the changeset viewer.