[wp-trac] [WordPress Trac] #26069: 'plugin_delete_result' transient deleted instead of "plugins_delete_result_$user_ID" in /wp-admin/plugins.php

WordPress Trac noreply at wordpress.org
Sat Nov 16 16:07:56 UTC 2013


#26069: 'plugin_delete_result' transient deleted instead of
"plugins_delete_result_$user_ID" in /wp-admin/plugins.php
--------------------------+-----------------------------
 Reporter:  jdgrimes      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  2.8
 Severity:  minor         |   Keywords:  has-patch
--------------------------+-----------------------------
 The results of plugin deletion are stored in the `
 "plugins_delete_result_$user_ID"` transient. This transient is checked on
 [/browser/trunk/src/wp-admin/plugins.php#L387 /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].

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26069>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list