[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
Thu Mar 7 16:20:58 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:  has-patch needs-unit-tests  |
----------------------------------------+------------------
Changes (by nacin):

 * keywords:  has-patch => has-patch needs-unit-tests


Comment:

 get_content_link() really super needs unit tests for all of the scenarios
 covered. This is a textbook case where tests can drive development.

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


More information about the wp-trac mailing list