[wp-trac] [WordPress Trac] #23297: Translated $hook_suffix

WordPress Trac noreply at wordpress.org
Sat Jan 26 01:14:36 UTC 2013


#23297: Translated $hook_suffix
-----------------------------+--------------------------
 Reporter:  brasofilo        |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Plugins
  Version:                   |   Severity:  normal
 Keywords:                   |
-----------------------------+--------------------------
 Depending on WPLANG, I'm getting a different `$hook_suffix` /
 `$current_screen->base`

 I traced the origin to the function `get_plugin_page_hookname()` in `/wp-
 admin/includes/plugin.php`, but can't see a solution.

 Experiencing this using the plugin Advanced Custom Fields. I'm trying to
 hook in the plugin page and just discovered this issue, one would expect
 this kind of slug not to be translated.

 ,,(attachments, `$current_screen` object with default WPLANG and defined
 as pt_BR),,

 Only found refence to this in Ticket: #8246

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23297>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list