Changeset 11982 for trunk/wp-admin/includes/post.php
- Timestamp:
- 09/29/2009 09:46:13 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r11974 r11982 1217 1217 * 1218 1218 * @param bool $teeny optional Output a trimmed down version used in Press This. 1219 */ 1220 function wp_tiny_mce( $teeny = false ) { 1219 * @param mixed $settings optional An array that can add to or overwrite the default TinyMCE settings. 1220 */ 1221 function wp_tiny_mce( $teeny = false, $settings = false ) { 1221 1222 global $concatenate_scripts, $compress_scripts, $tinymce_version; 1222 1223 … … 1237 1238 1238 1239 if ( $teeny ) { 1239 $plugins = apply_filters( 'teeny_mce_plugins', array('safari', 'inlinepopups', 'media', ' autosave', 'fullscreen') );1240 $plugins = apply_filters( 'teeny_mce_plugins', array('safari', 'inlinepopups', 'media', 'fullscreen', 'wordpress') ); 1240 1241 $ext_plugins = ''; 1241 1242 } else { … … 1383 1384 $initArray['content_css'] = "$mce_css"; 1384 1385 1386 if ( is_array($settings) ) 1387 $initArray = array_merge($initArray, $settings); 1388 1385 1389 // For people who really REALLY know what they're doing with TinyMCE 1386 1390 // You can modify initArray to add, remove, change elements of the config before tinyMCE.init
Note: See TracChangeset
for help on using the changeset viewer.