[wp-trac] [WordPress Trac] #29860: Remove theme/plugin translations when deleting a theme/plugin

WordPress Trac noreply at wordpress.org
Wed Oct 8 19:06:22 UTC 2014


#29860: Remove theme/plugin translations when deleting a theme/plugin
--------------------------+---------------------
 Reporter:  ocean90       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  4.1
Component:  I18N          |     Version:
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------
Changes (by ocean90):

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


Comment:

 In [changeset:"29856"]:
 {{{
 #!CommitTicketReference repository="" revision="29856"
 Language packs: Remove translations when deleting a theme or a plugin.

 This is for translation files in WP_LANG_DIR which are installed through a
 language pack.
 Change `wp_get_installed_translations()` to only return a translation if
 the .mo file also exists.

 fixes #29860.
 }}}

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


More information about the wp-trac mailing list