mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-10 18:37:58 +01:00
Fix notice, props greuben, fixes #17613
git-svn-id: http://svn.automattic.com/wordpress/trunk@18074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
21dc3865c3
commit
ab43381c33
@ -1649,7 +1649,7 @@ function wp_tiny_mce( $teeny = false, $settings = false ) {
|
||||
$val = $v ? 'true' : 'false';
|
||||
$mce_options .= $k . ':' . $val . ', ';
|
||||
continue;
|
||||
} elseif ( is_string($v) && ( ('{' == $v{0} && '}' == $v{strlen($v) - 1}) || ('[' == $v{0} && ']' == $v{strlen($v) - 1}) || preg_match('/^\(?function ?\(/', $v) ) ) {
|
||||
} elseif ( !empty($v) && is_string($v) && ( ('{' == $v{0} && '}' == $v{strlen($v) - 1}) || ('[' == $v{0} && ']' == $v{strlen($v) - 1}) || preg_match('/^\(?function ?\(/', $v) ) ) {
|
||||
$mce_options .= $k . ':' . $v . ', ';
|
||||
continue;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user