[wp-trac] [WordPress Trac] #14481: Shortcode Enhancements
WordPress Trac
wp-trac at lists.automattic.com
Tue Aug 3 01:28:47 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 aaroncampbell):
Replying to [comment:8 scribu]:
> Ok, I don't think backwards compatibility will be a problem.
>
> > Can register multiple hooks to single shortcode, uses priority
(default: 10)
>
> Why do you need that? Please provide a usage example.
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.
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14481#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list