[wp-hackers] Structured Blogging - getting extra plugin hooks
inserted in the WP code
pp at myelin.co.nz
Tue Dec 13 12:04:20 GMT 2005
Matt Mullenweg wrote:
> 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."
Sounds like a sensible thing to do.
After that, how would we be looking in terms of qualifying as 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.
Cool. Will see about doing that...
More information about the wp-hackers