Current status: Solved. . Done
Can't use accented characters for register_options_page
  • Hi!

    I tried to create a new options page like this:
    register_options_page('Beállítások');

    But because of the special characters (á í etc...), the url is not working:
    admin.php?page=options-beáll%C3%ADtások

    Maybe you can add a second optional parameter to specify a label for the page? Or just remove those characters from the URL, i'm not sure.

    I can use "Beallitasok" instead, so its not that big of a deal, but you might wan't to fix this in the future.

    Thanks.
  • Thanks @passatgt.

    I'll add it to the to-do list

    Cheers
    Elliot
  • Hi Elliot

    I found a possible solution for this issue. I changed the function "sanitize_title_with_dashes" to "sanitize_title", in these files:

    acf.php - line 1301
    acf.php - line 1305
    core/api.php - line 401

    All fields are displaying the right data. Please, does some tests.

    Thanks
  • Fixed in 3.4.0 (to be released soon)