Changeset 352055
- Timestamp:
- 02/26/2011 08:28:23 PM (15 years ago)
- Location:
- wp-seo-tags
- Files:
-
- 15 added
- 2 edited
-
tags/2.2.21 (added)
-
tags/2.2.21/readme.txt (added)
-
tags/2.2.21/screenshot-1.png (added)
-
tags/2.2.21/screenshot-2.png (added)
-
tags/2.2.21/screenshot-3.png (added)
-
tags/2.2.21/wp-seo-tags-be_BY.mo (added)
-
tags/2.2.21/wp-seo-tags-be_BY.po (added)
-
tags/2.2.21/wp-seo-tags-de_DE.mo (added)
-
tags/2.2.21/wp-seo-tags-de_DE.po (added)
-
tags/2.2.21/wp-seo-tags-fr_FR.mo (added)
-
tags/2.2.21/wp-seo-tags-fr_FR.po (added)
-
tags/2.2.21/wp-seo-tags-ru_RU.mo (added)
-
tags/2.2.21/wp-seo-tags-ru_RU.po (added)
-
tags/2.2.21/wp-seo-tags-template.php (added)
-
tags/2.2.21/wp-seo-tags.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/wp-seo-tags.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-seo-tags/trunk/readme.txt
r338379 r352055 4 4 Tags: Log incoming queries, searchengines, widget, seo 5 5 Requires at least: 3.0 6 Tested up to: 3. 0.47 Stable tag: 2.2.2 6 Tested up to: 3.1 7 Stable tag: 2.2.21 8 8 9 9 Logs incoming queries from searchengines like Bing, Google and Yahoo and display them in your sidebar. … … 18 18 19 19 == Changelog == 20 21 <ul> 22 <span>2.2.21</span> 23 <li>Fixed usage of an obsolete Wordpress Function Parm.</li> 24 </ul> 20 25 21 26 <ul> -
wp-seo-tags/trunk/wp-seo-tags.php
r338379 r352055 4 4 Plugin URI: http://www.saquery.com/wordpress/wp-seo-tags 5 5 Description: WP SEO Tags 6 Version: 2.2.2 6 Version: 2.2.21 7 7 Author: Stephan Ahlf 8 8 Author URI: http://saquery.com … … 151 151 152 152 function saq_wpseotags_add_footer(){ 153 ?> 154 <?php 153 155 154 } 156 155 … … 191 190 192 191 193 if ( $_POST['delete']){192 if (isset($_POST['delete'])){ 194 193 $sql= "update ".$wpdb->wpseotags_dbTable." set deleted = 1 where target in "."('".implode("','",array_keys($_POST))."')"; 195 194 $res = $wpdb->get_results($sql); 196 195 } 197 if ( $_POST['unmoderate']){196 if (isset($_POST['unmoderate'])){ 198 197 $sql= "update ".$wpdb->wpseotags_dbTable." set moderated = 0 where target in "."('".implode("','",array_keys($_POST))."')"; 199 198 $res = $wpdb->get_results($sql); 200 199 } 201 if ( $_POST['undelete']){200 if (isset($_POST['undelete'])){ 202 201 $sql= "update ".$wpdb->wpseotags_dbTable." set deleted = 0 where target in "."('".implode("','",array_keys($_POST))."')"; 203 202 $res = $wpdb->get_results($sql); 204 203 } 205 if ( $_POST['submit']){204 if (isset($_POST['submit'])){ 206 205 $sql= "update ".$wpdb->wpseotags_dbTable." set moderated = 1 where target in "."('".implode("','",array_keys($_POST))."')"; 207 206 $res = $wpdb->get_results($sql); … … 217 216 $where = "where deleted = 0 and moderated = 0"; 218 217 219 if ( $_POST['showmoderated']){218 if (isset($_POST['showmoderated'])){ 220 219 $where = "where deleted = 0 and moderated=1"; 221 220 } 222 if ( $_POST['showdeleted']){221 if (isset($_POST['showdeleted'])){ 223 222 $where = "where deleted = 1"; 224 223 } 225 if ( $_POST["saq_txt_the_filter"]){224 if (isset($_POST["saq_txt_the_filter"])){ 226 225 $where .= " and target like '%".$_POST["saq_txt_the_filter"]."%'"; 227 226 } … … 247 246 echo "<td><input type=\"checkbox\" name=\"$row->target\" value=\"1\" /></td>"; 248 247 $lnk = "<a title=\"Test new WP SEO Tag Search URL...\" href=\"".get_bloginfo('url')."/tags/".$row->target."\" target=\"_blank\">$row->target</a>"; 249 /*My*/250 248 $lnk = urldecode($lnk); 251 249 echo "<td>$lnk</td>"; … … 279 277 echo "Url-Text-Filter:$delim"; 280 278 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"]."\""; 282 280 echo " />"; 283 281 echo "</form>"; … … 287 285 288 286 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'); 290 288 } 291 289 … … 636 634 637 635 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); 639 637 } 640 638 add_action('init', 'register_saq_wpseotags_widget');
Note: See TracChangeset
for help on using the changeset viewer.