Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: (sigh) integration cookie problem for all users except admin


Jason Giedymin
Participant

@jason_jm

Before I chime in, when we run our unit tests with users; we:

  • When testing an upgrade, I always delete a test user of mine: qauser
  • sql delete, and php register the user again after the upgrade.
  • I leave one user, qaeditor around. This user stays with the upgrade.
  • Allows me to know if perms were set across apps, if new users are good to go, and if old users are ok.
  • We flip roles too, but thats another test. :-)

Anyways, Camel Case not supported for login.

Lowercase was put in back in 05.09 https://trac.mu.wordpress.org/changeset/1770

In trunk here is the snipit:

571	function _fill_user( &$user ) {
572 global $wpdb;
573
574 // WPMU uses lowercase logins
575 $user->user_login = strtolower( $user->user_login );

Skip to toolbar