WordPress.org

Make WordPress Core

Ticket #35685: 35685.diff

File 35685.diff, 878 bytes (added by christophherr, 4 years ago)

Removes the default value from the Custom Links URL input field

  • src/wp-admin/includes/nav-menu.php

     
    265265                <input type="hidden" value="custom" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-type]" />
    266266                <p id="menu-item-url-wrap" class="wp-clearfix">
    267267                        <label class="howto" for="custom-menu-item-url"><?php _e( 'URL' ); ?></label>
    268                         <input id="custom-menu-item-url" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-url]" type="text" class="code menu-item-textbox" value="http://" />
     268                        <input id="custom-menu-item-url" name="menu-item[<?php echo $_nav_menu_placeholder; ?>][menu-item-url]" type="text" class="code menu-item-textbox" />
    269269                </p>
    270270
    271271                <p id="menu-item-name-wrap" class="wp-clearfix">