-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Labels
Milestone
Description
Apparently the Smarty plugin block.html_form produces the HTML output
twice ... .<form id="admin-widgets-default" name="admin_widgets_default" method="post" action="[https://localhost/flatpress-master-2352/admin.php?p=widgets&action=default](view-source:https://localhost/flatpress-master-2352/admin.php?p=widgets&action=default)" enctype="application/x-www-form-urlencoded" >
<input type="hidden" name="_wpnonce" value="7c3e9b0b0d"><input type="hidden" name="_wp_http_referer" value="/flatpress-master-2352/admin.php?p=widgets&action=default"></form><form id="admin-widgets-default" name="admin_widgets_default" method="post" action="[https://localhost/flatpress-master-2352/admin.php?p=widgets&action=default](view-source:https://localhost/flatpress-master-2352/admin.php?p=widgets&action=default)" enctype="application/x-www-form-urlencoded" >
<input type="hidden" name="_wpnonce" value="7c3e9b0b0d"><input type="hidden" name="_wp_http_referer" value="/flatpress-master-2352/admin.php?p=widgets&action=default">
function smarty_block_html_form($params, $content, &$smarty) {
// ...
// return $str . $nonce . $content . '</form>';
// Falsch!
}
Steps to reproduce:
- open the widgets panel in the admin area
- search for “application/x-www-form-urlencoded” in the HTML output.
This can be observed in every panel where there is a form ({html_form id=“....”} {/html_form}).
In addition, the submenu and the form have the same ID, which is also not valid.

This already occurred in FP 1.3.1 1327
Reactions are currently unavailable

