Changeset 17522
- Timestamp:
- 03/17/2011 10:01:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r17457 r17522 1636 1636 $mce_options .= $k . ':' . $val . ', '; 1637 1637 continue; 1638 } elseif ( !empty($v) && is_string($v) && ( '{' == $v{0} || '[' == $v{0} ) ) {1638 } elseif ( !empty($v) && is_string($v) && ( '{' == $v{0} || '[' == $v{0} || preg_match('/^\(?function ?\(/', $v) ) ) { 1639 1639 $mce_options .= $k . ':' . $v . ', '; 1640 1640 continue;
Note: See TracChangeset
for help on using the changeset viewer.