diff --git src/wp-admin/includes/template.php src/wp-admin/includes/template.php
index c1e362b..b1b4cfe 100644
|
|
|
function do_settings_fields($page, $section) {
|
| 1289 | 1289 | return; |
| 1290 | 1290 | |
| 1291 | 1291 | foreach ( (array) $wp_settings_fields[$page][$section] as $field ) { |
| 1292 | | echo '<tr>'; |
| 1293 | | if ( !empty($field['args']['label_for']) ) |
| | 1292 | if ( ! empty( $field['args']['class'] ) ) { |
| | 1293 | echo '<tr class="' . esc_attr( $field['args']['class'] ) . '">'; |
| | 1294 | } else { |
| | 1295 | echo '<tr>'; |
| | 1296 | } |
| | 1297 | if ( ! empty( $field['args']['label_for'] ) ) { |
| 1294 | 1298 | echo '<th scope="row"><label for="' . esc_attr( $field['args']['label_for'] ) . '">' . $field['title'] . '</label></th>'; |
| 1295 | | else |
| | 1299 | } else { |
| 1296 | 1300 | echo '<th scope="row">' . $field['title'] . '</th>'; |
| | 1301 | } |
| 1297 | 1302 | echo '<td>'; |
| 1298 | 1303 | call_user_func($field['callback'], $field['args']); |
| 1299 | 1304 | echo '</td>'; |