[wp-trac] [WordPress Trac] #20651: Inconsistent MS API: delete_site_option action hook is only called AFTER deletion, unlike delete_option
WordPress Trac
wp-trac at lists.automattic.com
Thu May 10 13:32:46 UTC 2012
#20651: Inconsistent MS API: delete_site_option action hook is only called AFTER
deletion, unlike delete_option
------------------------------------+------------------------------
Reporter: danielnashnz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Multisite | Version: 3.3.2
Severity: normal | Resolution:
Keywords: dev-feedback has-patch |
------------------------------------+------------------------------
Changes (by scribu):
* keywords: dev-feedback => dev-feedback has-patch
Comment:
What a mess. [attachment:20651.diff]:
* add 'pre_delete_site_option' and call it only if the option exists
* add 'pre_delete_option_{$option}'
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20651#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list