WordPress.org

Make WordPress Core

Ticket #46312: 46312.2.diff

File 46312.2.diff, 973 bytes (added by mukesh27, 5 months ago)

Updated Patch.

  • wp-includes/class-wp-customize-nav-menus.php

    diff --git a/wp-includes/class-wp-customize-nav-menus.php b/wp-includes/class-wp-customize-nav-menus.php
    index a6bae20..98f219e 100644
    a b final class WP_Customize_Nav_Menus { 
    11871187                                <input type="hidden" value="custom" id="custom-menu-item-type" name="menu-item[-1][menu-item-type]" />
    11881188                                <p id="menu-item-url-wrap" class="wp-clearfix">
    11891189                                        <label class="howto" for="custom-menu-item-url"><?php _e( 'URL' ); ?></label>
    1190                                         <input id="custom-menu-item-url" name="menu-item[-1][menu-item-url]" type="text" class="code menu-item-textbox" value="http://">
     1190                                        <input id="custom-menu-item-url" name="menu-item[-1][menu-item-url]" type="text" class="code menu-item-textbox" placeholder="https://">
    11911191                                </p>
    11921192                                <p id="menu-item-name-wrap" class="wp-clearfix">
    11931193                                        <label class="howto" for="custom-menu-item-name"><?php _e( 'Link Text' ); ?></label>