[wp-trac] [WordPress Trac] #22803: current_user_can_for_blog() fatal errors in single site

WordPress Trac noreply at wordpress.org
Fri Dec 7 08:53:02 UTC 2012


#22803: current_user_can_for_blog() fatal errors in single site
-----------------------------+--------------------
 Reporter:  nacin            |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  highest omg bbq  |   Milestone:  3.5
Component:  Multisite        |     Version:  trunk
 Severity:  blocker          |  Resolution:
 Keywords:                   |
-----------------------------+--------------------

Comment (by nacin):

 Note that the WP_Theme one is unchanged from 3.4, when that method was
 introduced, and requires calling get_allowed_on_site() with a blog_id of
 something other than the current blog, which doesn't occur in core outside
 of multisite. (wp_get_themes() will only pass a blog ID to it in
 multisite.) Haven't seen a single report of this error so far. But of
 course, it is good to fix.

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


More information about the wp-trac mailing list