Opened 11 years ago
Closed 11 years ago
#26069 closed defect (bug) (fixed)
'plugin_delete_result' transient deleted instead of "plugins_delete_result_$user_ID" in /wp-admin/plugins.php
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | minor | Version: | 2.8 |
Component: | Plugins | Keywords: | has-patch |
Focuses: | Cc: |
Description
The results of plugin deletion are stored in the "plugins_delete_result_$user_ID"
transient. This transient is checked on /wp-admin/plugins.php after plugins are deleted in case there were any errors. It attempts to delete the transient after retrieving it from the DB, but it does not properly append the user ID to it:
$delete_result = get_transient( 'plugins_delete_result_' . $user_ID ); delete_transient( 'plugins_delete_result' ); // Delete it once we're done.
Introduced in [11371].
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 26263: