Plugin Directory

Changeset 129566


Ignore:
Timestamp:
06/26/2009 12:03:26 AM (17 years ago)
Author:
OsExpert.net
Message:

tagging version 1.9.3

Location:
wp-seo-tags/tags/1.9.3
Files:
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • wp-seo-tags/tags/1.9.3/readme.txt

    r129562 r129566  
    1313
    1414This Plugin logs incoming queries from searchengines like Bing, Google and Yahoo. The last requests can be displayed via a sidebar widget. All keywords must be moderated before they appear in the widget. The Plugin will serve dynamicly a Tag-Search-Page for each Keyword Phrase wich is linked with the appropriate entry in the widget. This page will list all related posts regarding to the submited keywords. http://www.osexpert.net/tags/wp-seo-tags is an example for such a Tag-Search-Page.
    15 So far a complete translation is available in German. If you need you can translate the Plugin into your native language.
     15So far a complete translation is available in German and French. If you need you can translate the Plugin into your native language.
    1616It would be nice if you could send a translated copy of wp-seo-tags-de_DE.po file to webmaster at osexpert.net. So we can share it with the Wordpress community.
    1717
  • wp-seo-tags/tags/1.9.3/wp-seo-tags.php

    r126428 r129566  
    44Plugin URI: http://www.osexpert.net/wp-seo-tags
    55Description: WP SEO Tags
    6 Version: 1.9.1
     6Version: 1.9.3
    77Author: Stephan Ahlf
    88Author URI: http://www.osexpert.net
    99*/
    10 
    11 /*
    12 Copyright 2009 Stephan Ahlf
    13 
    14 This program is free software; you can redistribute it and/or modify
    15 it under the terms of the GNU General Public License as published by
    16 the Free Software Foundation; either version 2 of the License, or
    17 (at your option) any later version.
    18 
    19 This program is distributed in the hope that it will be useful,
    20 but WITHOUT ANY WARRANTY; without even the implied warranty of
    21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    22 GNU General Public License for more details.
    23 
    24 You should have received a copy of the GNU General Public License
    25 along with this program; if not, write to the Free Software
    26 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
    27 */
    28 
    2910    global $wpseotags_preview;
    3011    $wpseotags_preview = false;
     
    190171        $keywords_rewrite = $wp_rewrite->generate_rewrite_rules($keywords_structure);
    191172        try {
    192             return ( $rewrite + $keywords_rewrite );
     173            //print_r($rewrite );
     174            if ( gettype($rewrite) == "array" && gettype($keywords_rewrite) == "array" ) {
     175                return ( $rewrite + $keywords_rewrite );
     176            } else {
     177                return $rewrite;
     178            }
     179//          return array_merge($rewrite,$keywords_rewrite);
    193180        } catch (Exception $e) {
    194181        }
     
    574561
    575562            $w = "target like '%".str_replace(" " , "%' or target like '%", str_replace(";","",str_replace("'","''",saq_wpseotags_getMetaKeyWords(" ",3))))."%'";
    576             $sql = "SELECT * FROM ".$wpdb->wpseotags_dbTable." WHERE target <> '".saq_wpseotags_getMetaKeyWords("-")."' and $w and moderated = 1 and deleted = 0
     563            $sql = "SELECT * FROM ".$wpdb->wpseotags_dbTable." WHERE target <> '".saq_wpseotags_getMetaKeyWords("-")."' and ($w) and moderated = 1 and deleted = 0
    577564                order by hits desc, dt desc
    578565                LIMIT 0 , 6";           
Note: See TracChangeset for help on using the changeset viewer.