[wp-trac] [WordPress Trac] #32907: We should pass the site ID to the 'wpmu_update_blog_options' action

WordPress Trac noreply at wordpress.org
Tue Jul 7 18:46:23 UTC 2015

#32907: We should pass the site ID to the 'wpmu_update_blog_options' action
 Reporter:  DrewAPicture        |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Options, Meta APIs  |    Version:
 Severity:  normal              |   Keywords:  needs-patch good-first-bug
  Focuses:  multisite           |
 wpmu_update_blog_options] hook was added following the MU merge in 3.0
 along with the
 wpmueditblogaction] hook.

 The suggestion is that we should match the style of the latter and pass
 the site ID even though it's easily accessible via `get_current_blog_id()`
 where the `wpmu_update_blog_options` hook fires.

 Might as well also fix the docs alignment while we're in there too.


Ticket URL: <https://core.trac.wordpress.org/ticket/32907>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list