WordPress.org

Make WordPress Core

Changeset 5433


Ignore:
Timestamp:
05/10/2007 04:37:44 PM (15 years ago)
Author:
ryan
Message:

Add missing preg delimiter. see #4241

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/general-template.php

    r5425 r5433  
    814814        if ( get_user_option( 'rich_editing' ) == 'true' &&
    815815            ( ( preg_match( '!AppleWebKit/(\d+)!', $_SERVER['HTTP_USER_AGENT'], $match ) && intval($match[1]) >= 420 ) ||
    816                 !preg_match( 'opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT'] ) ) ) {
     816                !preg_match( '!opera[ /][2-8]|konqueror|safari!i', $_SERVER['HTTP_USER_AGENT'] ) ) ) {
    817817            $wp_rich_edit = true;
    818818        } else {
Note: See TracChangeset for help on using the changeset viewer.