mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 10:05:43 +03:00
Theme: Add support for Openverse team, fix Themes Team badge
This syncs `r17406-dotorg` to the canonical Git repo.
This commit is contained in:
parent
a545168ef2
commit
174a0381d6
3 changed files with 24 additions and 0 deletions
|
@ -265,6 +265,10 @@ function get_badge_classes( $team ) {
|
|||
$classes = array( 'badge-mobile', 'dashicons-smartphone' );
|
||||
break;
|
||||
|
||||
case 'openverse team':
|
||||
$classes = array( 'badge-openverse', 'dashicons-search' );
|
||||
break;
|
||||
|
||||
case 'polyglots team':
|
||||
$classes = array( 'badge-translation-editor', 'dashicons-translation' );
|
||||
break;
|
||||
|
@ -277,6 +281,7 @@ function get_badge_classes( $team ) {
|
|||
$classes = array( 'badge-test-team', 'dashicons-desktop' );
|
||||
break;
|
||||
|
||||
case 'themes team':
|
||||
case 'theme review team':
|
||||
$classes = array( 'badge-themes-reviewer', 'dashicons-admin-appearance' );
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue