Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#48353 closed enhancement (fixed)

Stricter docs for esc_url

Reported by: marekdedic's profile marekdedic Owned by: sergeybiryukov's profile 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 5 years ago.

Download all attachments as: .zip

Change History (9)

#1 @marekdedic
5 years ago

Also holds for esc_url_raw()

#2 @johnbillion
5 years ago

  • Keywords needs-patch good-first-bug added

#3 @desrosj
5 years ago

  • Milestone changed from Awaiting Review to 5.4

#4 @SergeyBiryukov
5 years ago

  • Component changed from General to Formatting

@amolv
5 years ago

#5 @amolv
5 years ago

  • Keywords has-patch added; needs-patch removed

48353.patch to update parameter documentation.

#6 @SergeyBiryukov
5 years ago

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

#7 @audrasjb
5 years 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 years ago

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