[wp-trac] [WordPress Trac] #6050: Gallery shortcode in conflict with NextGEN Gallery

WordPress Trac wp-trac at lists.automattic.com
Fri Feb 29 20:06:52 GMT 2008


#6050: Gallery shortcode in conflict with NextGEN Gallery
--------------------------+-------------------------------------------------
 Reporter:  alexrabe      |       Owner:  anonymous
     Type:  task          |      Status:  new      
 Priority:  normal        |   Milestone:  2.5      
Component:  Optimization  |     Version:  2.5      
 Severity:  normal        |    Keywords:           
--------------------------+-------------------------------------------------
 NextGEN Gallery uses from the beginning the shortcode : '''[gallery=id]'''
 ([http://wordpress.org/extend/plugins/nextgen-gallery/faq/ see here])

 The new core gallery shortcode '''[gallery]''' gets then in conflict with
 existing one. I know that I can remove the code with
 {{{
 remove_shortcode('gallery');
 }}}

 but I do not like this solution. It would be better if the new wp core
 shortcode could renamed to [wp-gallery]
 or
 the regex will be optimized that [gallery=1] will not detected as WP core
 shortcode.

 If any other solution leads to a coexistent , give me a note.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6050>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list