We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9055ac commit c6f8bceCopy full SHA for c6f8bce
includes/Mtw.php
@@ -82,9 +82,7 @@ public function widget( $args, $instance ) {
82
*
83
* @return array
84
*/
85
- public function update( $new_instance, $old_instance ) {
86
- $instance = $old_instance;
87
-
+ public function update( $new_instance, $instance ) {
88
$instance['title'] = strip_tags( $new_instance['title'] ?? '' );
89
$instance['taxonomy'] = strip_tags( $new_instance['taxonomy'] ?? '' );
90
$instance['name'] = strip_tags( $new_instance['name'] ?? '' );
0 commit comments