WordPress.org

Make WordPress Core

Opened 19 months ago

Closed 18 months ago

Last modified 11 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 19 months ago.

Download all attachments as: .zip

Change History (9)

#1 @marekdedic
19 months ago

Also holds for esc_url_raw()

#2 @johnbillion
19 months ago

  • Keywords needs-patch good-first-bug added

#3 @desrosj
19 months ago

  • Milestone changed from Awaiting Review to 5.4

#4 @SergeyBiryukov
19 months ago

  • Component changed from General to Formatting

@amolv
19 months ago

#5 @amolv
19 months ago

  • Keywords has-patch added; needs-patch removed

48353.patch to update parameter documentation.

#6 @SergeyBiryukov
19 months ago

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

#7 @audrasjb
18 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
11 months ago

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