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

WordPress Trac noreply at wordpress.org
Fri Apr 2 19:37:33 UTC 2021


#52886: Update esc_url to allow for specifying an https:// as default protocol
----------------------------------------+---------------------
 Reporter:  mkaz                        |       Owner:  (none)
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  5.8
Component:  Formatting                  |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+---------------------

Comment (by SergeyBiryukov):

 Thanks for the patch!

 Just noting that the `@since` tag should be in the function DocBlock,
 after `@since 2.8.0`, and should follow this format for consistency:
 {{{
 @since 5.8.0 Added the `$default_protocol` parameter.
 }}}

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


More information about the wp-trac mailing list