WordPress.org

Making WordPress.org

Opened 10 months ago

Last modified 8 months ago

#4093 assigned 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 good-first-bug
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 (3)

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


10 months ago

This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.


8 months ago

#3 @iandunn
8 months ago

  • Keywords good-first-bug added
  • Status changed from new to assigned

+1, see slack conversation linked above for notes

Note: See TracTickets for help on using tickets.