diff --git a/classes/widget.php b/classes/widget.php index 6f0b22f..7a43b2d 100644 --- a/classes/widget.php +++ b/classes/widget.php @@ -110,6 +110,8 @@ public function update( $new_instance, $old_instance ) { $instance['cat'] = $new_instance['cat']; $instance['tag'] = $new_instance['tag']; $instance['taxonomy'] = esc_attr( $new_instance['taxonomy'] ); + $instance['meta_key'] = esc_attr( $new_instance['meta_key'] ); + $instance['meta_value'] = esc_attr( $new_instance['meta_value'] ); $instance['excerpt'] = isset( $new_instance['excerpt'] ) ? (bool) $new_instance['excerpt'] : false; $instance['length'] = intval( $new_instance['length'] );