Changeset 2558083
- Timestamp:
- 07/03/2021 10:11:19 AM (5 years ago)
- Location:
- chilisearch
- Files:
-
- 21 added
- 3 edited
-
tags/2.0.7 (added)
-
tags/2.0.7/README.md (added)
-
tags/2.0.7/chilisearch.php (added)
-
tags/2.0.7/icon.png (added)
-
tags/2.0.7/languages (added)
-
tags/2.0.7/languages/chilisearch-fa_IR.mo (added)
-
tags/2.0.7/languages/chilisearch-fa_IR.po (added)
-
tags/2.0.7/languages/chilisearch.pot (added)
-
tags/2.0.7/readme.txt (added)
-
tags/2.0.7/templates (added)
-
tags/2.0.7/templates/admin_choose_plan.php (added)
-
tags/2.0.7/templates/admin_get_started_register.php (added)
-
tags/2.0.7/templates/admin_tab_analytics.php (added)
-
tags/2.0.7/templates/admin_tab_demo.php (added)
-
tags/2.0.7/templates/admin_tab_indexing.php (added)
-
tags/2.0.7/templates/admin_tab_settings.php (added)
-
tags/2.0.7/templates/admin_tab_wts.php (added)
-
tags/2.0.7/templates/client_default_search_page.php (added)
-
tags/2.0.7/widgets (added)
-
tags/2.0.7/widgets/class-widget-elementor-search.php (added)
-
tags/2.0.7/widgets/class-widget-search.php (added)
-
trunk/README.md (modified) (1 diff)
-
trunk/chilisearch.php (modified) (5 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
chilisearch/trunk/README.md
r2540429 r2558083 88 88 ## Changelog 89 89 90 ### 2.0.7 91 * bug fix 92 90 93 ### 2.0.6 91 94 * add friend referral gift-code -
chilisearch/trunk/chilisearch.php
r2540429 r2558083 13 13 * Plugin URI: https://chilisearch.com 14 14 * Description: Power up discovery of Posts, Pages, Media, WooCommerce and bbPress using our AI-Powered Search Engine. 15 * Version: 2.0. 615 * Version: 2.0.7 16 16 * Author: ChiliSearch 17 17 * Author URI: https://chilisearch.com/ … … 38 38 } 39 39 40 define( 'CHILISEARCH_VERSION', '2.0. 6' );40 define( 'CHILISEARCH_VERSION', '2.0.7' ); 41 41 define( 'CHILISEARCH_DIR', __DIR__ ); 42 42 define( 'CHILISEARCH_PHP_MINIMUM', '5.6.0' ); … … 673 673 'publishedAt' => ! empty( $post->post_date_gmt ) ? $post->post_date_gmt : null, 674 674 ]; 675 if ( empty( $document['title'] ) ) { 676 return false; 677 } 675 678 switch ( $post->post_type ) { 676 679 case self::WP_POST_TYPE_PRODUCT: … … 969 972 return true; 970 973 } 974 $siteInfo = $this->get_website_info(); 975 $documentCount = isset( $siteInfo['documentsCount'] ) ? (int) $siteInfo['documentsCount'] : null; 976 $documentCountLimit = isset( $siteInfo['documentCountLimit'] ) ? (int) $siteInfo['documentCountLimit'] : null; 977 if ( isset( $documentCount, $documentCountLimit ) && $documentCount >= $documentCountLimit ) { 978 return true; 979 } 971 980 try { 972 981 if ( $post->post_status === 'publish' ) { … … 1002 1011 'wordType' => $this->settings['search_word_type'], 1003 1012 'currency' => '', 1004 'sortBy' => $this->get_current_plan() === 'premium'? self::SORT_BYS[ $this->settings['sort_by'] ] : self::SORT_BYS[ self::SORT_BY_RELEVANCY ],1013 'sortBy' => $this->get_current_plan() === 'premium' && !empty($this->settings['sort_by']) && array_key_exists( $this->settings['sort_by'], self::SORT_BYS ) ? self::SORT_BYS[ $this->settings['sort_by'] ] : self::SORT_BYS[ self::SORT_BY_RELEVANCY ], 1005 1014 'displayInResult' => [ 1006 1015 'thumbnail' => (bool) $this->settings['display_result_image'], -
chilisearch/trunk/readme.txt
r2540429 r2558083 7 7 Tested up to: 5.7.1 8 8 Requires PHP: 5.6 9 Stable tag: 2.0. 69 Stable tag: 2.0.7 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 102 102 == Upgrade Notice == 103 103 104 = 2.0.7 = 105 * Upgrade for latest changes 106 104 107 = 2.0.6 = 105 108 * Upgrade for latest changes … … 144 147 145 148 == Changelog == 149 150 = 2.0.7 = 151 * bug fix 146 152 147 153 = 2.0.6 =
Note: See TracChangeset
for help on using the changeset viewer.