[wp-trac] [WordPress Trac] #29594: Basic Cookie Authentication from External Database

WordPress Trac noreply at wordpress.org
Mon Nov 3 19:44:38 UTC 2014


#29594: Basic Cookie Authentication from External Database
-----------------------------+------------------------------
 Reporter:  LPH2005          |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Role/Capability  |     Version:  4.0
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by here):

 Same issue, persists.

 Login using plugin during `after_setup_theme` hook
 {{{
     wp_set_current_user($user_id, $username);
     wp_set_auth_cookie($user_id, 1);
 }}}

 Following successful login, any admin action results in the nonce error.
 Activate plugins, change user permissions, etc.

 Relates to https://core.trac.wordpress.org/ticket/20276

 See also:
 http://wordpress.stackexchange.com/questions/160569/wordpress-4-0-cookie-
 authentication-to-avoid-nonce-error-when-publishing-a-post
 http://wordpress.stackexchange.com/questions/160237/security-error-wp-4-0
 -wp-phpbb-bridge

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29594#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list