[wp-trac] Re: [WordPress Trac] #5811: wp-admin/edit-comments.php unnecessarily checks twice for user permissions

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 10 08:05:34 GMT 2008


#5811: wp-admin/edit-comments.php unnecessarily checks twice for user permissions
------------------------------+---------------------------------------------
 Reporter:  hansengel         |        Owner:  hansengel
     Type:  defect            |       Status:  new      
 Priority:  normal            |    Milestone:  2.5      
Component:  Administration    |      Version:  2.5      
 Severity:  minor             |   Resolution:           
 Keywords:  has-patch tested  |  
------------------------------+---------------------------------------------
Comment (by ryan):

 That puts the td tags inside the conditional. I think they need to always
 be there even when the user doesn't have the proper caps.  In that case
 they would be empty.

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


More information about the wp-trac mailing list