[wp-hackers] Structured Blogging - getting extra plugin hooks inserted in the WP code

Matt Mullenweg m at mullenweg.com
Tue Dec 13 11:38:44 GMT 2005


Phillip Pearson wrote:
> The reason I'm writing here is that to change the editing interface this 
> extensively, we had to step outside the plugin API.  We've copied 
> post.php to sb-post-common.php and edit-form.php to sb-edit-form.php, 
> made our changes in there, and used them when publishing the new post 
> types.  This isn't much fun, as it means we need to track post.php and 
> edit-form.php and release a new version whenever anything important 
> happens.

First off, instead of having directories and files all over the place 
the best practice is to have everything within a directory in the 
plugins folder. See plugins like Spam Karma or Bad Behavior for how this 
is done. Until you do that I wouldn't even call what you're doing a 
"plugin."

> If we submit a patch to add plugin API hooks to do these things, is 
> there a chance of having it considered for WP1.6?

Definitely the redirect part, the rest seem like they could be done with 
output buffering or DOM manipulation.

-- 
Matt Mullenweg
  http://photomatt.net | http://wordpress.org
http://pingomatic.com | http://akismet.com


More information about the wp-hackers mailing list