[wp-trac] [WordPress Trac] #15508: Use !is_user_logged_in instead of !$user->ID
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 19 23:15:08 UTC 2010
#15508: Use !is_user_logged_in instead of !$user->ID
-------------------------+--------------------------------------------------
Reporter: Eteq | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.0.1
Severity: major | Keywords: user,login,plugin
-------------------------+--------------------------------------------------
The subject line pretty much says all. I'm kind of integrating a user
system of my own to allow comments into wordpress posts as if logged in
amongst other few minor changes like session sharing. I've managed to do
so as a plugin, until I got stuck with this.
The fact that many places in the wordpress code checks for the user id,
instead of using the is_user_looged_in renders the purpose of that
function useless for plugins.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15508>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list