WordPress.org

Make WordPress Core

Ticket #30126: 30126.widgets.patch

File 30126.widgets.patch, 527 bytes (added by SergeyBiryukov, 6 years ago)
  • src/wp-includes/class-wp-customize-widgets.php

     
    956956
    957957                call_user_func_array( 'wp_widget_control', $args );
    958958                $replacements = array(
    959                         '<form action="" method="post">' => '<div class="form">',
     959                        '<form method="post">' => '<div class="form">',
    960960                        '</form>' => '</div><!-- .form -->',
    961961                );
    962962