Echo submit field from base class so widgets don't have to do it.

git-svn-id: https://develop.svn.wordpress.org/trunk@10807 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2009-03-17 21:20:19 +00:00
parent b1cf8ca9f5
commit 184e5b69e8
2 changed files with 3 additions and 6 deletions
+3
View File
@@ -253,6 +253,9 @@ class WP_Widget {
}
$this->form($instance);
?>
<input type="hidden" id="<?php echo $this->get_field_id('submit'); ?>" name="<?php echo $this->get_field_name('submit'); ?>" value="1" />
<?php
}
/** Helper function: Registers a single instance. */