[wp-trac] [WordPress Trac] #27185: [[gallery]] not supported by editor

WordPress Trac noreply at wordpress.org
Sat Feb 22 17:14:36 UTC 2014


#27185: [[gallery]] not supported by editor
--------------------------+-----------------------------------------
 Reporter:  wpweaver      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.9
Component:  TinyMCE       |     Version:  3.8.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript, administration
--------------------------+-----------------------------------------
Changes (by ocean90):

 * keywords:   => has-patch
 * milestone:  Awaiting Review => 3.9


Comment:

 [attachment:27185.patch] changes the RegEx to match an optional second
 opening and closing bracket. (Same as in get_shortcode_regex()). The
 callback checks if the match starts with `[[`. If true, just return the
 match, otherwise call the html callback.

 We probably need the same for the video and audio shortcode.

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


More information about the wp-trac mailing list