Orphans - Version 2.9.6

Version Description

  • 2022-02-03 =
  • Added check for missing second param in the_title filter. Props for Zbyszek Zalewski
Download this release

Release Info

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

Code changes from version 2.9.5 to 2.9.6

includes/iworks/class-iworks-orphan.php CHANGED
@@ -180,7 +180,10 @@ class iworks_orphan {
180
  *
181
  * @since 2.9.4
182
  */
183
- public function replace_two( $content, $object_id ) {
 
 
 
184
  /**
185
  * Check for menu title
186
  *
180
  *
181
  * @since 2.9.4
182
  */
183
+ public function replace_two( $content, $object_id = null ) {
184
+ if ( empty( $object_id ) ) {
185
+ return $content;
186
+ }
187
  /**
188
  * Check for menu title
189
  *
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-02-02 16:54:03+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
@@ -192,64 +192,64 @@ msgstr ""
192
  msgid "WordPress Help Forum"
193
  msgstr ""
194
 
195
- #: includes/iworks/class-iworks-orphan.php:318
196
  msgid "Plugin fix some Polish gramary rules with orphans."
197
  msgstr ""
198
 
199
- #: includes/iworks/class-iworks-orphan.php:325
200
  msgid "For more information:"
201
  msgstr ""
202
 
203
- #: includes/iworks/class-iworks-orphan.php:326
204
  msgid ""
205
  "<a href=\"http://wordpress.org/extend/plugins/sierotki/\" "
206
  "target=\"_blank\">Plugin Homepage</a>"
207
  msgstr ""
208
 
209
- #: includes/iworks/class-iworks-orphan.php:327
210
  msgid ""
211
  "<a href=\"http://wordpress.org/support/plugin/sierotki/\" "
212
  "target=\"_blank\">Support Forums</a>"
213
  msgstr ""
214
 
215
- #: includes/iworks/class-iworks-orphan.php:328
216
  msgid "<a href=\"http://iworks.pl/en/\" target=\"_blank\">break the web</a>"
217
  msgstr ""
218
 
219
- #: includes/iworks/class-iworks-orphan.php:485
220
  #: includes/iworks/rate/rate.php:118
221
  msgid "Settings"
222
  msgstr ""
223
 
224
- #: includes/iworks/class-iworks-orphan.php:635
225
  msgid "Integrations"
226
  msgstr ""
227
 
228
- #: includes/iworks/class-iworks-orphan.php:651
229
  msgid "Advanced Custom Fields"
230
  msgstr ""
231
 
232
- #: includes/iworks/class-iworks-orphan.php:656
233
  msgid "Text"
234
  msgstr ""
235
 
236
- #: includes/iworks/class-iworks-orphan.php:657
237
  msgid "Enabled the substitution of orphans in text fields."
238
  msgstr ""
239
 
240
- #: includes/iworks/class-iworks-orphan.php:665
241
  msgid "Textarea"
242
  msgstr ""
243
 
244
- #: includes/iworks/class-iworks-orphan.php:666
245
  msgid "Enabled the substitution of orphans in textarea fields. (Include WYSIWYG)."
246
  msgstr ""
247
 
248
- #: includes/iworks/class-iworks-orphan.php:674
249
  msgid "WYSIWYG"
250
  msgstr ""
251
 
252
- #: includes/iworks/class-iworks-orphan.php:675
253
  msgid "Enabled the substitution of orphans in WYSIWYG fields."
254
  msgstr ""
255
 
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-02-03 11:17:18+00:00\n"
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=utf-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
192
  msgid "WordPress Help Forum"
193
  msgstr ""
194
 
195
+ #: includes/iworks/class-iworks-orphan.php:321
196
  msgid "Plugin fix some Polish gramary rules with orphans."
197
  msgstr ""
198
 
199
+ #: includes/iworks/class-iworks-orphan.php:328
200
  msgid "For more information:"
201
  msgstr ""
202
 
203
+ #: includes/iworks/class-iworks-orphan.php:329
204
  msgid ""
205
  "<a href=\"http://wordpress.org/extend/plugins/sierotki/\" "
206
  "target=\"_blank\">Plugin Homepage</a>"
207
  msgstr ""
208
 
209
+ #: includes/iworks/class-iworks-orphan.php:330
210
  msgid ""
211
  "<a href=\"http://wordpress.org/support/plugin/sierotki/\" "
212
  "target=\"_blank\">Support Forums</a>"
213
  msgstr ""
214
 
215
+ #: includes/iworks/class-iworks-orphan.php:331
216
  msgid "<a href=\"http://iworks.pl/en/\" target=\"_blank\">break the web</a>"
217
  msgstr ""
218
 
219
+ #: includes/iworks/class-iworks-orphan.php:488
220
  #: includes/iworks/rate/rate.php:118
221
  msgid "Settings"
222
  msgstr ""
223
 
224
+ #: includes/iworks/class-iworks-orphan.php:638
225
  msgid "Integrations"
226
  msgstr ""
227
 
228
+ #: includes/iworks/class-iworks-orphan.php:654
229
  msgid "Advanced Custom Fields"
230
  msgstr ""
231
 
232
+ #: includes/iworks/class-iworks-orphan.php:659
233
  msgid "Text"
234
  msgstr ""
235
 
236
+ #: includes/iworks/class-iworks-orphan.php:660
237
  msgid "Enabled the substitution of orphans in text fields."
238
  msgstr ""
239
 
240
+ #: includes/iworks/class-iworks-orphan.php:668
241
  msgid "Textarea"
242
  msgstr ""
243
 
244
+ #: includes/iworks/class-iworks-orphan.php:669
245
  msgid "Enabled the substitution of orphans in textarea fields. (Include WYSIWYG)."
246
  msgstr ""
247
 
248
+ #: includes/iworks/class-iworks-orphan.php:677
249
  msgid "WYSIWYG"
250
  msgstr ""
251
 
252
+ #: includes/iworks/class-iworks-orphan.php:678
253
  msgid "Enabled the substitution of orphans in WYSIWYG fields."
254
  msgstr ""
255
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://ko-fi.com/iworks?utm_source=sierotki&utm_medium=readme-dona
4
  Tags: sierotka, sierotki, spójniki, twarda spacja
5
  Requires at least: 4.6
6
  Tested up to: 5.9
7
- Stable tag: 2.9.5
8
 
9
 
10
 
@@ -128,6 +128,9 @@ function remove_iworks_orphan_terms( $terms ) {
128
 
129
  == Changelog ==
130
 
 
 
 
131
  = 2.9.5 - 2022-02-02 =
132
  * Fixed missing replacements before and after any tag. Props for [gierand](https://wordpress.org/support/users/gierand/).
133
 
4
  Tags: sierotka, sierotki, spójniki, twarda spacja
5
  Requires at least: 4.6
6
  Tested up to: 5.9
7
+ Stable tag: 2.9.6
8
 
9
 
10
 
128
 
129
  == Changelog ==
130
 
131
+ = 2.9.6 - 2022-02-03 =
132
+ * Added check for missing second param in `the_title` filter. Props for [Zbyszek Zalewski](https://www.facebook.com/zbyszek.zalewski)
133
+
134
  = 2.9.5 - 2022-02-02 =
135
  * Fixed missing replacements before and after any tag. Props for [gierand](https://wordpress.org/support/users/gierand/).
136
 
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.9.5
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.9.6
9
  Author URI: http://iworks.pl/
10
  */
11