diff --git a/wp-admin/credits.php b/wp-admin/credits.php index 529aac7fbb..af4792d2b4 100644 --- a/wp-admin/credits.php +++ b/wp-admin/credits.php @@ -85,76 +85,47 @@ if ( ! $credits ) { include( ABSPATH . 'wp-admin/admin-footer.php' ); exit; } +?> -$previous_type = ''; +
' . wp_sprintf( '%l.', $group_data['data'] ) . "
\n\n"; - break; - case 'libraries': - array_walk( $group_data['data'], '_wp_credits_build_object_link' ); - echo '' . wp_sprintf( '%l.', $group_data['data'] ) . "
\n\n"; - break; - default: - $compact = 'compact' == $group_data['type']; - $classes = 'wp-people-group ' . ( $compact ? 'compact' : '' ); - echo '' . wp_sprintf( '%l.', $group_data['data'] ) . "
\n\n"; + break; + case 'libraries': + array_walk( $group_data['data'], '_wp_credits_build_object_link' ); + echo '' . wp_sprintf( '%l.', $group_data['data'] ) . "
\n\n"; + break; + default: + $compact = 'compact' === $group_data['type']; + $classes = 'wp-people-group ' . ( $compact ? 'compact' : '' ); + echo '