[wp-trac] [WordPress Trac] #59433: Plugin deletion results must be stored in an option instead of a transient to avoid the transient being removed on shutdown

WordPress Trac noreply at wordpress.org
Mon Feb 12 09:35:56 UTC 2024


#59433: Plugin deletion results must be stored in an option instead of a transient
to avoid the transient being removed on shutdown
------------------------------+-------------------------
 Reporter:  kkmuffme          |       Owner:  swissspidy
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  6.5
Component:  Plugins           |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:
------------------------------+-------------------------
Changes (by swissspidy):

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


Comment:

 In [changeset:"57586" 57586]:
 {{{
 #!CommitTicketReference repository="" revision="57586"
 Plugins: Store plugin deletion results in temporary option.

 Storing the data in a non-autoloaded rather than a transient ensures it
 cannot be accidentally removed due to a cache flush.

 Props: kkmuffme, mukesh27.
 Fixes #59433.
 }}}

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


More information about the wp-trac mailing list