concrete5/concrete5-5.7.0 — pull request #1332 by infostreams (2014-10-14 14:36:33+00:00)
Title: on_page_add should have access to the newly created page

When the `on_page_add` event is called, it should pass in a reference to the *new* page instead of to `$this` (which in my case resolved to the "drafts" system page). Otherwise there is no way to get to the newly created page, since not even the cID of the new page is stored... Also, I can't think of a situation where it is useful to get a link to the "drafts" page when you're adding a new page. Therefore, I think this is/was probably a bug.