WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#11760 closed defect (bug) (duplicate)

deprecate sanitize_url() and clean_url()

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:

Description

We've had esc_url_raw() since WP 2.8. We should now deprecate the two above-mentioned functions and clean up the code.

Change History (2)

comment:1 Denis-de-Bernardy4 years ago

Or rather, we should at least obsolete sanitize_url(), and mark clean_url() as "for internal use only, use esc_url() and esc_url_raw() instead".

comment:2 nacin4 years ago

  • Milestone 3.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.