Changeset 17786
- Timestamp:
- 05/02/2011 08:28:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/post.php
r17785 r17786 1694 1694 // Load additional inline scripts based on active plugins. 1695 1695 function wp_preload_dialogs($init) { 1696 $plugins = (array) $init['plugins'];1696 $plugins = preg_split('/[ ,-]+/', $init['plugins']); 1697 1697 1698 1698 if ( in_array( 'wpdialogs', $plugins, true ) ) { … … 1718 1718 1719 1719 function wp_quicktags() { 1720 wp_preload_dialogs( array( 'plugins' => array( 'wpdialogs', 'wplink', 'wpfullscreen' )) );1720 wp_preload_dialogs( array( 'plugins' => 'wpdialogs,wplink,wpfullscreen' ) ); 1721 1721 } 1722 1722
Note: See TracChangeset
for help on using the changeset viewer.