[wp-trac] [WordPress Trac] #15508: Use !is_user_logged_in instead of !$user->ID

WordPress Trac noreply at wordpress.org
Sun Sep 22 10:15:38 UTC 2013


#15508: Use !is_user_logged_in instead of !$user->ID
-----------------------------------+--------------------
 Reporter:  Eteq                   |       Owner:
     Type:  enhancement            |      Status:  new
 Priority:  normal                 |   Milestone:  3.7
Component:  Comments               |     Version:  3.0.1
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+--------------------

Comment (by ocean90):

 In [changeset:"25562"]:
 {{{
 #!CommitTicketReference repository="" revision="25562"
 Replace !$user_ID with !is_user_logged_in(). props garyc40. see #15508.
 }}}

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


More information about the wp-trac mailing list