diff --git a/wp-includes/class-wp-customize-nav-menus.php b/wp-includes/class-wp-customize-nav-menus.php
index a6bae20..f82c855 100644
a
|
b
|
final class WP_Customize_Nav_Menus { |
1174 | 1174 | * @return void |
1175 | 1175 | */ |
1176 | 1176 | protected function print_custom_links_available_menu_item() { |
| 1177 | |
| 1178 | $_nav_custom_menu_item_url = is_ssl() ? 'https://' : 'http://'; |
| 1179 | |
1177 | 1180 | ?> |
1178 | 1181 | <div id="new-custom-menu-item" class="accordion-section"> |
1179 | 1182 | <h4 class="accordion-section-title" role="presentation"> |
… |
… |
final class WP_Customize_Nav_Menus { |
1187 | 1190 | <input type="hidden" value="custom" id="custom-menu-item-type" name="menu-item[-1][menu-item-type]" /> |
1188 | 1191 | <p id="menu-item-url-wrap" class="wp-clearfix"> |
1189 | 1192 | <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://"> |
| 1193 | <input id="custom-menu-item-url" name="menu-item[-1][menu-item-url]" type="text" class="code menu-item-textbox" value="" placeholder="<?php echo $_nav_custom_menu_item_url; ?>" /> |
1191 | 1194 | </p> |
1192 | 1195 | <p id="menu-item-name-wrap" class="wp-clearfix"> |
1193 | 1196 | <label class="howto" for="custom-menu-item-name"><?php _e( 'Link Text' ); ?></label> |