[wp-hackers] Introduce yourself

Ryan Boren ryan at boren.nu
Tue Jun 22 19:26:40 UTC 2004


On Tue, 2004-06-22 at 14:17, Owen Winkler wrote:
> > You can work with the DOM and place whatever you like 
> > wherever you like it in the edit form.  See attached plugin 
> > for a simple example.
> 
> It's not obvious to me that form elements should be (optionally) added
> to every admin header.  This seems like a true hack, rather than
> WordPress directly facilitating customization.
> 
> Won't inserting a fieldset into the head tag cause the admin page to
> fail XHTML validation?  Or does validation only apply after the script
> has executed?

It's not added to head, it's added right before the close of the body
tag and then repositioned.  But, yes, using the admin_footer action like
this is rather hackish.  I'd like to see something more elegant and
easier for plugin authors to use.

Ryan





More information about the hackers mailing list