[wp-trac] [WordPress Trac] #17921: $curpage->post_parent and $curpage->post_name checks

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 28 19:53:30 UTC 2011


#17921: $curpage->post_parent and $curpage->post_name checks
--------------------------+------------------------------
 Reporter:  adamnbowen    |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  3.1.3
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------
Changes (by kawauso):

 * keywords:   => has-patch


Comment:

 Patch looks good. Please use tabs rather than spaces though
 ([http://codex.wordpress.org/WordPress_Coding_Standards core coding
 standards]) and `empty()` might be be better for the while clause.

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


More information about the wp-trac mailing list