[wp-hackers] shortcodes with dash conflict?
    Ozh 
    ozh at ozh.org
       
    Thu Aug  4 15:19:22 UTC 2011
    
    
  
See http://core.trac.wordpress.org/ticket/17657
> This morning I was contacted by someone using my plugin, Media-Tags.
> The reported issues is the shortcode I'm providing via the plugin 
> [media-tags] is somehow being hijacked by another plugin, wordTube. 
> 
> So I downloaded this wordTube plugin. And found where is registers a
> shortcode [media]. And was able to confirm when I add my plugin's 
> shortcode [media-tags] to a Page it will somehow be passed to the 
> wordTube plugin instead of my Media-Tags plugin. 
> 
> So my question is should I instead be using [mediatags] or 
> [media_tags] instead of [media-tags]? Is there something in the 
> regex pattern matching where the dash is effecting the logic? Anyone?
> 
> P-
> 
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
    
    
More information about the wp-hackers
mailing list