Plugin Directory

Changeset 1367528


Ignore:
Timestamp:
03/09/2016 12:03:26 PM (9 years ago)
Author:
modeewine
Message:

New version 2.2.1:
Fixed small bug in search strings-translation.

Location:
polylang-theme-strings
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • polylang-theme-strings/trunk/mw-polylang-theme-strings.php

    r1335406 r1367528  
    55    Plugin URI: http://modeewine.com/en-polylang-theme-strings
    66    Description: Automatic scanning of strings translation in the theme and registration of them in Polylang plugin.
    7     Version: 2.2
     7    Version: 2.2.1
    88    Author: Modeewine
    99    Author URI: http://modeewine.com
     
    159159                        foreach($files as $v)
    160160                        {
    161                             if (preg_match("/\/.*?\.(php|inc)$/uis", $v))
     161                            if (preg_match("/\/.*?\.[a-z0-9]+$/uis", $v))
    162162                            {
    163163                                preg_match_all("/\<\?.*?\?\>/uis", file_get_contents($v), $p);
     
    167167                                    foreach ($p[0] as $pv)
    168168                                    {
    169                                         preg_match_all("/pll_[_e][\s]*\([\s]*[\'\"](.*?)[\'\"][\s]*\)/uis", $pv, $m);
     169                                        preg_match_all("/pll_[_e][\s]*\([\s]*[\'\"](.*?)[\'\"].*?\)/uis", $pv, $m);
    170170
    171171                                        if (count($m[0]))
  • polylang-theme-strings/trunk/readme.txt

    r1335406 r1367528  
    55Requires at least: 3.8
    66Tested up to: 4.4
    7 Stable tag: 2.2
     7Stable tag: 2.2.1
    88License: GPL2
    99
    10 Extension for Polylang plugin
     10Automatic scanning and registration Polylang-strings that can be translated. Extension for Polylang plugin.
    1111
    1212== Description ==
     
    4848== Changelog ==
    4949
     50= 2.2.1 (2016-03-09) =
     51
     52* Fixed small bug in search strings-translation.
     53
    5054= 2.2 (2016-01-25) =
    5155
Note: See TracChangeset for help on using the changeset viewer.