[wp-trac] [WordPress Trac] #18311: Support HTML in image captions.

WordPress Trac wp-trac at lists.automattic.com
Fri May 18 23:34:22 UTC 2012


#18311: Support HTML in image captions.
-----------------------------+----------------------
 Reporter:  prettyboymp      |       Owner:  sushkov
     Type:  task (blessed)   |      Status:  closed
 Priority:  highest omg bbq  |   Milestone:  3.4
Component:  Editor           |     Version:
 Severity:  blocker          |  Resolution:  fixed
 Keywords:  has-patch        |
-----------------------------+----------------------

Comment (by azaozz):

 Replying to [comment:83 sushkov]:
 > Tests are still left aside, any chances we get those merged?

 Looking through the tests: wouldn't it be simpler/more robust to feed them
 a shortcode string and compare the HTML string that comes out to what it
 should be? Using `assertEquals( 1, preg_match_all(
 "~...*{$content_preg}~", $result, $_r ) );` seems like a complicated way
 to do it.

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


More information about the wp-trac mailing list