[geeklog-cvs] geeklog: Keep track of actual upper/lowercase spelling of plugin...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sun Sep 6 13:02:43 EDT 2009


details:   http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/b58b76aa318b
changeset: 7293:b58b76aa318b
user:      Dirk Haun <dirk at haun-online.de>
date:      Sun Sep 06 17:58:59 2009 +0200
description:
Keep track of actual upper/lowercase spelling of plugin names in the XMLSitemap plugin

diffstat:

 plugins/xmlsitemap/functions.inc |  4 ++--
 public_html/docs/history         |  2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r cd653ce9aafb -r b58b76aa318b plugins/xmlsitemap/functions.inc
--- a/plugins/xmlsitemap/functions.inc	Sun Sep 06 15:46:20 2009 +0200
+++ b/plugins/xmlsitemap/functions.inc	Sun Sep 06 17:58:59 2009 +0200
@@ -193,14 +193,14 @@
     global $_CONF, $_XMLSMAP_CONF;
 
     if (($type !== NULL)
-            AND !in_array(strtolower($type), $_XMLSMAP_CONF['types'])) {
+            AND !in_array($type, $_XMLSMAP_CONF['types'])) {
         // Notified about content change, but from an irrelevant plugin, one
         // that doesn't implement 'plugin_getiteminfo_xxx' function.
         return TRUE;
     }
 
     if (($type !== NULL) &&
-            in_array(strtolower($type), $_XMLSMAP_CONF['exclude'])) {
+            in_array($type, $_XMLSMAP_CONF['exclude'])) {
         // plugin is on our exclude list, so ignore
         return TRUE;
     }
diff -r cd653ce9aafb -r b58b76aa318b public_html/docs/history
--- a/public_html/docs/history	Sun Sep 06 15:46:20 2009 +0200
+++ b/public_html/docs/history	Sun Sep 06 17:58:59 2009 +0200
@@ -3,6 +3,8 @@
 Oct ??, 2009 (1.6.1)
 ------------
 
+- Keep track of actual upper/lowercase spelling of plugin names in the
+  XMLSitemap plugin [mystral-kk, Dirk]
 - Added support for a CUSTOM_renderMenu function when rendering the top menu
   (feature request #0000845) [Dirk]
 - In the install script, always open db-config.php and siteconfig.php in



More information about the geeklog-cvs mailing list