[wp-trac] [WordPress Trac] #23400: insert_blog() can possible return the wrong blog id when plugin/theme uses refresh_blog_details action

WordPress Trac noreply at wordpress.org
Thu Feb 28 16:53:50 UTC 2013


#23400: insert_blog() can possible return the wrong blog id when plugin/theme uses
refresh_blog_details action
------------------------------+---------------------
 Reporter:  feedmeastraycat   |       Owner:  nacin
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:  3.6
Component:  Multisite         |     Version:  3.0
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |
------------------------------+---------------------
Changes (by nacin):

 * owner:   => nacin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23511"]:
 {{{
 #!CommitTicketReference repository="" revision="23511"
 In insert_blog(), make sure we retrieve the insertion ID from wpdb before
 calling a function that could invoke queries. props feedmeastraycat. fixes
 #23400.
 }}}

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


More information about the wp-trac mailing list