From 57ec132f90995b2790af1040bf4139e3974ce165 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Mon, 6 Jul 2009 19:41:44 -0400 Subject: [PATCH] good job wordpress, way to initialize variables before usage - theme editor bug fixed --- plugin-wonderful.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin-wonderful.php b/plugin-wonderful.php index efcc1de..d0d8afc 100644 --- a/plugin-wonderful.php +++ b/plugin-wonderful.php @@ -25,8 +25,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -foreach (glob(dirname(__FILE__) . '/classes/*.php') as $file) { require_once($file); } -foreach (glob(dirname(__FILE__) . '/views/*.php') as $file) { require_once($file); } +foreach (glob(dirname(__FILE__) . '/classes/*.php') as $__file) { require_once($__file); } +foreach (glob(dirname(__FILE__) . '/views/*.php') as $__file) { require_once($__file); } define('PLUGIN_WONDERFUL_XML_URL', 'http://www.projectwonderful.com/xmlpublisherdata.php?publisher=%d'); define('PLUGIN_WONDERFUL_UPDATE_TIME', 60 * 60 * 12); // every 12 hours