From 881f2ee268e95e0cdd02bf593d89ca9b42d03060 Mon Sep 17 00:00:00 2001
From: Andreas Haerter <development@andreas-haerter.com>
Date: Fri, 17 Jun 2011 02:41:10 +0200
Subject: [PATCH] updated doc for tpl_indexerWebBug()

---
 inc/template.php | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/inc/template.php b/inc/template.php
index b9b3951ff..a476e78ab 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -972,8 +972,7 @@ function _tpl_img_action($data, $param=NULL) {
 }
 
 /**
- * This function inserts a 1x1 pixel gif which in reality
- * is the indexer function.
+ * This function inserts a small gif which in reality is the indexer function.
  *
  * Should be called somewhere at the very end of the main.php
  * template
@@ -986,7 +985,7 @@ function tpl_indexerWebBug(){
     $p = array();
     $p['src']    = DOKU_BASE.'lib/exe/indexer.php?id='.rawurlencode($ID).
         '&'.time();
-    $p['width']  = 2;
+    $p['width']  = 2; //no more 1x1 px image because we live in times of ad blockers...
     $p['height'] = 1;
     $p['alt']    = '';
     $att = buildAttributes($p);
-- 
GitLab