mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user