Opened 4 months ago

Closed 4 months ago

#23297 closed defect (bug) (duplicate)

Translated $hook_suffix

Reported by: brasofilo Owned by:
Priority: normal Milestone:
Component: Plugins Version:
Severity: normal Keywords:
Cc:

Description

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

Attachments (1)

current_screen-WPLANG.png (47.4 KB) - added by brasofilo 4 months ago.

Download all attachments as: .zip

Change History (2)

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #18857.

Note: See TracTickets for help on using tickets.