Changeset 12117
- Timestamp:
- 10/12/2022 11:31:00 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/readme/class-parser.php
r11908 r12117 579 579 protected function sanitize_contributors( $users ) { 580 580 foreach ( $users as $i => $name ) { 581 // Trim any leading `@` off the name, in the event that someone uses `@joe-bloggs`. 582 $name = ltrim( $name, '@' ); 583 581 584 // Contributors should be listed by their WordPress.org Login name (Example: 'Joe Bloggs') 582 585 $user = get_user_by( 'login', $name );
Note: See TracChangeset
for help on using the changeset viewer.