FIX 2: Least condition was not recognized (< instead of <)
This commit is contained in:
@@ -540,7 +540,7 @@ if ( ! function_exists( 'sp_get_post_condition' ) ) {
|
||||
'=' => sprintf( esc_attr__( 'Equal %s', 'sportspress' ), $label ),
|
||||
'else' => sprintf( esc_attr__( 'Default', 'sportspress' ), $label ),
|
||||
);
|
||||
return sp_array_value( $conditions, $condition, '—' );
|
||||
return sp_array_value( $conditions, wp_specialchars_decode( $condition ), '—' );
|
||||
else :
|
||||
return '—';
|
||||
endif;
|
||||
|
||||
Reference in New Issue
Block a user