[wp-trac] [WordPress Trac] #16297: User admin shouldn't kick in if not multisite

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 22 06:36:45 UTC 2011


#16297: User admin shouldn't kick in if not multisite
---------------------------+-----------------------
 Reporter:  nacin          |       Owner:  ryan
     Type:  defect (bug)   |      Status:  reopened
 Priority:  normal         |   Milestone:  3.1
Component:  Network Admin  |     Version:  3.1
 Severity:  normal         |  Resolution:
 Keywords:  dev-feedback   |
---------------------------+-----------------------
Changes (by mdawaffe):

 * keywords:  has-patch dev-feedback => dev-feedback
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Possibilities:

  1. Check to see if $redirect_to is empty before testing these new in 3.1
 conditionals.
  2. Check if the already set $redirect_to is an admin URL for the current
 blog (for which we are checking caps).  If so, go through with the new
 conditionals.  If not, bail and let it through.

 Reopening for comments.

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


More information about the wp-trac mailing list