Merge remote-tracking branch 'rxu3/ticket/12260' into develop

* rxu3/ticket/12260:
  [ticket/12260] Add core events to delete_posts() function.