[wp-trac] [WordPress Trac] #49132: Remove translation files when a plugin no longer exists

WordPress Trac noreply at wordpress.org
Sun Jan 5 12:42:06 UTC 2020


#49132: Remove translation files when a plugin no longer exists
-------------------------+----------------------
 Reporter:  audrasjb     |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  I18N         |     Version:
 Severity:  normal       |  Resolution:  wontfix
 Keywords:  has-patch    |     Focuses:
-------------------------+----------------------
Changes (by ocean90):

 * keywords:  has-patch dev-feedback => has-patch
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Thanks for the ticket and the patch! This doesn't sound feasible though.

 * If someone is deleting files directly they should know what they are
 doing and are responsible for deleting all associated files. This may be
 custom directories in the uploads directory, or, in this case, translation
 files.
 * A plugin may only be temporary not available due to a misconfiguration.
 There is no indication if a deletion was initiated by a user unlike it's
 the case for #29860.
 * `validate_active_plugins()` doesn't delete broken plugins, it only
 deactivates them thus deleting something shouldn't be part of this
 function.
 * Neither options or other data is deleted when a broken plugin is
 detected.
 * There's no harm in having the files still on server if someone has
 forgotten to delete them.


 Therefore I'm going to close this as wontfix.

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


More information about the wp-trac mailing list