[wp-trac] [WordPress Trac] #25584: Add an action hook at the end of wpmu_delete_blog

WordPress Trac noreply at wordpress.org
Thu Nov 21 19:13:07 UTC 2013


#25584: Add an action hook at the end of wpmu_delete_blog
-------------------------------------------+------------------
 Reporter:  pauldewouters                  |       Owner:
     Type:  enhancement                    |      Status:  new
 Priority:  normal                         |   Milestone:  3.8
Component:  Multisite                      |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  has-patch commit dev-feedback  |
-------------------------------------------+------------------
Changes (by DrewAPicture):

 * keywords:  has-patch commit => has-patch commit dev-feedback


Comment:

 Worth noting that the parent function is named `wpmu_delete_blog`, and
 this hook would be preceded by a `delete_blog` hook. So perhaps in the
 name of consistency we should go with `deleted_blog` vs `deleted_site`.

 If at some time in the future this functions gets renamed to say,
 `wp_delete_site`, I'd imagine the hook would remain in the name of
 posterity and back-compat. I think either situation (renaming or renaming
 the function), I'd prefer the hooks match. That's just me.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25584#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list