Version Description
2017-04-30 =
Fixed wrong regexp replacement.
Download this release
Release Info
Developer | iworks |
Plugin | Orphans |
Version | 2.6.6.1 |
Comparing to | |
See all releases |
Code changes from version 2.6.6 to 2.6.6.1
- readme.txt +5 -1
- sierotki.php +1 -1
- vendor/iworks/orphan.php +1 -1
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://iworks.pl/donate/sierotki.php
|
|
4 |
Tags: sierotka, sierotki, spójniki, twarda spacja
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.7.4
|
7 |
-
Stable tag: 2.6.6
|
8 |
|
9 |
Plugin supports some of the grammatical rules of the Polish language.
|
10 |
|
@@ -96,6 +96,10 @@ function my_orphans_capability($capability)
|
|
96 |
|
97 |
== Changelog ==
|
98 |
|
|
|
|
|
|
|
|
|
99 |
= 2.6.6 - 2017-04-30 =
|
100 |
|
101 |
* Avoid to replace "script" and "styles" content. Props for @m1nified
|
4 |
Tags: sierotka, sierotki, spójniki, twarda spacja
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 4.7.4
|
7 |
+
Stable tag: 2.6.6.1
|
8 |
|
9 |
Plugin supports some of the grammatical rules of the Polish language.
|
10 |
|
96 |
|
97 |
== Changelog ==
|
98 |
|
99 |
+
= 2.6.6.1 - 2017-04-30 =
|
100 |
+
|
101 |
+
* Fixed wrong regexp replacement.
|
102 |
+
|
103 |
= 2.6.6 - 2017-04-30 =
|
104 |
|
105 |
* Avoid to replace "script" and "styles" content. Props for @m1nified
|
sierotki.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://iworks.pl/2011/02/16/sierotki/
|
|
5 |
Text Domain: sierotki
|
6 |
Description: Implement Polish grammar rules with orphans.
|
7 |
Author: Marcin Pietrzak
|
8 |
-
Version: 2.6.6
|
9 |
Author URI: http://iworks.pl/
|
10 |
*/
|
11 |
|
5 |
Text Domain: sierotki
|
6 |
Description: Implement Polish grammar rules with orphans.
|
7 |
Author: Marcin Pietrzak
|
8 |
+
Version: 2.6.6.1
|
9 |
Author URI: http://iworks.pl/
|
10 |
*/
|
11 |
|
vendor/iworks/orphan.php
CHANGED
@@ -271,7 +271,7 @@ class iworks_orphan
|
|
271 |
if ( ! empty( $exceptions ) ) {
|
272 |
foreach ( $exceptions as $key => $one ) {
|
273 |
$re = sprintf( '/%s/', $key );
|
274 |
-
$content = preg_replace( $
|
275 |
}
|
276 |
}
|
277 |
|
271 |
if ( ! empty( $exceptions ) ) {
|
272 |
foreach ( $exceptions as $key => $one ) {
|
273 |
$re = sprintf( '/%s/', $key );
|
274 |
+
$content = preg_replace( $re, $one, $content );
|
275 |
}
|
276 |
}
|
277 |
|