Changeset 1659486
- Timestamp:
- 05/17/2017 03:33:35 PM (9 years ago)
- Location:
- polylang-theme-strings
- Files:
-
- 10 added
- 2 edited
-
tags/3.4 (added)
-
tags/3.4/css (added)
-
tags/3.4/css/admin.css (added)
-
tags/3.4/css/index.php (added)
-
tags/3.4/index.php (added)
-
tags/3.4/js (added)
-
tags/3.4/js/admin.js (added)
-
tags/3.4/js/index.php (added)
-
tags/3.4/mw-polylang-theme-strings.php (added)
-
tags/3.4/readme.txt (added)
-
trunk/mw-polylang-theme-strings.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
polylang-theme-strings/trunk/mw-polylang-theme-strings.php
r1581815 r1659486 5 5 Plugin URI: http://modeewine.com/en-polylang-theme-strings 6 6 Description: Automatic scanning of strings translation in the theme and registration of them in Polylang plugin. Extension for Polylang plugin. 7 Version: 3. 3.27 Version: 3.4 8 8 Author: Modeewine 9 9 Author URI: http://modeewine.com … … 16 16 { 17 17 static $prefix = 'mw_polylang_strings_'; 18 static $plugin_version = '3. 3.2';18 static $plugin_version = '3.4'; 19 19 static $pll_f = 'pll_register_string'; 20 static $php_file_size_limit = 2097152; 20 21 private $paths; 21 22 private $var = array(); … … 212 213 $f = $dir . '/' . $item; 213 214 214 if (is_file($f) )215 if (is_file($f) && filesize($f) <= self::$php_file_size_limit) 215 216 { 216 217 $files[] = $f; … … 283 284 foreach ($p[0] as $pv) 284 285 { 285 preg_match_all("/pll_[_e][\s]*\([\s]*[\'\"](.*?)[\'\"][\s]* \)/uis", $pv, $m);286 preg_match_all("/pll_[_e][\s]*\([\s]*[\'\"](.*?)[\'\"][\s]*[\),]/uis", $pv, $m); 286 287 287 288 if (count($m[0])) -
polylang-theme-strings/trunk/readme.txt
r1581815 r1659486 5 5 Requires at least: 3.8 6 6 Tested up to: 4.7 7 Stable tag: 3. 3.27 Stable tag: 3.4 8 8 License: GPL2 9 9 … … 45 45 46 46 == Changelog == 47 48 = 3.4 (2017-05-17) = 49 50 * Fixed small bug in the search-engine of strings-translation. 51 * Added file size limit in the theme-files search-system. 47 52 48 53 = 3.3.2 (2017-01-25) =
Note: See TracChangeset
for help on using the changeset viewer.