[wp-trac] [WordPress Trac] #44042: Hook for ‘delete_option’ behaviour required
WordPress Trac
noreply at wordpress.org
Fri May 11 08:11:35 UTC 2018
#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: needs-patch good-first-bug | Focuses:
----------------------------------------+-----------------------------
Changes (by danieltj):
* keywords: => needs-patch good-first-bug
* type: defect (bug) => enhancement
* version: => 1.2
* component: General => Options, Meta APIs
* milestone: Awaiting Review => Future Release
Comment:
Hi @RobertoDonPedro, welcome to Core Trac.
It won't be possible to add this to Core straight away, but after
reviewing the other similar functions such as `add_option` and
`update_option`, they do both have methods are bailing out early through a
filter.
I think this is a good idea and something worth exploring considering what
is already available within Core, it would definitely bring the
`delete_option` inline with the others.
I've tagged this as `good-first-bug` because I think this would be quite a
nice one for someone new to have a go at.
Thanks!
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44042#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list