[wp-trac] [WordPress Trac] #23570: Add functions to extract a URL from an arbitrary string, HTML, or the current $post

WordPress Trac noreply at wordpress.org
Fri Mar 22 07:14:44 UTC 2013


#23570: Add functions to extract a URL from an arbitrary string, HTML, or the
current $post
----------------------------------------+------------------
 Reporter:  wonderboymusic              |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  3.6
Component:  Post Formats                |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch has-unit-tests  |
----------------------------------------+------------------

Comment (by helen):

 [attachment:23570.5.diff] adds a filter to `get_the_url()`, corrects a
 little doc, and checks for the quote format as well as link. Do we need
 anything in `get_content_url()`? I guess I could see somebody wanting
 that.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23570#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list