Index: wymeditor.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/wymeditor/wymeditor.module,v
retrieving revision 1.2.2.8
diff -u -r1.2.2.8 wymeditor.module
--- wymeditor.module	4 Apr 2007 22:15:38 -0000	1.2.2.8
+++ wymeditor.module	9 Apr 2007 10:43:25 -0000
@@ -10,6 +10,10 @@
  * Implementation of hook_form_alter().
  */
 function wymeditor_form_alter($form_id, &$form) {
+  // Do not load WYMEditor for PHP input format pages
+  if ($form['body_filter']['format'][1]['#default_value'] == 2) {
+    return;
+  }
   if(user_access(t('access WYMeditor'))) {
 	  $body_found = FALSE;
 		foreach (element_children($form) as $e) {
