[wp-trac] [WordPress Trac] #20285: Author meta fields aren't displaying correctly due to broken logic

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 4 03:24:25 UTC 2012


#20285: Author meta fields aren't displaying correctly due to broken logic
--------------------------+------------------------------
 Reporter:  FredWu        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Users         |     Version:  3.3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------------------

Comment (by fredwu):

 Replying to [comment:2 scribu]:
 > You can just replace `isset()` with `!empty()` since empty() doesn't
 cause a notice.

 Good point! I've attached the updated patch.

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


More information about the wp-trac mailing list