Changeset 339488
- Timestamp:
- 02/01/2011 01:01:45 PM (15 years ago)
- Location:
- wp-htaccess-control/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-htaccess-control.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-htaccess-control/trunk/readme.txt
r318791 r339488 6 6 Tags: permalinks, permalink, author, htaccess, rewrite, redirect, admin, maintenance, pagination, category, category base, archive, archives 7 7 Requires at least: 2.7 8 Tested up to: 3.0. 29 Stable tag: 2.1. 18 Tested up to: 3.0.4 9 Stable tag: 2.1.2 10 10 11 11 Interface to customize the permalinks (author, category, archives and pagination) and htaccess file generated by Wordpress. … … 69 69 70 70 == Changelog == 71 72 = 2.1.2 (01/02/2011) = 73 * *Fix:* fix on canonical url setting (thank you 8bitkid for pointing it out). 71 74 72 75 = 2.1.1 (03/12/2010) = -
wp-htaccess-control/trunk/wp-htaccess-control.php
r318791 r339488 4 4 Plugin URI: http://dardna.com/wp-htaccess-control 5 5 Description: Interface to customize the permalinks (author, category, archives and pagination) and htaccess file generated by Wordpress. 6 Version: 2.1. 16 Version: 2.1.2 7 7 Author: António Andrade 8 8 Author URI: http://dardna.com … … 296 296 } 297 297 $homeurl=get_option('home'); 298 if (!preg_match('/^http:\/\/www\./', $ siteurl)) {298 if (!preg_match('/^http:\/\/www\./', $homeurl)) { 299 299 $homeurl=str_replace("http://","http://www.",$homeurl); 300 300 update_option('home',$homeurl); … … 308 308 } 309 309 $homeurl=get_option('home'); 310 if (preg_match('/^http:\/\/www\./', $ siteurl)) {310 if (preg_match('/^http:\/\/www\./', $homeurl)) { 311 311 $homeurl=str_replace("http://www.","http://",$homeurl); 312 312 update_option('home',$homeurl);
Note: See TracChangeset
for help on using the changeset viewer.