WordPress.org

Make WordPress Core

Opened 14 months ago

Closed 13 months ago

Last modified 5 months ago

#48353 closed enhancement (fixed)

Stricter docs for esc_url

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

Description

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

Attachments (1)

48353.patch (1006 bytes) - added by amolv 14 months ago.

Download all attachments as: .zip

Change History (9)

#1 @marekdedic
14 months ago

Also holds for esc_url_raw()

#2 @johnbillion
14 months ago

  • Keywords needs-patch good-first-bug added

#3 @desrosj
14 months ago

  • Milestone changed from Awaiting Review to 5.4

#4 @SergeyBiryukov
14 months ago

  • Component changed from General to Formatting

@amolv
14 months ago

#5 @amolv
14 months ago

  • Keywords has-patch added; needs-patch removed

48353.patch to update parameter documentation.

#6 @SergeyBiryukov
13 months ago

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

#7 @audrasjb
13 months ago

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

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

#8 @ocean90
5 months ago

  • Milestone set to 5.4
Note: See TracTickets for help on using tickets.