[wp-trac] [WordPress Trac] #14728: capabilities.php does not include pluggable.php

WordPress Trac wp-trac at lists.automattic.com
Sun Aug 29 21:33:58 UTC 2010


#14728: capabilities.php does not include pluggable.php
--------------------------+-------------------------------------------------
 Reporter:  BlaenkDenum   |       Owner:                         
     Type:  defect (bug)  |      Status:  new                    
 Priority:  normal        |   Milestone:  Awaiting Review        
Component:  General       |     Version:  3.0.1                  
 Severity:  normal        |    Keywords:  reporter-feedback close
--------------------------+-------------------------------------------------
Changes (by nacin):

  * keywords:  => reporter-feedback close
  * severity:  critical => normal


Comment:

 You're calling is_super_admin() too early. The function may exist, but you
 can't reliably perform any user actions until the initialization hook.

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


More information about the wp-trac mailing list