From 7073026058c372eb2af883d7f0da13c7930387b1 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Thu, 10 May 2007 16:37:44 +0000 Subject: [PATCH] Add missing preg delimiter. see #4241 git-svn-id: https://develop.svn.wordpress.org/trunk@5433 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/general-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index c9acf2b85d..fd0f86922e 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -813,7 +813,7 @@ function user_can_richedit() { if ( !isset( $wp_rich_edit) ) { if ( get_user_option( 'rich_editing' ) == 'true' && ( ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval($match[1]) >= 420 ) || - !preg_match( 'opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT'] ) ) ) { + !preg_match( '!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT'] ) ) ) { $wp_rich_edit = true; } else { $wp_rich_edit = false;