[wp-trac] [WordPress Trac] #10554: Duplicate filter for pre-update option modification
WordPress Trac
wp-trac at lists.automattic.com
Thu Aug 6 08:01:10 UTC 2009
#10554: Duplicate filter for pre-update option modification
-------------------------+--------------------------------------------------
Reporter: Adrian Lang | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: Unassigned
Component: Plugins | Version:
Severity: minor | Keywords:
-------------------------+--------------------------------------------------
In [8247], the filter „pre_update_option_{$option_name}“ has been
introduced after request in #7233. Yet there already is
„sanitize_option_{$option}“ that serves the same purpose as has been
pointed out in #5208.
Please clarify which of those should be used and deprecate/remove the
other one. In any case, please change „'pre_update_option_' .
$option_name“ to „"pre_update_option_{$option_name}"“ for automatic
documentation tools.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10554>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list