Plugin Directory

Changeset 3318235


Ignore:
Timestamp:
06/26/2025 12:16:02 PM (9 months ago)
Author:
pbosakov
Message:

Prepare for 2.0.5 release

Location:
cyrillic-slugs/trunk
Files:
21 added
5 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • cyrillic-slugs/trunk/readme.txt

    r2956073 r3318235  
    11=== Cyrillic Permalinks ===
    22Contributors: pbosakov
    3 Tags: cyrillic, slugs, permalinks, Russian, Ukrainian, Kazakh, Belarussian, Serbian, Tajik, Bulgarian, Kyrgyz, Bosnian, Mongolian, Macedonian
     3Tags: cyrillic, slugs, permalinks, Russian, Bulgarian
    44Requires at least: 2.0.2
    5 Tested up to: 6.3
    6 Stable tag: trunk
     5Tested up to: 6.8
     6Stable tag: 2.0.5
    77Requires PHP: 5.6
     8License: GPLv3 or later
    89
    9 Automatically transliterates Cyrillic letters in post and page permalinks to their Latin phonetic equivalent. Multi-language. Can convert pre-existing permalinks.
     10Automatically transliterates Cyrillic letters in permalinks to their Latin phonetic equivalent. Multi-language. Can convert pre-existing permalinks.
    1011
    1112== Description ==
     
    2324
    2425== 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
    2531
    2632= 2.0.4 =
  • cyrillic-slugs/trunk/settings/settings-general.php

    r1966300 r3318235  
    11<?php
    22add_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;
     3function 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;
    3736}
Note: See TracChangeset for help on using the changeset viewer.