[wpmu-trac] [WordPress MU Trac] #1038: function promote_if_site_admin typo (array)

WordPress MU Trac wpmu-trac at lists.automattic.com
Thu Aug 6 11:59:52 UTC 2009


#1038: function promote_if_site_admin typo (array)
---------------------+------------------------------------------------------
 Reporter:  dsader   |        Owner:  somebody
     Type:  defect   |       Status:  reopened
 Priority:  normal   |    Milestone:  2.8.2   
Component:  General  |      Version:  2.8.1   
 Severity:  normal   |   Resolution:          
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by donncha):

  * status:  closed => reopened
  * resolution:  worksforme =>


Comment:

 I managed to get the unfiltered_html error.

 The "$wp_roles->role_objects['administrator']" variable is supposed to be
 a WP_Role Object but for some reason it's set to the string "editor" when
 the error happens.

 Disabling the promote_* function makes the problem go away and it doesn't
 return.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/1038#comment:11>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list