WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/17/2015 01:10:27 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Customizer: Fix form tag replacement in WP_Customize_Widgets::get_widget_control() after [31200].

see #30126.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-widgets.php

    r30760 r31226  
    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        );
Note: See TracChangeset for help on using the changeset viewer.