Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/sjinks/wp-plugin-cyrtolat/archive/refs/heads/master.zipOn Packagist as wildwolf/wp-cyrtolat:
composer require wildwolf/wp-cyrtolatWordPress plugin to transliterate Cyrillic slugs into Latin.
The plugin was written as a replacement to cyr3lat, which is no longer maintained and is vulnerable to SQL injection.
Unlike other plugins, this one does not use sanitize_title hook (which fires for many things
other than post/page/term slugs), which reduces the risk of unwanted side effects.
The plugin uses wp_insert_post_data, wp_insert_attachment_data, and get_sample_permalink
for posts/pages/attachments, and wp_insert_term_data / wp_update_term_data for terms.
The plugin provides three custom filters:
wwcyrtolat_xlat_table: allows for customization of the transliteration table.wwcyrtolat_xlat_re_table: allows for customization of the regular expression-based transliteration table.transliterate_name: this one allows to modify the transliterated name/slug.
Installation
Run from the WordPress root directory:
composer require wildwolf/wp-cyrtolat
After that, please go to the Admin Dashboard => Plugins and activate the plugin.
Configuration
Admin Dashboard => Options => WW CyrToLat