Make WordPress Core

Ticket #52303: 52303.patch

File 52303.patch, 628 bytes (added by rishishah, 2 years ago)

Here is the patch for "Fix headings hierarchy (current H3 headings should be H2)"

  • src/wp-admin/includes/revision.php

    diff --git a/src/wp-admin/includes/revision.php b/src/wp-admin/includes/revision.php
    index 2eb83cb75ca6ef108263b6435ecd8d4f7861e43e..26ef25dbc3630f2f3ef4e5b7e24c4c79269134d5 100644
    a b function wp_print_revision_templates() { 
    461461                <div class="diff-error"><?php _e( 'Sorry, something went wrong. The requested comparison could not be loaded.' ); ?></div>
    462462                <div class="diff">
    463463                <# _.each( data.fields, function( field ) { #>
    464                         <h3>{{ field.name }}</h3>
     464                        <h2>{{ field.name }}</h2>
    465465                        {{{ field.diff }}}
    466466                <# }); #>
    467467                </div>