Title: Minor fix needed
Last modified: September 1, 2016

---

# Minor fix needed

 *  [banal](https://wordpress.org/support/users/banal/)
 * (@banal)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/minor-fix-needed/)
 * Hi, I noticed when updating posts the checkbox always defaults to checked, and
   I can only disable a post in the instant article feed by updating the post meta
   manually. I think the problematic line is
 * update_post_meta($id, ‘wp_fia_filter’, sanitize_text_field(‘1’));
 * which I’m pretty sure should be
 * update_post_meta($id, ‘wp_fia_filter’, $useCheckboxes);
 * Hope this helps someone!
 * [https://wordpress.org/plugins/instant-articles-filter/](https://wordpress.org/plugins/instant-articles-filter/)

The topic ‘Minor fix needed’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/instant-articles-filter.svg)
 * [Instant Articles Filter](https://wordpress.org/plugins/instant-articles-filter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/instant-articles-filter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/instant-articles-filter/)
 * [Active Topics](https://wordpress.org/support/plugin/instant-articles-filter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/instant-articles-filter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/instant-articles-filter/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [banal](https://wordpress.org/support/users/banal/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/minor-fix-needed/)
 * Status: not resolved