| @@ -148,30 +148,11 @@ | ||
| 148 | 148 | <?php |
| 149 | 149 | if ( count( $this->sections ) > 1 ) { |
| 150 | 150 | $this->display_section_nav( $active_section ); |
| 151 | 151 | } |
| 152 | + ?> | |
| 152 | 153 | |
| 153 | - /** | |
| 154 | - * Defines the settings form's method. | |
| 155 | - * | |
| 156 | - * @since 3.0.0 | |
| 157 | - * | |
| 158 | - * @param string $form_method The method of the form. | |
| 159 | - * @param string $active_section The active section. | |
| 160 | - */ | |
| 161 | - $form_method = apply_filters( 'convertkit_admin_settings_form_method', 'post', $active_section ); | |
| 162 | - | |
| 163 | - /** | |
| 164 | - * Defines the settings form's action URL. | |
| 165 | - * | |
| 166 | - * @since 3.0.0 | |
| 167 | - * | |
| 168 | - * @param string $form_action_url The URL to submit the form to. | |
| 169 | - * @param string $active_section The active section. | |
| 170 | - */ | |
| 171 | - $form_action_url = apply_filters( 'convertkit_admin_settings_form_action_url', admin_url( 'options.php' ), $active_section ); | |
| 172 | - ?> | |
| 173 | - <form method="<?php echo esc_attr( $form_method ); ?>" action="<?php echo esc_url( $form_action_url ); ?>" enctype="multipart/form-data"> | |
| 154 | + <form method="post" action="options.php" enctype="multipart/form-data"> | |
| 174 | 155 | <?php |
| 175 | 156 | // Iterate through sections to find the active section to render. |
| 176 | 157 | if ( isset( $this->sections[ $active_section ] ) ) { |
| 177 | 158 | $this->sections[ $active_section ]->render(); |