Szlif polishes text when a page is displayed. It never changes content stored in the database, so switching it off restores everything.
- Non-breaking space after short words (i, w, z, o, u, a…), abbreviations (ul., nr, tel.), before units (10 zł, 5 km) and dashes.
- Polish quotation marks and apostrophes.
- Dates, phone numbers, thousands separators, legal references (art. 5, § 3), symbols (…, ×).
- CSS line breaking: text-wrap balance for headings and pretty for paragraphs.
- Cleanup of text pasted from ChatGPT/AI/Word: invisible characters, unusual spaces, source markers, Markdown leftovers, utm_source=chatgpt.com in links, long dash conversion.
- Double spaces and empty paragraphs (optional).
- Exceptions: CSS class, post IDs, post types, a per-post checkbox.
- On-page check for logged-in users (“Sprawdź stronę” in the admin bar): highlights spelling mistakes, double spaces, empty paragraphs and AI characters, and runs a content audit (headings, images without alt, vague or empty links, long paragraphs and sentences). The Polish dictionary (Hunspell pl_PL) runs entirely in the browser; no content leaves your server.
- Language gate: only selected languages are processed (default pl, cs; works with WPML and Polylang). RSS feeds and the REST API are skipped.
- Settings export and import (JSON).
- Optional whole-page mode for text hard-coded in the theme (menus, header, footer).
- Works with content, comments, term descriptions, titles, excerpts, widgets, Elementor, Divi, Bricks, WPBakery, ACF, WooCommerce and menus.
For developers: apply_filters( ‘rm_szlif’, $text ), rm_szlif( $text ), filters rm_szlif_list, rm_szlif_skip, rm_szlif_capability, rm_szlif_spell_capability.
Third-party data
assets/pl-dict.txt is a compact Bloom-filter index (base64) built from the Polish Hunspell dictionary (dictionary-pl; licenses GPL-3.0, LGPL-3.0, MPL-2.0). See assets/LICENSE-slownik-pl.txt. The spellchecker runs in the browser; the plugin makes no external requests and collects no data.