[wp-trac] [WordPress Trac] #14481: Shortcode Enhancements
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 4 23:53:30 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:8 scribu]:
> > Can register multiple hooks to single shortcode, uses priority
(default: 10)
>
> Why do you need that? Please provide a usage example.
I am going to distribute a plugin that provides a set of shortcodes. There
will be different variations in the needs of the users who use my plugin.
Instead of maintaining one monolithic plugin that meets all of my users
needs, I can provide a basic framework that the users can extend to meet
their needs. They can further distribute their own extensions that apply
to existing posts without requiring edits to a large backlog of posts to
implement in full.
See http://en.wikipedia.org/wiki/Extensibility
Additionally, the add/remove/has/etc functions are consistent with the
filter and action core functions of Wordpress.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14481#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list