Make WordPress Core

Ticket #44408: 44408.patch

File 44408.patch, 2.2 KB (added by sathyapulse, 5 years ago)

44408.patch

  • wp-admin/includes/meta-boxes.php

     
    938938                $pages         = wp_dropdown_pages( $dropdown_args );
    939939                if ( ! empty( $pages ) ) :
    940940                        ?>
    941 <p class="post-attributes-label-wrapper"><label class="post-attributes-label" for="parent_id"><?php _e( 'Parent' ); ?></label></p>
     941<p class="post-attributes-label-wrapper" id="parent-id-label-wrapper"><label class="post-attributes-label" for="parent_id"><?php _e( 'Parent' ); ?></label></p>
    942942                        <?php echo $pages; ?>
    943943                        <?php
    944944                endif; // end empty pages check
     
    947947        if ( count( get_page_templates( $post ) ) > 0 && get_option( 'page_for_posts' ) != $post->ID ) :
    948948                $template = ! empty( $post->page_template ) ? $post->page_template : false;
    949949                ?>
    950 <p class="post-attributes-label-wrapper"><label class="post-attributes-label" for="page_template"><?php _e( 'Template' ); ?></label>
     950<p class="post-attributes-label-wrapper" id="page-template-label-wrapper"><label class="post-attributes-label" for="page_template"><?php _e( 'Template' ); ?></label>
    951951                <?php
    952952                /**
    953953                 * Fires immediately after the label inside the 'Template' section
     
    979979</select>
    980980<?php endif; ?>
    981981        <?php if ( post_type_supports( $post->post_type, 'page-attributes' ) ) : ?>
    982 <p class="post-attributes-label-wrapper"><label class="post-attributes-label" for="menu_order"><?php _e( 'Order' ); ?></label></p>
     982<p class="post-attributes-label-wrapper" id="menu-order-label-wrapper"><label class="post-attributes-label" for="menu_order"><?php _e( 'Order' ); ?></label></p>
    983983<input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr( $post->menu_order ); ?>" />
    984984                <?php
    985985                /**
     
    992992                do_action( 'page_attributes_misc_attributes', $post );
    993993                ?>
    994994                <?php if ( 'page' == $post->post_type && get_current_screen()->get_help_tabs() ) : ?>
    995 <p><?php _e( 'Need help? Use the Help tab above the screen title.' ); ?></p>
     995<p class="page-attributes-help-text"><?php _e( 'Need help? Use the Help tab above the screen title.' ); ?></p>
    996996                        <?php
    997997        endif;
    998998        endif;