Plugin Directory

Changeset 352055


Ignore:
Timestamp:
02/26/2011 08:28:23 PM (15 years ago)
Author:
OsExpert.net
Message:
 
Location:
wp-seo-tags
Files:
15 added
2 edited

Legend:

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

    r338379 r352055  
    44Tags: Log incoming queries, searchengines, widget, seo
    55Requires at least: 3.0
    6 Tested up to: 3.0.4
    7 Stable tag: 2.2.2
     6Tested up to: 3.1
     7Stable tag: 2.2.21
    88
    99Logs incoming queries from searchengines like Bing, Google and Yahoo and display them in your sidebar.
     
    1818
    1919== Changelog ==
     20
     21<ul>
     22    <span>2.2.21</span>
     23    <li>Fixed usage of an obsolete Wordpress Function Parm.</li>
     24</ul>
    2025
    2126<ul>
  • wp-seo-tags/trunk/wp-seo-tags.php

    r338379 r352055  
    44Plugin URI: http://www.saquery.com/wordpress/wp-seo-tags
    55Description: WP SEO Tags
    6 Version: 2.2.2
     6Version: 2.2.21
    77Author: Stephan Ahlf
    88Author URI: http://saquery.com
     
    151151
    152152    function saq_wpseotags_add_footer(){
    153 ?>
    154 <?php
     153
    155154    }
    156155
     
    191190
    192191
    193         if ($_POST['delete']){
     192        if (isset($_POST['delete'])){
    194193            $sql= "update ".$wpdb->wpseotags_dbTable." set deleted = 1 where target in "."('".implode("','",array_keys($_POST))."')";
    195194            $res = $wpdb->get_results($sql);
    196195        }
    197         if ($_POST['unmoderate']){
     196        if (isset($_POST['unmoderate'])){
    198197            $sql= "update ".$wpdb->wpseotags_dbTable." set moderated = 0 where target in "."('".implode("','",array_keys($_POST))."')";
    199198            $res = $wpdb->get_results($sql);
    200199        }
    201         if ($_POST['undelete']){
     200        if (isset($_POST['undelete'])){
    202201            $sql= "update ".$wpdb->wpseotags_dbTable." set deleted = 0 where target in "."('".implode("','",array_keys($_POST))."')";
    203202            $res = $wpdb->get_results($sql);
    204203        }
    205         if ($_POST['submit']){
     204        if (isset($_POST['submit'])){
    206205            $sql= "update ".$wpdb->wpseotags_dbTable." set moderated = 1 where target in "."('".implode("','",array_keys($_POST))."')";
    207206            $res = $wpdb->get_results($sql);
     
    217216        $where = "where deleted = 0 and moderated = 0";
    218217
    219         if ($_POST['showmoderated']){
     218        if (isset($_POST['showmoderated'])){
    220219            $where = "where deleted = 0 and moderated=1";
    221220        }
    222         if ($_POST['showdeleted']){
     221        if (isset($_POST['showdeleted'])){
    223222            $where = "where deleted = 1";
    224223        }
    225         if ($_POST["saq_txt_the_filter"]){
     224        if (isset($_POST["saq_txt_the_filter"])){
    226225            $where .= " and target like '%".$_POST["saq_txt_the_filter"]."%'";
    227226        }
     
    247246            echo "<td><input type=\"checkbox\" name=\"$row->target\" value=\"1\" /></td>";
    248247            $lnk = "<a title=\"Test new WP SEO Tag Search URL...\" href=\"".get_bloginfo('url')."/tags/".$row->target."\" target=\"_blank\">$row->target</a>";
    249 /*My*/
    250248            $lnk = urldecode($lnk);
    251249            echo "<td>$lnk</td>";
     
    279277        echo "Url-Text-Filter:$delim";
    280278        echo "$_txt name=\"saq_txt_the_filter\" name=\"saq_txt_the_filter\"";
    281         if ($_POST["saq_txt_the_filter"]) echo " value=\"".$_POST["saq_txt_the_filter"]."\"";
     279        if (isset($_POST["saq_txt_the_filter"])) echo " value=\"".$_POST["saq_txt_the_filter"]."\"";
    282280        echo " />";
    283281        echo "</form>";
     
    287285
    288286    function saq_wpseotags_admin_menu(){
    289         add_submenu_page('options-general.php', 'WP SEO Tags options', 'WP SEO Tags', 8, __FILE__, 'saq_wpseotags_adminoptions1');
     287        add_submenu_page('options-general.php', 'WP SEO Tags options', 'WP SEO Tags', 'administrator', __FILE__, 'saq_wpseotags_adminoptions1');
    290288    }
    291289
     
    636634
    637635    function register_saq_wpseotags_widget() {
    638             register_sidebar_widget('WP Seo Tags Widget', 'saq_wpseotags_widget');
     636        wp_register_sidebar_widget('WP Seo Tags Widget', 'saq_wpseotags_widget',null);
    639637    }
    640638    add_action('init', 'register_saq_wpseotags_widget');
Note: See TracChangeset for help on using the changeset viewer.