diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-12-07 16:58:13 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-12-07 16:58:13 +0000 |
commit | f9d5ef9fbb062b0c44c09207f947b515ab6dc66e (patch) | |
tree | d1cfa030e80a5f08ac79fb21281e647ee8a86026 /wp-includes/plugin.php | |
parent | d3ac809ed8a43bde6ea954329b3291fd9ca4aad5 (diff) | |
download | wordpress-mu-f9d5ef9fbb062b0c44c09207f947b515ab6dc66e.tar.gz wordpress-mu-f9d5ef9fbb062b0c44c09207f947b515ab6dc66e.tar.xz wordpress-mu-f9d5ef9fbb062b0c44c09207f947b515ab6dc66e.zip |
WP Merge to rev 4626
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@821 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-includes/plugin.php')
-rw-r--r-- | wp-includes/plugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/plugin.php b/wp-includes/plugin.php index 64ceb9a..e06869f 100644 --- a/wp-includes/plugin.php +++ b/wp-includes/plugin.php @@ -9,7 +9,7 @@ function add_filter($tag, $function_to_add, $priority = 10, $accepted_args = 1) // check that we don't already have the same filter at the same priority if ( isset($wp_filter[$tag]["$priority"]) ) { - foreach($wp_filter[$tag]["$priority"] as $filter) { + foreach ( $wp_filter[$tag]["$priority"] as $filter ) { // uncomment if we want to match function AND accepted_args // if ( $filter == array($function, $accepted_args) ) { if ( $filter['function'] == $function_to_add ) @@ -153,7 +153,7 @@ function do_action_ref_array($tag, $args) { foreach ( (array) $wp_filter[$tag] as $priority => $functions ) { if ( !is_null($functions) ) { - foreach( (array) $functions as $function ) { + foreach ( (array) $functions as $function ) { $function_name = $function['function']; $accepted_args = $function['accepted_args']; if ( $accepted_args > 0 ) |