Add default outcome condition

This commit is contained in:
Brian Miyaji
2015-09-18 11:13:01 +10:00
parent ebcb0bbf4e
commit e4bfdb23ca
4 changed files with 79 additions and 47 deletions

View File

@@ -376,6 +376,7 @@ if ( !function_exists( 'sp_get_post_condition' ) ) {
'>' => sprintf( __( 'Most %s', 'sportspress' ), $label ),
'<' => sprintf( __( 'Least %s', 'sportspress' ), $label ),
'=' => sprintf( __( 'Equal %s', 'sportspress' ), $label ),
'else' => sprintf( __( 'Default', 'sportspress' ), $label ),
);
return sp_array_value( $conditions, $condition, '&mdash;' );
else: