Bug: wpautop not working
-
I think wpautop() is not working since the checkbox for
$instance['filter']
is missing in the form() function. This is fixed by adding this line to it:<p><input id="<?php echo $this->get_field_id('filter'); ?>" name="<?php echo $this->get_field_name('filter'); ?>" type="checkbox" <?php checked(isset($instance['filter']) ? $instance['filter'] : 0); ?> /> <label for="<?php echo $this->get_field_id('filter'); ?>"><?php _e('Automatically add paragraphs'); ?></label></p>
- The topic ‘Bug: wpautop not working’ is closed to new replies.