Support

Account

Home Forums Backend Issues (wp-admin) Options Page cyrillics issue

Solving

Options Page cyrillics issue

  • Hey. We have a problem with Options Page add-on.
    We try to add new sub-fields, which names contains cyrillic symbols, via this code:

    function my_acf_options_page_settings( $settings )
    {
    $settings[‘title’] = ‘Settings’;
    $settings[‘pages’] = array(‘Общие’, ‘Локальные’);

    return $settings;
    }

    add_filter(‘acf/options_page/settings’, ‘my_acf_options_page_settings’);

    After that we can’t open ‘Settings/Общие’ sub-page – WordPress shows report about errors with permissions.
    We think smth wrong with this line in acf-options-page.php
    $page[‘slug’] = ‘acf-options-‘ . sanitize_title( $page[‘title’] );

    We hope you’ll fix this bug!

  • Hi @jdponomarev

    The issue may be due to the characters. Can you try adding an ‘English character’ name for a sub page?

    Let me know if this makes any difference and I’ll do some testing with the above texts.

    Thanks
    E

  • If I use english letters than everything is fine.

  • Hi @jdponomarev

    Thanks,

    I’ll add this to the to-do and run some tests

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Options Page cyrillics issue’ is closed to new replies.