[wp-trac] [WordPress Trac] #44042: Hook for ‘delete_option’ behaviour required

WordPress Trac noreply at wordpress.org
Sat Aug 17 01:58:55 UTC 2019


#44042: Hook for ‘delete_option’ behaviour required
-------------------------------------------------+-------------------------
 Reporter:  RobertoDonPedro                      |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Options, Meta APIs                   |     Version:  1.2
 Severity:  normal                               |  Resolution:
 Keywords:  good-first-bug has-patch dev-        |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by donmhico):

 * Attachment "44042.2.diff" added.

 Changed the new filter name to `pre_delete_option` and added unit tests.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44042>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list