Remove unnecessary ternary operators such as (expr) ? true : false.

git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2010-03-19 21:15:00 +00:00
parent 2bcc218df8
commit ddc506f01c
14 changed files with 22 additions and 25 deletions
+1 -1
View File
@@ -1457,7 +1457,7 @@ function wp_tiny_mce( $teeny = false, $settings = false ) {
$mce_buttons_4 = apply_filters('mce_buttons_4', array());
$mce_buttons_4 = implode($mce_buttons_4, ',');
}
$no_captions = ( apply_filters( 'disable_captions', '' ) ) ? true : false;
$no_captions = (bool) apply_filters( 'disable_captions', '' );
// TinyMCE init settings
$initArray = array (