Orphans

Wordpress Plugin
Download latest - 3.1.0

Developers

iworks

Download Stats

Today 48
Yesterday 74
Last Week 438
All Time 70,679
Banner 772x250

Plugin fix orphans position and replace space after orphan to hard space, to avoid line break incorrect position.

Orphan - a text composition error, which consists in leaving a lonely short word at the end or at the beginning of a verse, especially a single-character one. The word "lonely" here means separation from a closely related word by line breaks.

Asset image

Manuscript by Muffet, on Flickr


Releases (44 )

Version Release Date Change Log
3.1.0 2022-12-14
  • 2022-11-30=

  • Changed simple replacement by DOMDocument parsing & replacing only on string.

3.0.4 2022-11-20
  • 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.
3.0.3 2022-09-02
  • 2022-09-02 =
  • Handle ACF integration if it is network activated plugin. Props for maczek6000.
  • Changed iWorks Rate Module repository to GitHub.
  • Updated iWorks Rate to 2.1.1.
3.0.2 2022-08-06
  • 2022-08-06 =
  • Added integration with "WPBakery Page Builder" on vc_shortcode_output filter.
3.0.1 2022-07-18
  • 2022-07-18 =
  • Added tag attributes replacement protection. Props for krzyc.
3.0.0 2022-04-21
  • 2022-04-21 =
  • Added Transients API to avoid multiple read from terms.txt file.
  • Removed unused method add_help_tab().
2.9.11 2022-04-05
  • 2022-04-05 =
  • Updated iWorks Options to 2.8.3. Fixed compatible with php 7.x.
2.9.10 2022-04-05
  • 2022-04-05 =
  • Updated iWorks Options to 2.8.3.
  • Updated iWorks Rate to 2.1.0.
2.9.9 2022-03-29
  • 2022-03-29 =
  • Fixed missing filter usage for priority. Props for Adam Romanowski.
2.9.8 2022-02-05
  • 2022-02-05 =
  • Improved checking is plugin "Advanced Custom Fields" - removed usage of class_exists function.
  • Moved load_plugin_textdomain() function to allow load i18n even plugin is not active.
2.9.7 2022-02-05
  • 2022-02-05 =
  • Improved checking is plugin "Advanced Custom Fields" to avoid multiple calling function class_exists. Props for Piotr.
  • Remove duplicates from "terms to replace" list and sort this list.
2.9.6 2022-02-03
  • 2022-02-03 =
  • Added check for missing second param in the_title filter. Props for Zbyszek Zalewski
2.9.5 2022-02-02
  • 2022-02-02 =
  • Fixed missing replacements before and after any tag. Props for gierand.
2.9.4 2022-02-02
  • 2022-02-02 =
  • Added ability to turn off replacements on menu title elements. New option is in "Miscellaneous" tab.
  • Added orphan_allowed_filters to add ability to change allowed filters.
  • Fixed issue with Font Awesome replacements. Props for lewleo999
  • Improved replacement process to avoid change HTML tags params.
2.9.3 2022-01-20
  • 2022-01-20 =
  • Removed doubled "Donate" link on plugin page.
  • Updated iWorks Options to 2.8.0.
2.9.2 2022-01-19
  • 2022-01-20 =
  • Updated iWorks Options to 2.7.3.
  • Updated iWorks Rate to 2.0.6.
2.9.1 2021-12-15
  • 2021-12-09 =
  • Added integration with "Advanced Custom Fields" for fields types: "text", "textarea", "WYSIWYG". Props for Kamil Lipiski for the tests.
2.9.0 2021-12-09
  • 2021-12-09 =
  • Added filter iworks_orphan_own_terms_file to add ability to change whole terms definition file.
  • Moved terms into etc/terms.txt.
  • Renamed file includes/iworks/orphan.php into includes/iworks/class-iworks-orphan.php.
  • Updated orphans list, based on Sierotka (typografia)
2.8.2 2021-12-03
  • 2021-12-03 =
  • Fixed problem with option "Keep numbers together" - it changed inline CSS too. Props for gierand.
2.8.1 2021-11-26
  • 2021-11-26 =
  • Added a widget blocks content to replacements.
  • Added filter iworks_orphan_terms (old one has a typo iworks_orphan_therms - but old one stays too).
  • Improved filtering defaults orphans - now it is filtered when we get it, not only on init.
2.8.0 2021-08-31
  • 2021-08-31 =
  • Fixed conflict with some plugins. Props for Adam Gruntkowski.
  • Updated iWorks Rate to 2.0.4.
  • Updated WordPress Options Class to version 2.7.1.
2.7.9 2021-06-23
  • 2021-06-23 =
  • Renamed directory vendor into includes.
  • Updated iWorks Rate to 2.0.1.
2.7.8 2021-01-13
  • 2021-01-13 =
  • Added orphan_replace filter to add ability to force replacements on any string.
  • Turned off content filters for admin area - it could mess with another plugins. Props for Zbyszek Zalewski.
2.7.7 2020-06-20
  • 2020-06-20 =
  • Added orphan_skip_replacement filter to force skip replacements. Check FAQ to know how to use it.
2.7.6 2020-06-08
  • 2020-06-08 =

  • Turned off replacements in feeds.

  • Turned off replacements in REST API.

2.7.5 2020-04-27
  • 2019-11-12 =

  • Fixed default values configuration.

  • Handled quotation mark before orphan.

  • Moved orphan's filters at the end of run, to try to avoid different plugins replacements.

  • Split replacement rules to avoid problem with regular expression is too large.

  • Updated WordPress Options Class to version 2.6.8

2.7.4 2018-03-16
  • 2018-03-16 =

  • Fixed problem with too greedy number replacement.

2.7.3 2018-03-15
  • 2018-03-15 =

  • Fixed problem with $post object. Props for adpawl

  • Fixed space after a number, but before a word. Props for M. Hawranek.

  • Fixed too early translation load, it causes sometimes missing translation.

  • Updated WordPress Options Class to version 2.6.5.

2.7.2 2018-02-13
  • 2018-02-13 =

  • Added html entities handling.

  • Added WooCommerce short description, which use they own filter.

  • Fixed problem with orphan directly after orphan.

  • Refactored input data.

  • Updated WordPress Options Class to version 2.6.4.

2.7.1 2017-11-23
  • 2017-09-08 =

  • Fixed a problem with array handling, when document contains scripts or styles.

2.7.0 2017-06-29
  • 2017-06-29 =

  • Added custom fields - now you can easily add custom field name to the configuration.

  • Added words: 'albo', 'bez', 'czy', 'lecz', 'nie', 'niech', 'przez', 'tak', 'tylko', 'wic' base on Sierotka

2.6.9 2017-05-24
  • 2017-05-24 =

  • Fixed a problem with class declaration. Props for gierand

2.6.8 2017-05-23
  • 2017-05-23 =

  • Use WordPress Options Class to handle new options screen.

  • Added a taxonomies title and description to replacements.

  • Added author description to replacements.

  • Fixed a problem with preg_replace() "Compilation failed: range out of order".

2.6.7 2017-05-09
  • 2017-05-09 =

  • Allow to apply replacement to all languages by using filter `iworks_orphan_apply_to_all_languages' set on true.

  • Fixed rate module.

2.6.6.1 2017-04-30
  • 2017-04-30 =

  • Fixed wrong regexp replacement.

2.6.6 2017-04-30
  • 2017-04-30 =

  • Avoid to replace "script" and "styles" content. Props for @m1nified

  • Added a widget title to replacements.

  • Added a widget text to replacements (it work only for the widget text).

2.6.5 2017-01-02
  • 2016-11-01 =

  • Rollback to 2.6.3, because 2.6.4 broke images.

2.6.4 2016-11-01
  • 2016-11-01 =

  • Added symbols, like FX-10, F-800, F-600-K3-Z. "-" is replaced by ‑ char. Props for Marcin

2.5 2016-10-25
  • 2015-11-06 =

  • IMPROVEMENT: added filter iworks_orphan_replace

2.6 2016-10-25
  • 2016-01-09 =

  • Change language domain from iworks_orphan to plugin name `sierotki' to be compatible with i18n WordPress rules.

  • Added activate plugin hook to change options autoload status.

  • Added deactivate plugin hook to change options autoload status.

  • Added filter iworks_orphans_capability, thx to Cezary Buliszak.

  • Added non-breakable space after numbers.

  • Added uninstall plugin hook.

  • Update screenshots.

2.6.1 2016-10-25
  • 2016-01-11 =

  • Fixed a problem with non-breakable space. Replace space after number to space between numbers.

2.6.2 2016-10-25
  • 2016-02-27 =

  • Fixed a problem with ignored option for numbers. Props for Kacper

  • Added check site or entry language to avoid replacing if language is other then Polish. It is one exception: numbers.

2.6.3 2016-10-25
  • 2016-10-25 =

  • Implement WP syntax rules for PHP files.

  • Added "Call for ratings" on settings page.

2.4 2016-10-25
  • 2015-02-12 =

  • IMPROVEMENT: add hard space between number (year) and polish year shortcut "r."

  • IMPROVEMENT: add WooCommerce product title and short description to available options. thx to Dominik Kawula