Orphans - Version 3.0.4

Version Description

  • 2022-11-20 =
  • Handle space after year for short year format "r.". Props for Mastafu Design
  • Added integration with "Goodlayers Core" on gdlr_core_escape_content filter.
Download this release

Release Info

Developer iworks
Plugin Icon 128x128 Orphans
Version 3.0.4
Comparing to
See all releases

Code changes from version 3.0.3 to 3.0.4

includes/iworks/class-iworks-orphan.php CHANGED
@@ -48,7 +48,7 @@ class iworks_orphan {
48
  *
49
  * @since 3.0.0
50
  */
51
- private $version = '3.0.3';
52
 
53
  public function __construct() {
54
  /**
@@ -325,6 +325,12 @@ class iworks_orphan {
325
  $content = str_replace( $part, $to_change, $content );
326
  }
327
  }
 
 
 
 
 
 
328
  /**
329
  * return
330
  */
@@ -458,6 +464,13 @@ class iworks_orphan {
458
  * @since 3.0.2
459
  */
460
  add_filter( 'vc_shortcode_output', array( $this, 'replace' ) );
 
 
 
 
 
 
 
461
  }
462
 
463
  /**
48
  *
49
  * @since 3.0.0
50
  */
51
+ private $version = '3.0.4';
52
 
53
  public function __construct() {
54
  /**
325
  $content = str_replace( $part, $to_change, $content );
326
  }
327
  }
328
+ /**
329
+ * year short version
330
+ *
331
+ * @since 3.0.4
332
+ */
333
+ $content = preg_replace( '/(\d) r\./', '$1 r.', $content );
334
  /**
335
  * return
336
  */
464
  * @since 3.0.2
465
  */
466
  add_filter( 'vc_shortcode_output', array( $this, 'replace' ) );
467
+
468
+ /**
469
+ * Integrations: Goodlayers Core
470
+ *
471
+ * @since 3.0.4
472
+ */
473
+ add_filter( 'gdlr_core_escape_content', array( $this, 'replace' ) );
474
  }
475
 
476
  /**
languages/sierotki.pot CHANGED
@@ -4,7 +4,7 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Orphans PLUGIN_VERSION\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/sierotki-dev\n"
7
- "POT-Creation-Date: 2022-09-02 05:57:29+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -232,7 +232,7 @@ msgstr ""
232
  msgid "WordPress Help Forum"
233
  msgstr ""
234
 
235
- #: includes/iworks/class-iworks-orphan.php:484
236
  #: includes/iworks/rate/rate.php:124
237
  msgid "Settings"
238
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: Orphans PLUGIN_VERSION\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/sierotki-dev\n"
7
+ "POT-Creation-Date: 2022-11-20 19:14:56+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
232
  msgid "WordPress Help Forum"
233
  msgstr ""
234
 
235
+ #: includes/iworks/class-iworks-orphan.php:497
236
  #: includes/iworks/rate/rate.php:124
237
  msgid "Settings"
238
  msgstr ""
readme.txt CHANGED
@@ -3,10 +3,10 @@ Contributors: iworks
3
  Donate link: https://ko-fi.com/iworks?utm_source=sierotki&utm_medium=readme-donate
4
  Tags: sierotka, sierotki, spójniki, twarda spacja
5
  Requires at least: 4.6
6
- Tested up to: 6.0
7
- Stable tag: 3.0.3
 
8
 
9
- Plugin supports some of the grammatical rules of the Polish language.
10
 
11
  == Description ==
12
 
@@ -128,6 +128,10 @@ function remove_iworks_orphan_terms( $terms ) {
128
 
129
  == Changelog ==
130
 
 
 
 
 
131
  = 3.0.3 - 2022-09-02 =
132
  * Handle ACF integration if it is network activated plugin. Props for [maczek6000](https://profiles.wordpress.org/maczek6000/).
133
  * Changed iWorks Rate Module repository to GitHub.
3
  Donate link: https://ko-fi.com/iworks?utm_source=sierotki&utm_medium=readme-donate
4
  Tags: sierotka, sierotki, spójniki, twarda spacja
5
  Requires at least: 4.6
6
+ Tested up to: 6.1
7
+ Stable tag: 3.0.4
8
+
9
 
 
10
 
11
  == Description ==
12
 
128
 
129
  == Changelog ==
130
 
131
+ = 3.0.4 - 2022-11-20 =
132
+ * Handle space after year for short year format "r.". Props for [Mastafu Design](https://wordpress.org/support/users/mastafu/)
133
+ * Added integration with "Goodlayers Core" on `gdlr_core_escape_content` filter.
134
+
135
  = 3.0.3 - 2022-09-02 =
136
  * Handle ACF integration if it is network activated plugin. Props for [maczek6000](https://profiles.wordpress.org/maczek6000/).
137
  * Changed iWorks Rate Module repository to GitHub.
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: 3.0.3
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: 3.0.4
9
  Author URI: http://iworks.pl/
10
  */
11