Ticket #20012: 20012.user_can_richedit.diff
File 20012.user_can_richedit.diff, 508 bytes (added by , 13 years ago) |
---|
-
wp-includes/general-template.php
1759 1759 $wp_rich_edit = true; 1760 1760 } 1761 1761 } 1762 1763 // Kindle Fire / Amazon Silk - doesn't support `contentEditable` 1764 if( false !== strpos( $_SERVER['HTTP_USER_AGENT'], '; Silk/' ) ) 1765 $wp_rich_edit = false; 1766 1762 1767 } 1763 1768 1764 1769 return apply_filters('user_can_richedit', $wp_rich_edit);