Make WordPress Core

Opened 12 years ago

Closed 11 years ago

#28632 closed enhancement (wontfix)

`set_url_scheme()` should allow protocol-relative as a scheme argument

Reported by: johnbillion Owned by:
Priority: low Milestone:
Component: Formatting Version: 3.4
Severity: minor Keywords: has-patch
Cc: Focuses:

Description

set_url_scheme() accepts 'relative' as a scheme, but there's nothing for protocol-relative. I recently had a use for this.

Attachments (1)

28632.patch (3.0 KB ) - added by johnbillion 12 years ago.

Download all attachments as: .zip

Change History (3)

@johnbillion
12 years ago

#1 @johnbillion
12 years ago

  • Keywords has-patch added

#2 @johnbillion
11 years ago

  • Milestone Awaiting Review
  • Resolutionwontfix
  • Status newclosed

Protocol-relative URLs are considered an anti-pattern these days, and set_url_scheme() could do without further complication.

Note: See TracTickets for help on using tickets.