Ticket #50686: 50686.diff
File 50686.diff, 3.3 KB (added by , 4 years ago) |
---|
-
src/wp-admin/css/forms.css
238 238 color: #72777c; 239 239 } 240 240 241 .form-invalid input, 242 .form-invalid input:focus, 243 .form-invalid select, 244 .form-invalid select:focus { 241 .form-invalid .form-required, 242 .form-invalid .form-required:focus, 243 .form-invalid.form-required input, 244 .form-invalid.form-required input:focus, 245 .form-invalid.form-required select, 246 .form-invalid.form-required select:focus { 245 247 border-color: #dc3232 !important; 246 248 box-shadow: 0 0 2px rgba(204, 0, 0, 0.8); 247 249 } -
src/wp-admin/includes/nav-menu.php
299 299 <input type="hidden" value="custom" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-type]" /> 300 300 <p id="menu-item-url-wrap" class="wp-clearfix"> 301 301 <label class="howto" for="custom-menu-item-url"><?php _e( 'URL' ); ?></label> 302 <input id="custom-menu-item-url" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-url]" type="text"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="code menu-item-textbox " placeholder="https://" />302 <input id="custom-menu-item-url" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-url]" type="text"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="code menu-item-textbox form-required" placeholder="https://" /> 303 303 </p> 304 304 305 305 <p id="menu-item-name-wrap" class="wp-clearfix"> 306 306 <label class="howto" for="custom-menu-item-name"><?php _e( 'Link Text' ); ?></label> 307 <input id="custom-menu-item-name" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-title]" type="text"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="regular-text menu-item-textbox " />307 <input id="custom-menu-item-name" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-title]" type="text"<?php wp_nav_menu_disabled_check( $nav_menu_selected_id ); ?> class="regular-text menu-item-textbox form-required" /> 308 308 </p> 309 309 310 310 <p class="button-controls wp-clearfix"> -
src/wp-admin/nav-menus.php
961 961 <div id="nav-menu-header"> 962 962 <div class="major-publishing-actions wp-clearfix"> 963 963 <label class="menu-name-label" for="menu-name"><?php _e( 'Menu Name' ); ?></label> 964 <input name="menu-name" id="menu-name" type="text" class="menu-name regular-text menu-item-textbox " <?php echo $menu_name_val . $menu_name_aria_desc; ?> />964 <input name="menu-name" id="menu-name" type="text" class="menu-name regular-text menu-item-textbox form-required" required="required" <?php echo $menu_name_val . $menu_name_aria_desc; ?> /> 965 965 <div class="publishing-action"> 966 966 <?php submit_button( empty( $nav_menu_selected_id ) ? __( 'Create Menu' ) : __( 'Save Menu' ), 'primary large menu-save', 'save_menu', false, array( 'id' => 'save_menu_header' ) ); ?> 967 967 </div><!-- END .publishing-action -->