Order player positions dropdown by slug fix #71

This commit is contained in:
Brian Miyaji
2014-12-10 04:32:49 +11:00
parent c62d765d05
commit 6c3ca48eeb

View File

@@ -133,7 +133,8 @@ class SP_Meta_Box_Event_Performance {
'taxonomy' => 'sp_position',
'name' => 'sp_players[' . $team_id . '][' . $player_id . '][position]',
'values' => 'term_id',
'selected' => $selected
'orderby' => 'slug',
'selected' => $selected,
);
sp_dropdown_taxonomies( $args );
?>