[wp-trac] [WordPress Trac] #14928: wp_mkdir_p() phpdocs do not explain the "p" in the function name in full

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 24 09:53:58 UTC 2010


#14928: wp_mkdir_p() phpdocs do not explain the "p" in the function name in full
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Inline Docs   |     Version:  3.0            
 Severity:  normal        |    Keywords:  has-patch      
--------------------------+-------------------------------------------------

Comment(by dd32):

 > attachment 14928.3.patch  added

 {{{
 empty( $target ) && $target = '/'; // empty target is root (posix).
 }}}

 Can you please stick to the Coding standards, and avoid using such syntax?

 The following syntax would be greatly appreciated in patches.
 {{{
  if ( empty( $target ) ) // empty target is root (posix).
     $target = '/';
 }}}

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


More information about the wp-trac mailing list