WordPress.org

Making WordPress.org

Opened 4 weeks ago

Last modified 4 weeks ago

#4093 new enhancement

Check for `user_nicename` when meetup organisers are added

Reported by: hlashbrooke Owned by:
Milestone: Priority: normal
Component: WordCamp Site & Plugins Keywords: needs-patch
Cc:

Description

When we add the usernames of meetup group organisers in the meetup tracker (https://central.wordcamp.org/wp-admin/edit.php?post_type=wp_meetup), the system checks if it is a valid username by checking against the user_login field. This is fine in most cases, but in some instances the username supplied is actually the user_nicename as it is copied from the profile URL.

When that happens, the only solution is to ask in the #meta channel on Slack if someone can help with providing the username from the given nicename. That is obviously not ideal.

The simplest solution here would be to add a secondary check to match the provided username against the user_nicename field if the initial check against the user_login field fails. This check is only run at the time that the meetup listing is saved, so any processing overhead created by an additional check wouldn't be a problem.

Change History (1)

This ticket was mentioned in Slack in #community-events by bph. View the logs.


4 weeks ago

Note: See TracTickets for help on using tickets.