Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#41482 closed enhancement (maybelater)

It is fine if we create validate_url function to validate URL.

Reported by: umangvaghela123's profile umangvaghela123 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.8
Component: HTTP API Keywords:
Focuses: Cc:

Description

If we include validate_url function in WordPress so developer easily uses the function for validating URL instead of using another validate function.

Attachments (1)

41482.patch (3.8 KB) - added by umangvaghela123 6 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
6 years ago

  • Component changed from General to HTTP API

wp_http_validate_url() function already exists, is there a use case it doesn't cover?

#2 @dd32
6 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to maybelater
  • Status changed from new to closed

I think the existing functions cover it enough here - probably don't need another one.

Note: See TracTickets for help on using tickets.