Timeline for Why is there both a save_post and wp_insert_post action?
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 27, 2016 at 19:44 | comment | added | Tim Malone | Great finds, thanks John! I guess we can summarise: a hook was accidentally removed; not realising that, a new hook was added where one was missing; the previous hook was then re-added for back-compat. Because the hooks are only in use in one other place and are used together there too, with no difference between them, and there's little chance either will be removed now, it simply doesn't matter which one we choose. | |
Jun 27, 2016 at 19:41 | vote | accept | Tim Malone | ||
Jun 26, 2016 at 23:38 | history | answered | John P Bloch | CC BY-SA 3.0 |