Make WordPress Core

Opened 4 months ago

Last modified 4 months ago

#41482 new enhancement

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

Reported by: umangvaghela123 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.8
Component: HTTP API Keywords:
Focuses: Cc:


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 4 months ago.

Download all attachments as: .zip

Change History (2)

#1 @SergeyBiryukov
4 months ago

  • Component changed from General to HTTP API

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

Note: See TracTickets for help on using tickets.