Limiter Display character count bug
-
Hi Dave,
I’m using this version of your plugin which supports WYSIWYG Limiting. https://github.com/AtomicSmash/ACF-limiter-field/tree/wysiwyg
This bug is when a Limited field is set, that’s the standard limiter on a textarea. When you choose Yes for the option Display character count. The count is not displayed in the progress bar.
Only when I choose No it is displayed.
I think the error is in limiter-4.php line 141
if(isset($field['displayCount'])){ if($field['displayCount'] == 0){ echo('<div class="counterWrapper"><span class="limiterCount"></span> / <span class="limiterTotal">'.$field['character_number'].'</span></div>'); }; }
Shouldn’t the second if statement be
if($field['displayCount'] == 1){
True / 1?
https://www.ads-software.com/plugins/advanced-custom-fields-limiter-field/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Limiter Display character count bug’ is closed to new replies.