Linux 软件免费装
Banner图

Zalomení

开发者 honza.skypala
vyskoczilova
更新时间 2026年9月26日 04:58
PHP版本: 7.0 及以上
WordPress版本: 7.1.2
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

space typography czech slovak

下载

1.2.4 1.0 1.2 1.2.1 1.4.1 1.4.5 1.4.7 1.5 2.0.0 2.0.1 2.1.0 1.2.2 1.1 1.2.3 1.3 1.4 1.4.2 1.4.3 1.4.4 1.4.6

详情介绍:

Zalomení is a WordPress plugin that automatically applies Czech typographic rules to post content, titles, comments, and widgets. It replaces ordinary spaces with non-breaking spaces wherever Czech typography forbids a line break, so editors don't have to type them by hand. Content built with Advanced Custom Fields is covered as well, including plain text and textarea fields that themes print on their own. Although Czech is the default, the plugin is structured around editable lists of prepositions, conjunctions, and abbreviations — so it can be adapted to Slovak (and other closely related languages) simply by adjusting those lists in the settings. Maintainer Zalomení is maintained by Karolína Vyskočilová, an independent WordPress developer based in Czechia, who took the plugin over in 2026 and ran a full security audit. The plugin was originally created by Honza Skýpala, whose work is gratefully acknowledged. What the plugin handles All options are configurable under Settings → Reading. The plugin exposes a zalomeni_filtry filter so developers can add or remove the WordPress hooks Zalomení applies to. For more information on Czech typographic rules, see the Institute of the Czech Language.

安装:

  1. Upload the plugin directory to wp-content/plugins/.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Configure options under Settings → Reading.

屏幕截图:

  • Example output

升级注意事项:

2.0.1 Fixes a stray non-breaking space in English possessives ("America's") and adds the missing one at paragraph starts. 2.0.0 Security release. All user inputs are now sanitized and escaped. Update immediately.

常见问题:

Is Zalomení actively maintained?

Yes. The plugin returned to active development in 2026 under maintainer Karolína Vyskočilová (vyskoczilova on WordPress.org). Issues and security fixes are addressed promptly.

Where do I report security bugs found in this plugin?

Please report security bugs found in the source code of the Zalomení plugin through the Patchstack Vulnerability Disclosure  Program. The Patchstack team will assist you with verification, CVE assignment, and notify the developers of this plugin.

What changed in 2.0?

2.0 i a huge security release by a new maintainer: all user inputs are sanitized, regex inputs are escaped, admin output is escaped, and the codebase is now covered by PHPUnit tests. Updating is recommended for anyone still on 1.x.

Does it work with the block editor (Gutenberg) and Classic Editor?

Yes. Zalomení runs on WordPress output filters (the_content, the_title, the_excerpt, etc.), so it works regardless of which editor produced the content.

Does it change the content stored in my database?

No. Zalomení hooks WordPress output filters, so it rewrites content on the way to the browser only. Your posts stay exactly as you wrote them, and deactivating the plugin removes every inserted non-breaking space.

Can I use it for Slovak?

Yes. The default lists of prepositions, conjunctions, and abbreviations are Czech, but they're fully editable under Settings → Reading. Replacing the Czech entries with Slovak ones gives you a working Slovak typography filter without any code changes.

Does it work with Advanced Custom Fields (ACF)?

Yes. Wysiwyg fields run through ACF's own acf_the_content filter instead of the_content, so the plugin hooks that one too. Text and textarea fields never pass through any content filter — the theme prints them itself — so the plugin hooks acf/format_value/type=text and acf/format_value/type=textarea. Themes usually escape those values with esc_html(), which would turn a   entity into visible text. For that reason text and textarea fields get the non-breaking space character (U+00A0) instead of the entity. It renders the same and survives escaping.

Which WordPress filters does the plugin apply to?

The plugin applies to these filters by default: comment_author, term_name, link_name, link_description, link_notes, bloginfo, wp_title, widget_title, term_description, the_title, the_content, the_excerpt, comment_text, single_post_title, list_cats, acf_the_content. Fields of Advanced Custom Fields are covered as well — see the ACF question below.

Can I disable the plugin for specific filters?

Yes. Use the zalomeni_filtry filter to remove or add filters: add_filter('zalomeni_filtry', 'remove_title_from_zalomeni'); function remove_title_from_zalomeni(array $filters) { unset($filters['the_title']); return $filters; } The ACF field filters have their own list, zalomeni_acf_filtry, which works the same way: add_filter('zalomeni_acf_filtry', 'remove_acf_textarea_from_zalomeni'); function remove_acf_textarea_from_zalomeni(array $filters) { unset($filters['acf/format_value/type=textarea']); return $filters; }

更新日志:

2.1.0 (2026-09-25) 2.0.1 (2026-08-14) 2.0.0 (2026-05-06) 1.5 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4 1.3 1.2.4 1.2.3 1.2.2 1.2.1 1.2 1.1 1.0