Changeset 3318235
- Timestamp:
- 06/26/2025 12:16:02 PM (9 months ago)
- Location:
- cyrillic-slugs/trunk
- Files:
-
- 21 added
- 5 deleted
- 4 edited
-
class-cyrslugs.php (added)
-
class-cyrslugsdata.php (added)
-
cyr-slugs.php (deleted)
-
cyrillic-slugs.php (added)
-
readme.txt (modified) (2 diffs)
-
settings/settings-general.php (modified) (1 diff)
-
tables.php (deleted)
-
wp-settings-framework/assets/css (deleted)
-
wp-settings-framework/assets/js (deleted)
-
wp-settings-framework/assets/vendor/jquery-timepicker/include/ui-1.10.0/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png (modified) (previous)
-
wp-settings-framework/assets/vendor/jquery-timepicker/timepicker.png (modified) (previous)
-
wp-settings-framework/assets/vendor/jquery-ui (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-bg_flat_30_cccccc_40x100.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-bg_flat_50_5c5c5c_40x100.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-bg_glass_20_555555_1x400.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-bg_glass_40_0078a3_1x400.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-bg_glass_40_ffc73d_1x400.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-bg_gloss-wave_25_333333_500x100.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-bg_highlight-soft_80_eeeeee_1x100.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-bg_inset-soft_25_000000_1x100.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-bg_inset-soft_30_f58400_1x100.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-icons_222222_256x240.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-icons_4b8e0b_256x240.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-icons_a83300_256x240.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-icons_cccccc_256x240.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/images/ui-icons_ffffff_256x240.png (added)
-
wp-settings-framework/assets/vendor/jquery-ui/jquery-ui.css (added)
-
wp-settings-framework/class-wordpresssettingsframework.php (added)
-
wp-settings-framework/wp-settings-framework.php (deleted)
Legend:
- Unmodified
- Added
- Removed
-
cyrillic-slugs/trunk/readme.txt
r2956073 r3318235 1 1 === Cyrillic Permalinks === 2 2 Contributors: pbosakov 3 Tags: cyrillic, slugs, permalinks, Russian, Ukrainian, Kazakh, Belarussian, Serbian, Tajik, Bulgarian, Kyrgyz, Bosnian, Mongolian, Macedonian3 Tags: cyrillic, slugs, permalinks, Russian, Bulgarian 4 4 Requires at least: 2.0.2 5 Tested up to: 6. 36 Stable tag: trunk5 Tested up to: 6.8 6 Stable tag: 2.0.5 7 7 Requires PHP: 5.6 8 License: GPLv3 or later 8 9 9 Automatically transliterates Cyrillic letters in p ost and page permalinks to their Latin phonetic equivalent. Multi-language. Can convert pre-existing permalinks.10 Automatically transliterates Cyrillic letters in permalinks to their Latin phonetic equivalent. Multi-language. Can convert pre-existing permalinks. 10 11 11 12 == Description == … … 23 24 24 25 == Changelog == 26 27 = 2.0.5 = 28 * Fix: translation domain should match the WordPress directory slug 29 * Fix: "romanize existing permalinks" option now works on pages and products 30 * Fix: minor security enhancements 25 31 26 32 = 2.0.4 = -
cyrillic-slugs/trunk/settings/settings-general.php
r1966300 r3318235 1 1 <?php 2 2 add_filter( 'wpsf_register_settings_cyr_slugs_settings_general', 'cyr_slugs_settings_general' ); 3 function cyr_slugs_settings_general($wpsf_settings) { 4 // General Settings section 5 $wpsf_settings[] = array( 6 'section_id' => 'general', 7 'section_title' => 'Cyrillic Permalinks Settings', 8 'section_order' => 1, 9 'fields' => array( 10 array( 11 'id' => 'language', 12 'title' => 'Language', 13 'desc' => __( 14 'Choose the language preset to use when converting Cyrillic ' . 15 'to Latin.', 16 'cyr-slugs' 17 ), 18 'type' => 'select', 19 'default' => 'RU', 20 'choices' => array( 21 'BE' => __('Belarussian', 'cyr-slugs'), 22 'BS' => __('Bosnian', 'cyr-slugs'), 23 'BG' => __('Bulgarian', 'cyr-slugs'), 24 'KK' => __('Kazakh', 'cyr-slugs'), 25 'KY' => __('Kyrgyz', 'cyr-slugs'), 26 'MK' => __('Macedonian', 'cyr-slugs'), 27 'MN' => __('Mongolian', 'cyr-slugs'), 28 'RU' => __('Russian', 'cyr-slugs'), 29 'SR' => __('Serbian', 'cyr-slugs'), 30 'TG' => __('Tajik', 'cyr-slugs'), 31 'UK' => __('Ukrainian', 'cyr-slugs') 32 ) 33 ) 34 ) 35 ); 36 return $wpsf_settings; 3 function cyr_slugs_settings_general( $wpsf_settings ) { 4 // General Settings section 5 $wpsf_settings[] = array( 6 'section_id' => 'general', 7 'section_title' => 'Cyrillic Permalinks Settings', 8 'section_order' => 1, 9 'fields' => array( 10 array( 11 'id' => 'language', 12 'title' => 'Language', 13 'desc' => __( 14 'Choose the language preset to use when converting Cyrillic to Latin.', 15 'cyrillic-slugs' 16 ), 17 'type' => 'select', 18 'default' => 'RU', 19 'choices' => array( 20 'BE' => __( 'Belarussian', 'cyrillic-slugs' ), 21 'BS' => __( 'Bosnian', 'cyrillic-slugs' ), 22 'BG' => __( 'Bulgarian', 'cyrillic-slugs' ), 23 'KK' => __( 'Kazakh', 'cyrillic-slugs' ), 24 'KY' => __( 'Kyrgyz', 'cyrillic-slugs' ), 25 'MK' => __( 'Macedonian', 'cyrillic-slugs' ), 26 'MN' => __( 'Mongolian', 'cyrillic-slugs' ), 27 'RU' => __( 'Russian', 'cyrillic-slugs' ), 28 'SR' => __( 'Serbian', 'cyrillic-slugs' ), 29 'TG' => __( 'Tajik', 'cyrillic-slugs' ), 30 'UK' => __( 'Ukrainian', 'cyrillic-slugs' ), 31 ), 32 ), 33 ), 34 ); 35 return $wpsf_settings; 37 36 }
Note: See TracChangeset
for help on using the changeset viewer.