[wp-trac] [WordPress Trac] #41116: Permalink localization being taken from users language
    WordPress Trac 
    noreply at wordpress.org
       
    Wed Jun 21 11:25:09 UTC 2017
    
    
  
#41116: Permalink localization being taken from users language
--------------------------+-----------------------------
 Reporter:  bradadams     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Permalinks    |    Version:  4.8
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I was just working on a clients site, that uses a foreign '''global'''
 locale (Swedish, to be precise).
 They have permalinks set to the ''default'' localization, so archive is
 '''Arkiv''', WooCommerce products uses '''Produkt''' and so forth.
 In my user profile I have the locale set to EN, and needed to refresh the
 permalinks after a change. When I visited the permalinks edit screen, it
 was all localized to my user language, including the actual permalinks. So
 I saw "archive"/"product".
 After saving, the site literally "broke". All the links using foreign
 permalinks stopped working. I had to switch my account locale to match the
 sites global setting (again, Swedish) and then re-save. This switched it
 all back to normal.
 == Steps to reproduce ==
 1. Switch your '''user''' locale to something different than the main
 sites {{{/wp-admin/profile.php}}}.
 2. Visit the {{{/wp-admin/options-permalink.php}}} screen, and click save.
 3. Permalinks now will follow your user locale, where-as it seems more
 logical for them to always use the sites global language.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41116>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list