Changeset 5455
- Timestamp:
- 03/03/06 23:50:42 (2 years ago)
- Files:
-
- wordpress-mobile-edition/tags/1.8 (deleted)
- wordpress-mobile-edition/trunk/wp-mobile.plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wordpress-mobile-edition/trunk/wp-mobile.plugin.php
r5448 r5455 77 77 } 78 78 79 80 79 if (ak_mobile_redirect() && ak_check_mobile()) { 81 80 $URL = get_settings('siteurl').'/wp-mobile.php?'; 82 if (isset($p)) { 83 $URL .= 'p='.$p.'&'; 84 } 85 if (isset($m)) { 86 $URL .= 'm='.$m.'&'; 87 } 88 if (isset($cat)) { 89 $URL .= 'cat='.$cat.'&'; 81 $vars = array( 82 'year' 83 ,'monthnum' 84 ,'day' 85 ,'name' 86 ,'category_name' 87 ); 88 foreach ($vars as $var) { 89 if (isset($_GET[$var])) { 90 $URL .= $var.'='.$_GET[$var].'&'; 91 } 90 92 } 91 93 header("Location: $URL");
