Changeset 1454418
- Timestamp:
- 07/14/2016 12:04:22 AM (10 years ago)
- Location:
- wp-seo-redirect-301
- Files:
-
- 17 added
- 2 edited
-
tags/2.2.2 (added)
-
tags/2.2.2/README.md (added)
-
tags/2.2.2/css (added)
-
tags/2.2.2/css/style.css (added)
-
tags/2.2.2/images (added)
-
tags/2.2.2/images/edit.png (added)
-
tags/2.2.2/images/facebook.jpg (added)
-
tags/2.2.2/images/progress.gif (added)
-
tags/2.2.2/images/rate-me.png (added)
-
tags/2.2.2/images/resortable.jpg (added)
-
tags/2.2.2/images/trash.png (added)
-
tags/2.2.2/images/twitter.jpg (added)
-
tags/2.2.2/lib (added)
-
tags/2.2.2/lib/tom-m8te.php (added)
-
tags/2.2.2/readme.txt (added)
-
tags/2.2.2/seo_redirect_301s.php (added)
-
tags/2.2.2/seo_redirect_list.php (added)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/seo_redirect_301s.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-seo-redirect-301/trunk/readme.txt
r1447005 r1454418 4 4 Requires at least: 3.0.1 5 5 Tested up to: 4.5.3 6 Stable tag: 2.2. 16 Stable tag: 2.2.2 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 43 43 == Changelog == 44 44 45 = 2.2.2 = 46 47 * Bug fix for DISABLE_301_SITEMAP, if job is still running, this still executes. Now this is fixed. 48 45 49 = 2.2.1 = 46 50 … … 178 182 == Upgrade notice == 179 183 184 = 2.2.2 = 185 186 * Bug fix for DISABLE_301_SITEMAP, if job is still running, this still executes. Now this is fixed. 187 180 188 = 2.2.1 = 181 189 -
wp-seo-redirect-301/trunk/seo_redirect_301s.php
r1453086 r1454418 4 4 Plugin URI: http://wordpress.org/extend/plugins/wp-seo-redirect-301/ 5 5 Description: Records urls and if a pages url changes, system redirects old url to the updated url. 6 Version: 2.2. 16 Version: 2.2.2 7 7 Author: Tom Skroza 8 8 License: GPL2 … … 291 291 */ 292 292 function seo_redirect_301_do_this_daily() { 293 293 294 if (defined("DISABLE_301_SITEMAP") && DISABLE_301_SITEMAP) { 295 // Do nothing. 296 } else { 294 297 $my_redirects = TomM8::get_results("slug_history", "*", ""); 295 298 $content = "<?xml version='1.0' encoding='UTF-8'?><urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd'>"; … … 307 310 } 308 311 $content .= "</urlset>"; 309 TomM8::write_to_file($content, ABSPATH."/301-sitemap.xml"); 312 TomM8::write_to_file($content, ABSPATH."/301-sitemap.xml"); 313 } 314 310 315 311 316 }
Note: See TracChangeset
for help on using the changeset viewer.