Theme Test Drive - Version 2.7.3

Version Description

Download this release

Release Info

Developer freediver
Plugin Icon 128x128 Theme Test Drive
Version 2.7.3
Comparing to
See all releases

Code changes from version 2.7.2 to 2.7.3

Files changed (2) hide show
  1. readme.txt +2 -0
  2. themedrive.php +4 -4
readme.txt CHANGED
@@ -20,6 +20,8 @@ You can also preview any theme by adding "?theme=xxx" to your blog URL. For exam
20
21
Changelog:
22
23
v2.7: WP 2.7 cleanup and security update
24
25
v2.6: Added user access level
20
21
Changelog:
22
23
+ v2.7.3: Fixed the problem with access level update
24
+
25
v2.7: WP 2.7 cleanup and security update
26
27
v2.6: Added user access level
themedrive.php CHANGED
@@ -4,7 +4,7 @@
4
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/theme-test-drive
5
Description: Safely test drive any theme while visitors are using the default one. Includes instant theme preview via thumbnail.
6
Author: Vladimir Prelovac
7
- Version: 2.7.2
8
Author URI: http://www.prelovac.com/vladimir/
9
10
To-Do:
@@ -183,7 +183,7 @@
183
{
184
$getlevel = get_option('td_level');
185
186
- if (!empty($getlevel)) {
187
return 'level_' . $getlevel;
188
} else {
189
return 'level_10';
@@ -361,8 +361,8 @@
361
362
363
$access_level = get_option('td_level');
364
- if (empty($access_level))
365
- $access_level = '10';
366
367
$imgpath = $wp_themedrive_plugin_url . '/i';
368
?>
4
Plugin URI: http://www.prelovac.com/vladimir/wordpress-plugins/theme-test-drive
5
Description: Safely test drive any theme while visitors are using the default one. Includes instant theme preview via thumbnail.
6
Author: Vladimir Prelovac
7
+ Version: 2.7.3
8
Author URI: http://www.prelovac.com/vladimir/
9
10
To-Do:
183
{
184
$getlevel = get_option('td_level');
185
186
+ if ($getlevel!='') {
187
return 'level_' . $getlevel;
188
} else {
189
return 'level_10';
361
362
363
$access_level = get_option('td_level');
364
+ //if (empty($access_level))
365
+ // $access_level = '10';
366
367
$imgpath = $wp_themedrive_plugin_url . '/i';
368
?>