Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#20320 closed enhancement (invalid)

Display localised plugin name/description for inactive plugins

Reported by: johnbillion Owned by: johnbillion
Milestone: Priority: normal
Severity: normal Version:
Component: I18N Keywords:
Focuses: Cc:


Fairly sure that we can display localised plugin data (name, description, etc) on the Plugins screen for inactive plugins if the plugin includes a Text Domain and a Domain Path header.

Patch coming up at some point.

Change History (7)

#1 @johnbillion
4 years ago

  • Owner set to johnbillion
  • Status changed from new to assigned

#2 @pavelevap
4 years ago

  • Cc pavelevap@… added

#3 follow-up: @nacin
4 years ago

Fairly sure we already do?

#4 in reply to: ↑ 3 @johnbillion
4 years ago

Replying to nacin:

Fairly sure we already do?

Only for active plugins currently.

#5 @dd32
4 years ago

Then it sounds like a bug, as although I haven't tested it, there's no switch in the code to only translate it for active plugins.

It might be that the load_plugin_textdomain() calls in wp-admin/includes/plugin.php isn't the same as what the plugin would be doing, resulting in it translating when the plugin is active, but not when it's inactive?

#6 @johnbillion
4 years ago

  • Resolution set to invalid
  • Status changed from assigned to closed

False alarm. My test plugin had an erroneous Domain Path header.

Version 0, edited 4 years ago by johnbillion (next)

#7 @dd32
4 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.