WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 3 years ago

#35436 closed enhancement (fixed)

Remove textdomain exception for Akismet from _get_plugin_data_markup_translate().

Reported by: jrf Owned by: ocean90
Milestone: 4.5 Priority: normal
Severity: normal Version:
Component: Plugins Keywords: has-patch
Focuses: Cc:

Description (last modified by SergeyBiryukov)

In the _get_plugin_data_markup_translate() function a fallback to the 'default' textdomain for the Hello Dolly and Akismet plugins was created in [19965].
As Akismet has got it's own textdomain now (since 3.9?) and translations for Akismet are available under that textdomain, the fallback is no longer needed.

Attachments (1)

35436-remove-akismet-exception.patch (1.0 KB) - added by jrf 4 years ago.

Download all attachments as: .zip

Change History (5)

#1 @jrf
4 years ago

  • Keywords has-patch added

#2 @ocean90
4 years ago

  • Milestone changed from Awaiting Review to 4.5
  • Owner set to ocean90
  • Status changed from new to accepted

#3 @ocean90
4 years ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In 36283:

Plugins: In _get_plugin_data_markup_translate() remove the fallback to the "default" textdomain for Akismet.

Akismet has its own language files since WordPress 3.9.

Props jrf.
Fixes #35436.

#4 @SergeyBiryukov
3 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.