Replies
- Tosin on August 12, 2020 at 3:22 pm in reply to: [Resolved] Update WordPress 5.5 – Mediapress shows no Galleries ?? #32337
This recent wordpress update will break a lot of themes and plugins due to the upgrade to jquery migrate
But the wordpress team provided a fallback solution at https://wordpress.org/plugins/enable-jquery-migrate-helper/
See more info at https://wptavern.com/major-jquery-changes-on-the-way-for-wordpress-5-5-and-beyond
Maybe this info might help
- Tosin on August 12, 2020 at 3:19 pm in reply to: [Resolved] Facebook Like User Activity Stream For BuddyPress update crashes site #32336
Any update sir this is a little bit urgent
Thanks
- Tosin on August 12, 2020 at 9:16 am in reply to: [Resolved] Facebook Like User Activity Stream For BuddyPress update crashes site #32322This reply has been marked as private.
- Tosin on August 11, 2020 at 8:40 pm in reply to: [Resolved] How to Invalidate Email with Spaces in BuddyPress During Registration #32305
Hello Ravi,
This problem is now solved the updated code you provided solved the space problem. All my users can now login properly.
Thank you very much, i’m really grateful
- Tosin on August 11, 2020 at 2:00 pm in reply to: [Resolved] How to Invalidate Email with Spaces in BuddyPress During Registration #32295
After further investigations i’ve found the culprit code below
/** * Email login support for bp-branded-login plugin */ add_filter( 'wp_authenticate_user', function( $user ) { if ( isset( $_POST['log'] ) && ! is_email( $_POST['log'] ) ) { return new WP_Error( 'invalid_email' ); } return $user; }, 10 );Please can this be improved to prevent invalidation of email addresses with spaces at the back
Thanks
- Tosin on August 11, 2020 at 1:00 pm in reply to: [Resolved] How to Invalidate Email with Spaces in BuddyPress During Registration #32293
I also noticed that this email login issue also occured in the default wordpress login page @ (wp-login.php) after deactivating the branded login plugin.
Now will it be possible to validate logins with emails and usernames that have spaces at the back in the login form
- Tosin on August 11, 2020 at 12:13 pm in reply to: [Resolved] Facebook Like User Activity Stream For BuddyPress update crashes site #32292This reply has been marked as private.
- Tosin on August 10, 2020 at 8:49 pm in reply to: Change BuddyPress Force Profile Photo plugin redirection #32286
I just created a new user account while the leira avatar plugin is active and profile completion plugin is showing the message that (Profile completed successfully.) when profile photo has not been uploaded.
Profile Completion plugin is still taking the letter avatar as a user uploaded avatar for newly registered users.
- Tosin on August 10, 2020 at 7:54 pm in reply to: [Resolved] How to Invalidate Email with Spaces in BuddyPress During Registration #32281
I just deactivated all plugins and noticed that its a login problem and not registration issue wordpress is not allowing logins with spaces after the email address. The error message (invalid email) is being displayed. Will it be possible to display a custom error message in the login form when a user mistakenly adds a space after their email address during login. The custom error message should be (Sorry, this email is invalid. Email addresses cannot contain spaces.) Since the space is invisible the user still thinks that their email address is correct but this custom error message will point out the cause of login failure.
I am also using the branded login plugin
- Tosin on August 10, 2020 at 6:19 pm in reply to: [Resolved] How to Invalidate Email with Spaces in BuddyPress During Registration #32266
Please note that i’m not reffering to spaces in between the email address but after the email address for example
abcdef@gmail.com 
  refers to the space added
This problem mainly occurs when a user is registering on a mobile phone and add their email address from google saved email address suggestion after selecting the suggested email a space is added automatically without the user realising this and buddypress accepts the registration with the space after the email.