[wp-cvs] wordpress wp-settings.php,1.54,1.55
Michel Valdrighi
michelvaldrighi at users.sourceforge.net
Sun Sep 26 18:12:57 UTC 2004
Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22665
Modified Files:
wp-settings.php
Log Message:
fix for #317: part two, avoid including the same plugin file twice
Index: wp-settings.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-settings.php,v
retrieving revision 1.54
retrieving revision 1.55
diff -C2 -d -r1.54 -r1.55
*** wp-settings.php 4 Sep 2004 22:15:46 -0000 1.54
--- wp-settings.php 26 Sep 2004 18:12:55 -0000 1.55
***************
*** 79,83 ****
foreach ($current_plugins as $plugin) {
if ('' != $plugin && file_exists(ABSPATH . 'wp-content/plugins/' . $plugin))
! include(ABSPATH . 'wp-content/plugins/' . $plugin);
}
}
--- 79,83 ----
foreach ($current_plugins as $plugin) {
if ('' != $plugin && file_exists(ABSPATH . 'wp-content/plugins/' . $plugin))
! include_once(ABSPATH . 'wp-content/plugins/' . $plugin);
}
}
More information about the cvs
mailing list