Skip to content

Commit

Permalink
Merge pull request #40 from crowdfavorite/html-cleanup
Browse files Browse the repository at this point in the history
Fix: incorrect self closing html tag
  • Loading branch information
cristirusu authored Mar 13, 2018
2 parents 266410f + 3fafd37 commit a466931
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package capsule
*/

define( 'CAPSULE_URL_VERSION', '2.3' );
define( 'CAPSULE_URL_VERSION', '2.4' );
define( 'CAPSULE_TAX_PREFIX_PROJECT', '@' );
define( 'CAPSULE_TAX_PREFIX_TAG', '#' );
define( 'CAPSULE_TAX_PREFIX_CODE', '`' );
Expand Down
4 changes: 2 additions & 2 deletions lib/wp-taxonomy-filter/class-cf-taxonomy-filter.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function( $elem ) {
$multiple = ( $args['multiple'] ) ? 'multiple' : '';
// Build the select form element.
?>
<select name="<?php echo esc_attr( 'cfct_tax[' . $taxonomy . '][]' ); ?>" <?php echo wp_kses( self::build_attrib_string( $args ), array() ); ?> <?php echo esc_attr( $multiple ); ?> />
<select name="<?php echo esc_attr( 'cfct_tax[' . $taxonomy . '][]' ); ?>" <?php echo wp_kses( self::build_attrib_string( $args ), array() ); ?> <?php echo esc_attr( $multiple ); ?>>
<!-- Empty option for single select removal for Chosen. -->
<option value=""></option>
<?php foreach ( $terms as $term ) : ?>
Expand Down Expand Up @@ -213,7 +213,7 @@ public static function author_select( $args = array() ) {
}
$multiple = ( $args['multiple'] ) ? 'multiple' : '';
?>
<select name="cftf_authors[]" <?php echo wp_kses( self::build_attrib_string( $args ), array() ); ?> <?php echo esc_attr( $multiple ); ?> />
<select name="cftf_authors[]" <?php echo wp_kses( self::build_attrib_string( $args ), array() ); ?> <?php echo esc_attr( $multiple ); ?>>
<!-- Empty option for single select removal support. -->
<option value=""></option>
<?php foreach ( $users as $user ) : ?>
Expand Down

0 comments on commit a466931

Please sign in to comment.