Plugin Directory

Changeset 220876


Ignore:
Timestamp:
03/23/2010 10:55:49 AM (16 years ago)
Author:
AT_Internet
Message:
 
Location:
at-internet-analyzer-ii/trunk
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • at-internet-analyzer-ii/trunk/analyzerII.php

    r207560 r220876  
    55Description: Analyzer II Plugin for Wordpress
    66Author: AT INTERNET
    7 Version: 1.1.003
     7Version: 1.1.004
    88*/
    99require_once realpath(dirname(__file__) . '/lib/config_analyzerII.php');
  • at-internet-analyzer-ii/trunk/lib/functions.inc.php

    r207558 r220876  
    7070        $ergo='homepage_ergo';     
    7171    }   
    72     else{           
    73         $xtpage=sanitize_title(the_title('','', FALSE));
     72    else{                  
     73        $xtpage=sanitize_title(wp_title('',FALSE));
    7474        // Static pages.   
    7575        if(is_page()){
     
    8181            $ergo='posts_ergo';
    8282            //Belongs to only one category.
    83             if(count(get_the_category())==1){                               
     83            if((count(get_the_category())==1)&&(is_single())){                             
    8484                $cat=get_the_category();
    85                 $catName=$cat[0]->cat_name;
    86                 $xtpage='posts_blogs::'.$catName.'::'.$xtpage;
    87             }   
     85                $catName=$cat[0]->cat_name;             
     86                $xtpage='posts_blogs::'.sanitize_title($catName).'::'.$xtpage;
     87            }              
    8888            else{                                               
    8989                $xtpage='posts_blogs::'.$xtpage;
Note: See TracChangeset for help on using the changeset viewer.