mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-04 20:03:44 +03:00
XProfile: Add aliases for Performance team badge classes since the slugs aren't directly based on the name.
Props @dhrumilkumbhani Fixes #336
This commit is contained in:
parent
cd2c429017
commit
15a05df622
|
@ -509,11 +509,13 @@ function get_association_classes( $team ) {
|
|||
$classes = array( 'badge-photo-contributor', 'dashicons-camera' );
|
||||
break;
|
||||
|
||||
case 'core-performance-team':
|
||||
case 'performance-team':
|
||||
// Logo defined as SVG in CSS.
|
||||
$classes = array( 'badge-performance-team' );
|
||||
break;
|
||||
|
||||
case 'core-performance-contributor':
|
||||
case 'performance-contributor':
|
||||
// Logo defined as SVG in CSS.
|
||||
$classes = array( 'badge-performance-contributor' );
|
||||
|
|
Loading…
Reference in a new issue