Make WordPress Core

Opened 8 weeks ago

Closed 4 weeks ago

#48353 closed enhancement (fixed)

Stricter docs for esc_url

Reported by: marekdedic Owned by: SergeyBiryukov
Milestone: Priority: normal
Severity: minor Version: 5.2
Component: Formatting Keywords: has-patch
Focuses: docs Cc:
PR Number:


The parameter $protocols can be narrowed from array to string[].

Attachments (1)

48353.patch (1006 bytes) - added by amolv 8 weeks ago.

Download all attachments as: .zip

Change History (8)

#1 @marekdedic
8 weeks ago

Also holds for esc_url_raw()

#2 @johnbillion
8 weeks ago

  • Keywords needs-patch good-first-bug added

#3 @desrosj
8 weeks ago

  • Milestone changed from Awaiting Review to 5.4

#4 @SergeyBiryukov
8 weeks ago

  • Component changed from General to Formatting

8 weeks ago

#5 @amolv
8 weeks ago

  • Keywords has-patch added; needs-patch removed

48353.patch to update parameter documentation.

#6 @SergeyBiryukov
7 weeks ago

  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

#7 @audrasjb
4 weeks ago

  • Keywords good-first-bug removed
  • Milestone 5.4 deleted
  • Resolution set to fixed
  • Status changed from reviewing to closed

It was fixed by @johnbillion in changeset [46596].

Note: See TracTickets for help on using tickets.