From 8198dc5328c3db17108b92edad0749840c6861ca Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Thu, 25 Mar 2004 06:11:28 +0000 Subject: [PATCH] Typo fixes to do_action and generic_ping git-svn-id: https://develop.svn.wordpress.org/trunk@1007 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index c3ab4785c8..dfa393edd8 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -597,7 +597,7 @@ function weblog_ping($server = '', $path = '') { function generic_ping($post_id = 0) { $services = get_settings('ping_sites'); - $services = preg_replace("|(\s)+|", '$1', $serivces); // Kill dupe lines + $services = preg_replace("|(\s)+|", '$1', $services); // Kill dupe lines $services = explode("\n", trim($services)); foreach ($services as $service) { $uri = parse_url($service); @@ -1286,7 +1286,7 @@ function remove_filter($tag, $function_to_remove, $priority = 10) { // The *_action functions are just aliases for the *_filter functions, they take special strings instead of generic content function do_action($tag, $string) { - return apply_filter($tag, $string); + return apply_filters($tag, $string); } function add_action($tag, $function_to_add, $priority = 10) {