On Wed, Jan 12, 2011 at 5:53 PM, Jeroen De Dauw
<jeroendedauw(a)gmail.com>wrote;wrote:
Hey,
I think <display map> would be parsed as
the tag hook "display" with a
parameter "map"="map".
Would this prevent any use of the hook registered as
the tag "display map"...?
This code has been there for a few months now, and appears to be working as
expected. The tag extension gets handled properly and no "map" parameter is
passed along.
That seems highly contrary to expectations when dealing with tag hooks. What
if there's a tag hook "display" registered by another plugin, does it get
overridden? Overridden only if a "map" parameter is supplied?
-- brion
It is order dependant.
If you install the extension providing 'display', then the one providing
'display map', the latter will never be called. If 'display map' gets
registered first, both will work (your users might get annoyed, though).
Guess what I tried to do in r80025? :)