[wp-trac] [WordPress Trac] #22803: current_user_can_for_blog() fatal errors in single site
WordPress Trac
noreply at wordpress.org
Fri Dec 7 07:21:52 UTC 2012
#22803: current_user_can_for_blog() fatal errors in single site
-------------------+-----------------------------
Reporter: nacin | Type: defect (bug)
Status: new | Priority: highest omg bbq
Milestone: 3.5 | Component: Multisite
Version: trunk | Severity: blocker
Keywords: |
-------------------+-----------------------------
It calls switch_to_blog() unconditionally. It should not.
We must do an audit of all other switch_to_blog() calls.
'''Note to plugin authors:''' If your plugin suddenly starts causing a
fatal error in a new release of WordPress, for God's sakes, '''''THAT IS
NOT NORMAL.''''' Report it as a bug. Don't just fix it on your own.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22803>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list