[wp-trac] Re: [WordPress Trac] #4715: Lost of Priority with
Merge_filters and $wp_filters['all']
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 10 15:30:43 GMT 2007
#4715: Lost of Priority with Merge_filters and $wp_filters['all']
------------------------------------------------------------------+---------
Reporter: darkdragon | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4 (future)
Component: General | Version: 2.3
Severity: normal | Resolution:
Keywords: has-patch merge_filters filters plugin.php confirmed |
------------------------------------------------------------------+---------
Changes (by santosj):
* keywords: has-patch merge_filters filters plugin => has-patch
merge_filters filters plugin.php confirmed
Comment:
This has been confirmed by unit tests. Using array_merge reconstructs the
priority and destroys the relevant information needed for removal.
This is still only applicable if someone uses {{{add_filter('all',
'function');}}}.
--
Ticket URL: <http://trac.wordpress.org/ticket/4715#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list