Changeset 5781

Show
Ignore:
Timestamp:
07/05/07 20:12:07 (1 year ago)
Author:
ryan
Message:

Don't richedit for comments. Props Joseph Scott. fixes #4587 for 2.3

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/wp-includes/general-template.php

    r5714 r5781  
    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'] ) ) 
     817                && 'comment.php' != $pagenow ) { 
    817818            $wp_rich_edit = true; 
    818819        } else {