WordPress.org

Make WordPress Core

Ticket #46899: 46899.diff

File 46899.diff, 586 bytes (added by greatislander, 5 months ago)

Patch from https://github.com/WordPress/WordPress/pull/401

  • wp-admin/includes/template.php

    diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
    index a06f9228aae..d8c23ccec4c 100644
    a b function do_settings_sections( $page ) { 
    16051605                if ( ! isset( $wp_settings_fields ) || ! isset( $wp_settings_fields[ $page ] ) || ! isset( $wp_settings_fields[ $page ][ $section['id'] ] ) ) {
    16061606                        continue;
    16071607                }
    1608                 echo '<table class="form-table">';
     1608                echo '<table class="form-table" role="presentation">';
    16091609                do_settings_fields( $page, $section['id'] );
    16101610                echo '</table>';
    16111611        }