Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#11760 closed defect (bug) (duplicate)

deprecate sanitize_url() and clean_url()

Reported by: denis-de-bernardy's profile 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)

#1 @Denis-de-Bernardy
15 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".

#2 @nacin
15 years ago

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