[wp-trac] [WordPress Trac] #54586: Avoid translating empty plugin headers

WordPress Trac noreply at wordpress.org
Thu Apr 14 13:25:15 UTC 2022


#54586: Avoid translating empty plugin headers
--------------------------------------------------+-----------------------
 Reporter:  Chouby                                |       Owner:  audrasjb
     Type:  defect (bug)                          |      Status:  closed
 Priority:  normal                                |   Milestone:  6.0
Component:  I18N                                  |     Version:  3.4
 Severity:  trivial                               |  Resolution:  fixed
 Keywords:  has-patch commit assigned-for-commit  |     Focuses:
--------------------------------------------------+-----------------------
Changes (by audrasjb):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53181" 53181]:
 {{{
 #!CommitTicketReference repository="" revision="53181"
 Plugins: Avoid translating empty plugin headers.

 This change aims to avoid unnecessarily translating empty strings from
 plugin headers, by removing empty fields from translation process in
 `_get_plugin_data_markup_translate()`.

 Props Chouby, johnbillion, audrasjb.
 Fixes #54586.
 }}}

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


More information about the wp-trac mailing list