Inconsistent Hook Names
Not really a bug, but consistency is good. In Post.subs.php createPost()
integrate_create_post <= Just before a post is created
integrate_after_create_post <= Just after a post is created.
integrate_before_create_topic <= Equivalent to integrate_create_post, but this one gets a before
integrate_create_topic <= Equivalent to integrate_after_create_post, but looks like integrate_create_post
There's also two integrate_modify which I believe are equivalent to integrate_create_post, so it's probably the topic ones that maybe should be renamed.
Re: Inconsistent Hook Names
Reply #2 –
By the two modify ones being equivalent to create_post I meant that they both happened before the modify did, giving you a chance to change things (exactly what I needed). So they would be integrate_before_modify_xxx if you go with your proposed naming. I'd be fine with that.