Changeset 2356176
- Timestamp:
- 08/10/2020 01:22:54 PM (5 years ago)
- Location:
- site-search-360/trunk
- Files:
-
- 4 edited
-
class-sitesearch360-plugin.php (modified) (2 diffs)
-
class-sitesearch360-tracker.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
sitesearch360.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
site-search-360/trunk/class-sitesearch360-plugin.php
r2347842 r2356176 74 74 75 75 public function searchbox_shortcode($attrs) { 76 $a = shortcode_atts(array('style' => ''), $attrs); 77 return '<input class="ss360-searchbox" type="search" style="'.$a['style'].'"'.($this->getType()!='full'?' name="s"':'').'>'; 76 $keys = ['include', 'exclude', 'include-suggest', 'exclude-suggest']; 77 $a = shortcode_atts(array('style' => '', 'include' => NULL, 'exclude' => NULL, 'include-suggest' => NULL, 'exclude-suggest' => NULL), $attrs); 78 79 $dataStr = ''; 80 foreach($keys as $key) { 81 if (isset($a[$key]) && $a[$key] !== NULL) { 82 $dataStr = $dataStr . ' data-ss360-' . $key . '="[' . $a[$key] . ']"'; 83 } 84 } 85 86 return '<input class="ss360-searchbox" type="search" style="'.$a['style'].'"'.($this->getType()!='full'?' name="s"':'').$dataStr.'>'; 78 87 } 79 88 … … 642 651 } 643 652 ?> 644 <!-- Site Search 360 WP v<?php $ss360_v = defined('SITESEARCH360_VERSION') ? SITESEARCH360_VERSION : '1.1.1 6'; echo $ss360_v; ?> -->653 <!-- Site Search 360 WP v<?php $ss360_v = defined('SITESEARCH360_VERSION') ? SITESEARCH360_VERSION : '1.1.17'; echo $ss360_v; ?> --> 645 654 <script type="text/javascript"> 646 655 var ss360Config = <?php echo json_encode($configuration); ?>; -
site-search-360/trunk/class-sitesearch360-tracker.php
r2347842 r2356176 83 83 } 84 84 85 $data['version'] = defined('SITESEARCH360_VERSION') ? SITESEARCH360_VERSION : '1.1.1 6';85 $data['version'] = defined('SITESEARCH360_VERSION') ? SITESEARCH360_VERSION : '1.1.17'; 86 86 87 87 $args = array( -
site-search-360/trunk/readme.txt
r2347842 r2356176 6 6 Requires at least: 4.0.0 7 7 Tested up to: 5.4.2 8 Stable tag: 1.1.1 68 Stable tag: 1.1.17 9 9 Requires PHP: 5.2.4 10 10 License: GPLv2 … … 78 78 79 79 == Changelog == 80 = 1.1.17 = 81 * Include/exclude content groups attribute for shortcodes. 82 80 83 = 1.1.16 = 81 84 * Indexing fix. -
site-search-360/trunk/sitesearch360.php
r2347842 r2356176 6 6 Description: Site Search 360 enhances and improves your standard WordPress search with search suggests, autocompletion, semantic search, and a whole lot of customization. Also, you'll be amazed of how much faster you get relevant search results. 7 7 Author: SEMKNOX GmbH 8 Version: 1.1.1 68 Version: 1.1.17 9 9 Author URI: https://sitesearch360.com 10 10 Text Domain: site-search-360 … … 12 12 */ 13 13 14 define( 'SITESEARCH360_VERSION', '1.1.1 6' );14 define( 'SITESEARCH360_VERSION', '1.1.17' ); 15 15 16 16 require_once 'class-sitesearch360-widget.php';
Note: See TracChangeset
for help on using the changeset viewer.