[wp-trac] [WordPress Trac] #52886: Update esc_url to allow for specifying an https:// as default protocol

WordPress Trac noreply at wordpress.org
Mon Nov 24 09:00:30 UTC 2025


#52886: Update esc_url to allow for specifying an https:// as default protocol
-------------------------------------------------+-------------------------
 Reporter:  mkaz                                 |       Owner:
                                                 |  SergeyBiryukov
     Type:  enhancement                          |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.9
Component:  Formatting                           |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests has-dev-    |     Focuses:
  note dev-feedback                              |
-------------------------------------------------+-------------------------

Comment (by wildworks):

 > Reopening for merging [61273] to 6.9 pending another committers sign-
 off.

 Just to confirm, should we update the PHPDoc for deprecated functions as
 well? If so, I think we may also need to update the PHPDoc for the
 `clean_url()` function.

 https://github.com/WordPress/wordpress-
 develop/blob/cd301d0c833e6d69ab8b6502c1820b7190085d73/src/wp-
 includes/deprecated.php#L2044

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52886#comment:28>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list