[wp-trac] [WordPress Trac] #19914: wp-app.php assumes elements exist

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 3 06:50:46 UTC 2012


#19914: wp-app.php assumes elements exist
-----------------------------------+------------------------------
 Reporter:  rmccue                 |       Owner:
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  AtomPub                |     Version:
 Severity:  normal                 |  Resolution:
 Keywords:  needs-patch has-patch  |
-----------------------------------+------------------------------

Comment (by rmccue):

 By the way, patch looks good, but I think `isset( $entry->categories )`
 should probably be `!empty( $entry->categories )` instead. For the
 strings, I think that should check `$var[1]` rather than just `$var`.

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


More information about the wp-trac mailing list