Wysiwyg 6.x-3.x, xxxx-xx-xx
---------------------------
+#538996 by darktygur: Fixed 404 errors for non-existing theme CSS files.
#509570 by Rob Loach, sun: Added forced detaching of editor upon form submit.
#526644 by Darren Oh: Fixed broken editor theme validation.
#490914 by sun: Fixed JS/CSS not updated after update with caching enabled.
foreach (drupal_add_css() as $media => $css) {
if ($media != 'print') {
foreach ($css['theme'] as $filepath => $preprocess) {
- $files[] = base_path() . $filepath;
+ if (file_exists($filepath)) {
+ $files[] = base_path() . $filepath;
+ }
}
}
}