[wp-trac] [WordPress Trac] #38814: hook_suffix value varies based on user locale

WordPress Trac noreply at wordpress.org
Wed Nov 16 11:27:40 UTC 2016


#38814: hook_suffix value varies based on user locale
----------------------------+------------------------------
 Reporter:  takayukister    |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  trunk
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+------------------------------

Comment (by swissspidy):

 > For example, on a submenu page of my Contact Form 7 plugin (wp-
 admin/admin.php?page=wpcf7-integration), the `$hook_suffix` value is
 `contact_page_wpcf7-integration` when the user locale is ''en_US'', but it
 changes to
 `%e3%81%8a%e5%95%8f%e3%81%84%e5%90%88%e3%82%8f%e3%81%9b_page_wpcf7-integration`
 when the user locale is ''ja'' (Japanese).

 Wouldn't the same happen in WordPress 4.6 when the site locale is changed?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38814#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list