From 89fe0ff804e7c6497ebacc8b341ac89974f6f255 Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 21 May 2007 18:37:58 +0000 Subject: WP Merge to rev 5499, this is a big one! Test it before you put it live! Test only, not for production use yet git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@972 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/compat.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'wp-includes/compat.php') diff --git a/wp-includes/compat.php b/wp-includes/compat.php index 997307f..e68ec2a 100644 --- a/wp-includes/compat.php +++ b/wp-includes/compat.php @@ -118,4 +118,11 @@ if ( !function_exists('_') ) { } } +// Added in PHP 5.0 +if (!function_exists('stripos')) { + function stripos($haystack, $needle, $offset = 0) { + return strpos(strtolower($haystack), strtolower($needle), $offset); + } +} + ?> -- cgit