WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #12108, comment 1


Ignore:
Timestamp:
03/09/2014 08:11:41 AM (7 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12108, comment 1

    initial v1  
    1212                wp_delete_attachment($id);
    1313}
    14 add_action('delete_post', 'delete_post_children');
     14add_action('before_delete_post', 'delete_post_children');
    1515}}}