WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40353, comment 15


Ignore:
Timestamp:
07/26/2017 12:22:45 PM (2 years ago)
Author:
loru88
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40353, comment 15

    initial v1  
    1 as @rachelbaker said [https://core.trac.wordpress.org/ticket/40353#comment:4 here], we cannot user `filter` function
     1I don't think so, how would you use it?
     2Once I tried this
     3{{{#!php
     4<?php
     5
     6if( esc_url($url) == $url ){
     7  valid url
     8}
     9
     10}}}
     11
     12but it doesn't check if it is a syntactically valid URL.
     13
     14and as @rachelbaker said [https://core.trac.wordpress.org/ticket/40353#comment:4 here], we cannot user `filter` function
    215
    316