Ticket #44408: 44408.3.patch
File 44408.3.patch, 2.2 KB (added by , 5 years ago) |
---|
-
src/wp-admin/includes/meta-boxes.php
938 938 $pages = wp_dropdown_pages( $dropdown_args ); 939 939 if ( ! empty( $pages ) ) : 940 940 ?> 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> 942 942 <?php echo $pages; ?> 943 943 <?php 944 944 endif; // end empty pages check … … 947 947 if ( count( get_page_templates( $post ) ) > 0 && get_option( 'page_for_posts' ) != $post->ID ) : 948 948 $template = ! empty( $post->page_template ) ? $post->page_template : false; 949 949 ?> 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> 951 951 <?php 952 952 /** 953 953 * Fires immediately after the label inside the 'Template' section … … 979 979 </select> 980 980 <?php endif; ?> 981 981 <?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> 983 983 <input name="menu_order" type="text" size="4" id="menu_order" value="<?php echo esc_attr( $post->menu_order ); ?>" /> 984 984 <?php 985 985 /** … … 992 992 do_action( 'page_attributes_misc_attributes', $post ); 993 993 ?> 994 994 <?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="post-attributes-help-text"><?php _e( 'Need help? Use the Help tab above the screen title.' ); ?></p> 996 996 <?php 997 997 endif; 998 998 endif;