Changeset 3140919
- Timestamp:
- 08/24/2024 11:32:24 PM (19 months ago)
- Location:
- fulltext-search/trunk
- Files:
-
- 3 edited
-
fulltext-search.php (modified) (3 diffs)
-
includes/wpfts_core.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fulltext-search/trunk/fulltext-search.php
r3137131 r3140919 4 4 Plugin Name: WP Fast Total Search - The Power of Indexed Search 5 5 Description: Extends the default search with relevance, jet speed and ability to search any posts, metadata, taxonomy, shortcode content and any piece of the wordpress data. No external software/service required. 6 Version: 1.7 6.2546 Version: 1.77.256 7 7 Tested up to: 6.6.1 8 8 Author: Epsiloncool … … 38 38 * @copyright 2013-2024 39 39 * @license GPLv3 40 * @version 1.7 6.25440 * @version 1.77.256 41 41 * @package WP Fast Total Search 42 42 * @author Epsiloncool <info@e-wm.org> … … 57 57 */ 58 58 59 define('WPFTS_VERSION', '1.7 6.254');59 define('WPFTS_VERSION', '1.77.256'); 60 60 61 61 if (file_exists(dirname(__FILE__).'/extensions/index.php')) { -
fulltext-search/trunk/includes/wpfts_core.php
r3133341 r3140919 1333 1333 $matches = array(); 1334 1334 if (preg_match('/^(\d+)(.)$/', $memory_limit, $matches)) { 1335 if ($matches[2] == 'M') { 1335 $letter = strtoupper($matches[2]); 1336 if ($letter == 'G') { 1337 $memory_limit = $matches[1] * 1024 * 1024 * 1024; // nnnG -> nnn GB 1338 } elseif($letter == 'M') { 1336 1339 $memory_limit = $matches[1] * 1024 * 1024; // nnnM -> nnn MB 1337 } else if ($matches[2]== 'K') {1340 } elseif ($letter == 'K') { 1338 1341 $memory_limit = $matches[1] * 1024; // nnnK -> nnn KB 1339 1342 } 1340 1343 } 1341 1344 if (!is_numeric($memory_limit)) { 1345 $memory_limit = intval($memory_limit); 1346 } 1347 1342 1348 return $memory_limit; 1343 1349 } … … 1608 1614 } 1609 1615 if ($is_on) { 1610 if (isset($opts['node s'])) {1611 if (in_array('script', $opts['node s'])) {1616 if (isset($opts['node'])) { 1617 if (in_array('script', $opts['node'])) { 1612 1618 // Remove <script> with content 1613 1619 $s = preg_replace('/<script\b[^>]*>(.*?)<\/script>/is', "", $s); 1614 1620 } 1615 if (in_array('style', $opts['node s'])) {1621 if (in_array('style', $opts['node'])) { 1616 1622 // Remove <style> with content 1617 1623 $s = preg_replace('/<style\b[^>]*>(.*?)<\/style>/is', "", $s); -
fulltext-search/trunk/readme.txt
r3137131 r3140919 4 4 Requires at least: 5.0 5 5 Tested up to: 6.6.1 6 Stable tag: 1.7 6.2546 Stable tag: 1.77.256 7 7 License: GPLv3 8 8 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 91 91 92 92 == Changelog == 93 94 = 1.77.256 = 95 * Fixed a problem with memory_limit value conversion when it's given in Gigabytes (G). 96 * Fixed a problem with "style" and "script" tags removal from the indexing when the corresponding option is set. 93 97 94 98 = 1.76.254 =
Note: See TracChangeset
for help on using the changeset viewer.