[wp-trac] [WordPress Trac] #25213: set_site_transient() incorrectly passes prefixed transient names to hooks when not using an object cache

WordPress Trac noreply at wordpress.org
Wed Sep 11 23:49:52 UTC 2013


#25213: set_site_transient() incorrectly passes prefixed transient names to hooks
when not using an object cache
--------------------------+---------------------
 Reporter:  dd32          |       Owner:  dd32
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  3.7
Component:  General       |     Version:  3.0
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |
--------------------------+---------------------

Comment (by nacin):

 Replying to [comment:6 johnbillion]:
 > Worth a grep of the plugin repo for `set_site_transient_`? With the
 trailing underscore there it should just flag up any plugins that are
 using that hook.

 Sure, done. Nearly every result found for `set_site_transient_` is for the
 `pre_set_site_transient_` filter (almost 70 instances). Two exceptions:
  * pento's automatic-updater plugin, which attached a callback to both
 versions of the action.
  * dd32's wordpress-background-update plugin, which didn't account for the
 "proper" action. DUDE.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25213#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list