WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 7 weeks ago

#50585 reviewing defect (bug)

The Return Value of esc url raw() can be more accurate in its description

Reported by: stevenlinx Owned by: SergeyBiryukov
Milestone: 5.6 Priority: normal
Severity: normal Version:
Component: Formatting Keywords: has-patch
Focuses: docs Cc:

Description

"The cleaned $url after the 'clean_url' filter is applied. An empty string is returned if $url specifies a protocol other than those in $protocols, or if $url contains an empty string."

Codex:
https://codex.wordpress.org/Function_Reference/esc_url_raw

DevHub:
https://developer.wordpress.org/reference/functions/esc_url_raw/

Attachments (1)

50585.diff (829 bytes) - added by stevenlinx 2 months ago.

Download all attachments as: .zip

Change History (4)

@stevenlinx
2 months ago

#1 @stevenlinx
2 months ago

  • Keywords has-patch added; needs-patch removed

#2 @SergeyBiryukov
7 weeks ago

  • Milestone changed from Awaiting Review to 5.6

#3 @SergeyBiryukov
7 weeks ago

  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing
Note: See TracTickets for help on using tickets.