Changeset 9768 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/standalone/class-plugins-info-api.php
- Timestamp:
- 04/23/2020 03:08:47 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/standalone/class-plugins-info-api.php
r8440 r9768 171 171 // WordPress 4.9 and older need a "bare" contributor map [ user => profile ] 172 172 if ( ! empty( $fields['bare_contributors'] ) ) { 173 $contribs = $response['contributors'] ;173 $contribs = $response['contributors'] ?? []; 174 174 $response['contributors'] = array(); 175 175 if ( $contribs ) {
Note: See TracChangeset
for help on using the changeset viewer.