WordPress.org

Make WordPress Core

Opened 9 months ago

Closed 8 months ago

Last modified 4 weeks 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 9 months ago.

Download all attachments as: .zip

Change History (9)

#1 @marekdedic
9 months ago

Also holds for esc_url_raw()

#2 @johnbillion
9 months ago

  • Keywords needs-patch good-first-bug added

#3 @desrosj
9 months ago

  • Milestone changed from Awaiting Review to 5.4

#4 @SergeyBiryukov
9 months ago

  • Component changed from General to Formatting

@amolv
9 months ago

#5 @amolv
9 months ago

  • Keywords has-patch added; needs-patch removed

48353.patch to update parameter documentation.

#6 @SergeyBiryukov
9 months ago

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

#7 @audrasjb
8 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
4 weeks ago

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