[wp-trac] Re: [WordPress Trac] #6812: Image captions

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 11 21:11:39 GMT 2008


#6812: Image captions
----------------------------+-----------------------------------------------
 Reporter:  matt            |        Owner:  azaozz
     Type:  enhancement     |       Status:  new   
 Priority:  normal          |    Milestone:  2.6   
Component:  Administration  |      Version:  2.5   
 Severity:  normal          |   Resolution:        
 Keywords:  has-patch       |  
----------------------------+-----------------------------------------------
Comment (by azaozz):

 Replying to [comment:22 Otto42]:
 > You don't need a constant to not display the captions. Just either don't
 use the shortcode or hide them using CSS.
 >
 > Instead of a useless constant, simply make a checkbox for captions
 on/off on the image insertion screen.

 It's very easy to stop displaying the captions on the blog. Registering an
 empty shortcode that returns the <img> tag would do it (the <img> tag is
 the content of the [caption] shortcode).

 Not so easy to disable the adding of captions when inserting or editing an
 image in the editor though. Of course it can be done with another checkbox
 in the user's settings, or a checkbox/cookie from js, but that would make
 it harder for themes/plugins. They will have to support both states,
 disabled and enabled, as it would be an user setting.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6812#comment:26>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list