[wp-trac] [WordPress Trac] #14481: Shortcode Enhancements

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 3 01:40:48 UTC 2010


#14481: Shortcode Enhancements
-------------------------+--------------------------------------------------
 Reporter:  deadowl      |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Shortcodes   |     Version:  3.0            
 Severity:  normal       |    Keywords:  has-patch      
-------------------------+--------------------------------------------------

Comment(by deadowl):

 Replying to [comment:11 aaroncampbell]:
 > I haven't tested the proposed patch yet, but here's a thought: Say there
 was a popular plugin that uses an address shortcode and drops in a Google
 Map.  Another plugin could be made that uses that same shortcode to drop
 in the proper micro-formatting for an address.

 Yea, the proposed patch is accidentally broken-ish atm. A syntax error at
 a comment, misimplemented shortcode_atts, and an incorrect parse tree.

 > It really will only help if plugin developers attempt to standardize
 certain shortcodes.  However, all the cases I can think of could also be
 managed pretty easily of the original plugin author added the necessary
 hooks to their plugin...but we all know that doesn't happen.

 I had started to work on some compat expressions that could be parsed and
 then throw a deprecation warning when evaluated. I don't know if the same
 would be possible for accessing positional attributes.

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


More information about the wp-trac mailing list