[wpmu-trac] [WordPress MU Trac] #1065: Duplicate wp_x_options and wp_sitemeta records for update_core, update_plugins, update_themes and dismissed_update_core

WordPress MU Trac wpmu-trac at lists.automattic.com
Mon Jul 20 00:13:14 UTC 2009


#1065: Duplicate wp_x_options and wp_sitemeta records for update_core,
update_plugins, update_themes and dismissed_update_core
-------------------------------------+--------------------------------------
 Reporter:  jamescollins             |        Owner:  somebody
     Type:  defect                   |       Status:  reopened
 Priority:  normal                   |    Milestone:  2.8.1a  
Component:  Administration           |      Version:  2.8.1   
 Severity:  normal                   |   Resolution:          
 Keywords:  has-patch, dev-feedback  |  
-------------------------------------+--------------------------------------
Changes (by jamescollins):

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

Comment:

 Replying to [comment:3 donncha]:
 > I think there's a bug in your second patch. I had to s/add_option_/set/
 but it's applied now in [1889]. Thanks!

 Donncha, thanks for applying the patch.

 It looks like you changed some hooks from:
 {{{add_option__transient_update_plugins}}}
 to
 {{{set_transient_update_plugins}}}

 As far as I can tell, there is no {{{set_transient_*}}} action at all in
 the WP/WPMU code base.

 The {{{set_transient()}}} function calls the {{{pre_set_transient_*}}}
 filter, and then it calls either {{{add_option()}}} or
 {{{update_option()}}}, which means that the {{{add_option__transient_*}}}
 or {{{update_option__transient_*}}} hook is called.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1065#comment:4>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list