Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#41482 closed enhancement (maybelater)

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

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

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 9 years ago.

Download all attachments as: .zip

Change History (3)

#1 @SergeyBiryukov
9 years ago

  • Component General → HTTP API

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

#2 @dd32
9 years ago

  • Milestone Awaiting Review
  • Resolution → maybelater
  • Status new → closed

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

Note: See TracTickets for help on using tickets.