[wp-trac] [WordPress Trac] #28222: wp_extract_urls recognize a date as a url

WordPress Trac noreply at wordpress.org
Mon Jun 30 14:56:39 UTC 2014


#28222: wp_extract_urls recognize a date as a url
------------------------------+-----------------------------
 Reporter:  sergej.mueller    |       Owner:  wonderboymusic
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  4.0
Component:  Pings/Trackbacks  |     Version:  3.7
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------

Comment (by hinnerk):

 I've added the /x modifier for better readability, only. I prefer doing
 this in longer regular expressions.
 All whitespaces in the pattern are totally ignored (see
 http://www.php.net/manual/en/reference.pcre.pattern.modifiers.php).

 If you don't like, I will strip it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/28222#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list