Forum Replies Created
- AuthorPosts
- November 26, 2015 at 12:24 am in reply to: Bug: wrong activation message in twenty-fifteen theme #10004277
MarcParticipantHi,
it seems you did not fix this in 2.0.21.
– Marc
MarcParticipantOk, long story short: The widget is the cause. I can’t see the success message because the css is missing but it’s there. In themes like twenty fifteen, where the sidebar is before the content in the html it is called twice.
Please fix this in the next version.
MarcParticipantOk, since nobody is answering my question here is more debug info:
If I disable the widget in the sidebar of twentyfifteen (bonusinfo: sidebar is before the content area in this theme), I see no message when a user is using his link. Just nothing but he is activated. =/
MarcParticipantOk, more infos:
The code gets called twice somehow. I inserted an error logging to login_form.php in Line 79. I printed the variable $unverified and this is what I got:
[16-Jan-2015 11:53:49 UTC] Array ( [0] => WP_User Object ( [data] => stdClass Object ( [ID] => 20 [user_login] => Marc20 [user_pass] => 829847928374982749827(hash removed) [user_nicename] => marc20 [user_email] => ma.......@gmail.com [user_url] => [user_registered] => 2015-01-16 11:51:56 [user_activation_key] => [user_status] => 0 [display_name] => Marc20 ) [ID] => 20 [caps] => Array ( [subscriber] => 1 ) [cap_key] => wp_capabilities [roles] => Array ( [0] => subscriber ) [allcaps] => Array ( [read] => 1 [level_0] => 1 [subscriber] => 1 ) [filter] => ) ) [16-Jan-2015 11:53:49 UTC] Array ( )As you can see, the array is set at first and then the code is executed again. Any idea?
MarcParticipantSorry, my mistake. The “hash” is set. Must be something else =/
MarcParticipantThe metakey “hash” seems to be empty for all new users. Is this important and what causes this?
MarcParticipantI am sorry but I got the exact same problem. Fresh install. E-Mail notification enabled. What do I have to set up under WordPress->Settings->Discussion ? Does it may be depend on that settings?
I look in my db. The status in the usermeta table is 0 until the user clicks the link. So he is not able to login before the activation. But he gets the wrong message somehow. The DB entry is correct, tough.
Your help is much appreciated.
- AuthorPosts
