[wp-trac] [WordPress Trac] #10758: Code Improvements (hakre's session)

WordPress Trac wp-trac at lists.automattic.com
Sun Sep 27 23:46:38 UTC 2009


#10758: Code Improvements (hakre's session)
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:                        
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  2.9                   
Component:  General       |     Version:  2.8.4                 
 Severity:  normal        |    Keywords:  has-patch dev-feedback
--------------------------+-------------------------------------------------

Comment(by azaozz):

 There are few places that seem wrong. If some variables are not set we
 should be returning errors not give them default values. For example
 creating a nonce for user ID of 0 is not going to happen :)

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


More information about the wp-trac mailing list