[wp-trac] [WordPress Trac] #11394: Image shortcode

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 9 16:28:06 UTC 2010


#11394: Image shortcode
-----------------------------+----------------------------------------------
 Reporter:  caesarsgrunt     |       Owner:                          
     Type:  feature request  |      Status:  new                     
 Priority:  normal           |   Milestone:  3.1                     
Component:  Media            |     Version:  2.9                     
 Severity:  normal           |    Keywords:  needs-patch dev-feedback
-----------------------------+----------------------------------------------

Comment(by caesarsgrunt):

 There are already attributes duplicated between the {{{[caption]}}}
 shortcode and the {{{<img>}}} tag. If we kept the {{{[caption]}}}
 shortcode separate, then these would still have to be duplicated. On the
 other hand, if we were to give the {{{[image]}}} shortcode a {{{caption}}}
 attribute, then we needn't wrap it in the {{{[caption]}}} shortcode and
 the attributes wouldn't need to be duplicated.

 In my mind the current system is very messy, and an {{{[image]}}} or
 {{{[media]}}} shortcode would allow us to tidy it up immensely.

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


More information about the wp-trac mailing list