[wp-trac] [WordPress Trac] #10763: Abstract function for authorization check in admin pages

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 9 22:25:46 UTC 2009


#10763: Abstract function for authorization check in admin pages
------------------------------+---------------------------------------------
 Reporter:  johnjosephbachir  |       Owner:  ryan                    
     Type:  enhancement       |      Status:  new                     
 Priority:  normal            |   Milestone:  Future Release          
Component:  Security          |     Version:  2.8.4                   
 Severity:  normal            |    Keywords:  needs-patch dev-feedback
------------------------------+---------------------------------------------

Comment(by johnjosephbachir):

 How about this invocation then?

 {{{
 #!php
 check_authorization('manage_options', __('You do not have sufficient
 permissions to manage options for this blog.'));
 }}}

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


More information about the wp-trac mailing list