File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ function render( $params ) {
6767
6868 $ display_value = date_i18n ( 'F Y ' , strtotime ( $ result ['facet_display_value ' ] ) );
6969 // Determine whether to show counts
70- $ show_counts = apply_filters ( 'facetwp_facet_dropdown_show_counts ' , true );
70+ $ show_counts = apply_filters ( 'facetwp_facet_dropdown_show_counts ' , true , $ params );
7171 if ( $ show_counts ) {
7272 $ display_value .= sprintf ( ' (%s) ' , $ result ['counter ' ] );
7373 }
Original file line number Diff line number Diff line change 33Plugin Name: FacetWP - Monthly
44Plugin URI: https://github.com/petitphp/facetwp-monthly
55Description: Filter your posts by monthly archive
6- Version: 2.0.0
6+ Version: 2.0.1
77Author: Clément Boirie
88Author URI: https://github.com/petitphp
99*/
1313 die ( '-1 ' );
1414}
1515
16- define ( 'FWP_MTLY_VER ' , '2.0.0 ' );
16+ define ( 'FWP_MTLY_VER ' , '2.0.1 ' );
1717define ( 'FWP_MTLY_URL ' , plugin_dir_url ( __FILE__ ) );
1818define ( 'FWP_MTLY_DIR ' , plugin_dir_path ( __FILE__ ) );
1919
You can’t perform that action at this time.
0 commit comments