WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/26/2019 08:30:59 PM (8 weeks ago)
Author:
whyisjake
Message:

Menus: Replace http with https in placeholders.

Encourage the use of https with the placeholder text in menus.

Fixes #46312
Props aksl95, audrasjb, celloexpressions, SergeyBiryukov, jorbin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-customize-nav-menus.php

    r45932 r46330  
    11931193                <p id="menu-item-url-wrap" class="wp-clearfix">
    11941194                    <label class="howto" for="custom-menu-item-url"><?php _e( 'URL' ); ?></label>
    1195                     <input id="custom-menu-item-url" name="menu-item[-1][menu-item-url]" type="text" class="code menu-item-textbox" value="http://">
     1195                    <input id="custom-menu-item-url" name="menu-item[-1][menu-item-url]" type="text" class="code menu-item-textbox" placeholder="https://">
    11961196                </p>
    11971197                <p id="menu-item-name-wrap" class="wp-clearfix">
Note: See TracChangeset for help on using the changeset viewer.