I think I'd regard this is a bug, it looks like the code was just matching the old add_to_log call being fired before this happened.
General developer forum
edit_module_post_actions() called *after* events raised
This discussion has been locked so you can no longer reply to it.