Changeset 4626 for trunk/wp-includes/plugin.php
- Timestamp:
- 12/07/2006 03:57:23 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/plugin.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/plugin.php
r4424 r4626 10 10 // check that we don't already have the same filter at the same priority 11 11 if ( isset($wp_filter[$tag]["$priority"]) ) { 12 foreach ($wp_filter[$tag]["$priority"] as $filter) {12 foreach ( $wp_filter[$tag]["$priority"] as $filter ) { 13 13 // uncomment if we want to match function AND accepted_args 14 14 // if ( $filter == array($function, $accepted_args) ) { … … 136 136 foreach ( (array) $wp_filter[$tag] as $priority => $functions ) { 137 137 if ( !is_null($functions) ) { 138 foreach ( (array) $functions as $function ) {138 foreach ( (array) $functions as $function ) { 139 139 $function_name = $function['function']; 140 140 $accepted_args = $function['accepted_args'];
Note: See TracChangeset
for help on using the changeset viewer.