WordPress.org

Making WordPress.org

Opened 5 years ago

Closed 4 years ago

#432 closed defect (fixed)

Credits API: Some repeated names on WordPress credits.php page

Reported by: knutsp Owned by: coffee2code
Milestone: Priority: normal
Component: API Keywords:
Cc:

Description

Sergey Biryukov, Mike Schroder and Drew Jaynes are listed under both (group) "Contributing Developers" and (list) "Core Contributors".

They have one thing in common, their nicknames are mixed case (SergeyBiryukov, DH-Shredder, DrewAPicture). All others listed in groups have lowercase nicks.

In core/credits/wp-39.php I see that groups() uses mixed case array keys, but props() uses lowercased keys.

Is there some "no duplicates" or "no repeats" checking in the API that misses those three because of case sensitivity?

Change History (1)

#1 @coffee2code
4 years ago

  • Owner set to coffee2code
  • Resolution set to fixed
  • Status changed from new to closed

In 1266:

Credits API: Prevent group members with mixed case names from also being listed as Contributing Developers

Some members via groups() have mixed case names, but names via props() are all lowercase, so the array_diff() didn't filter out some people from getting double props.

Fixes #432

Note: See TracTickets for help on using tickets.