Gantry 4 Framework - Version 4.0.2

Version Description

  • Reverted some CSS changes in gantry.css which could cause some bad color appearance in couple themes
Download this release

Release Info

Developer gantry
Plugin Icon 128x128 Gantry 4 Framework
Version 4.0.2
Comparing to
See all releases

Code changes from version 4.0.1 to 4.0.2

CHANGELOG.php CHANGED
@@ -2,7 +2,7 @@
2
  /**
3
  * Gantry For Wordpress
4
  *
5
- * @version $Id: CHANGELOG.php 59418 2013-03-20 20:36:24Z jakub $
6
  * @author RocketTheme http://www.rockettheme.com
7
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
8
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
@@ -27,6 +27,9 @@ Legend:
27
  - -> Removed
28
  ! -> Note
29
 
 
 
 
30
  ------- 4.0.1 Release [] ------
31
  # Fixed incompatibility with PHP 5.2
32
 
2
  /**
3
  * Gantry For Wordpress
4
  *
5
+ * @version $Id: CHANGELOG.php 59430 2013-03-21 16:39:12Z jakub $
6
  * @author RocketTheme http://www.rockettheme.com
7
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
8
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
27
  - -> Removed
28
  ! -> Note
29
 
30
+ ------- 4.0.2 Release [] ------
31
+ # Reverted some CSS changes in gantry.css which could cause some bad color appearance in couple themes
32
+
33
  ------- 4.0.1 Release [] ------
34
  # Fixed incompatibility with PHP 5.2
35
 
admin/forms/fields/imagepicker.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version 4.0.1 March 20, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.0.2 March 21, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
admin/forms/fields/updater.php CHANGED
@@ -27,7 +27,7 @@ class GantryFormFieldUpdater extends GantryFormField
27
 
28
  $currentVersion = GANTRY_VERSION;
29
 
30
- if ($currentVersion == "\4.0.1") $currentVersion = "[DEV]";
31
 
32
  // curl check
33
  if (!function_exists('curl_version')) {
27
 
28
  $currentVersion = GANTRY_VERSION;
29
 
30
+ if ($currentVersion == "\4.0.2") $currentVersion = "[DEV]";
31
 
32
  // curl check
33
  if (!function_exists('curl_version')) {
admin/widgets/colorchooser/css/mooRainbow-2.0.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * @version 4.0.1 March 20, 2013
3
  * @author RocketTheme http://www.rockettheme.com
4
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  /**
2
+ * @version 4.0.2 March 21, 2013
3
  * @author RocketTheme http://www.rockettheme.com
4
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
core/gantry.class.php CHANGED
@@ -1035,7 +1035,7 @@ class Gantry
1035
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1036
  }
1037
  $filename = strtolower(basename($path, '.css')) . rand(0, 1000);
1038
- wp_enqueue_style($filename, $path, array(), '4.0.1');
1039
  $deps[] = $path;
1040
  }
1041
  }
@@ -1048,11 +1048,11 @@ class Gantry
1048
  if ($this->baseUrl != "/") {
1049
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1050
  }
1051
- wp_enqueue_script($path, $path, $deps, '4.0.1');
1052
  $deps[] = $path;
1053
  }
1054
  foreach ($this->_full_scripts as $strSrc) {
1055
- wp_enqueue_script($strSrc, $strSrc, $deps, '4.0.1');
1056
  $deps[] = $strSrc;
1057
  }
1058
 
@@ -1607,7 +1607,7 @@ class Gantry
1607
  if (!defined('GANTRY_FINALIZED')) {
1608
  $this->_styles[$priority][] = $link;
1609
  } else {
1610
- wp_enqueue_style($link->getUrl(), $link->getUrl(), array(), '4.0.1');
1611
  }
1612
  }
1613
  }
@@ -1711,7 +1711,7 @@ class Gantry
1711
  if (!defined('GANTRY_FINALIZED')) {
1712
  $this->_scripts[$full_path] = $check_url_path . $query_string;
1713
  } else {
1714
- wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.1');
1715
  }
1716
  break;
1717
  }
@@ -1745,7 +1745,7 @@ class Gantry
1745
  if (!defined('GANTRY_FINALIZED')) {
1746
  $this->_scripts[$check_path] = $check_url_path . $query_string;
1747
  } else {
1748
- wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.1');
1749
  }
1750
  break(2);
1751
  }
1035
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1036
  }
1037
  $filename = strtolower(basename($path, '.css')) . rand(0, 1000);
1038
+ wp_enqueue_style($filename, $path, array(), '4.0.2');
1039
  $deps[] = $path;
1040
  }
1041
  }
1048
  if ($this->baseUrl != "/") {
1049
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1050
  }
1051
+ wp_enqueue_script($path, $path, $deps, '4.0.2');
1052
  $deps[] = $path;
1053
  }
1054
  foreach ($this->_full_scripts as $strSrc) {
1055
+ wp_enqueue_script($strSrc, $strSrc, $deps, '4.0.2');
1056
  $deps[] = $strSrc;
1057
  }
1058
 
1607
  if (!defined('GANTRY_FINALIZED')) {
1608
  $this->_styles[$priority][] = $link;
1609
  } else {
1610
+ wp_enqueue_style($link->getUrl(), $link->getUrl(), array(), '4.0.2');
1611
  }
1612
  }
1613
  }
1711
  if (!defined('GANTRY_FINALIZED')) {
1712
  $this->_scripts[$full_path] = $check_url_path . $query_string;
1713
  } else {
1714
+ wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.2');
1715
  }
1716
  break;
1717
  }
1745
  if (!defined('GANTRY_FINALIZED')) {
1746
  $this->_scripts[$check_path] = $check_url_path . $query_string;
1747
  } else {
1748
+ wp_enqueue_script($check_url_path, $check_url_path, array(), '4.0.2');
1749
  }
1750
  break(2);
1751
  }
core/utilities/gantrycache.class.php CHANGED
@@ -26,7 +26,7 @@ class GantryCache
26
  /**
27
  *
28
  */
29
- const ADMIN_GROUP_NAME = 'GantryAdmin-4.0.1';
30
 
31
  const ADMIN_LIFETIME = 86400;
32
 
@@ -122,7 +122,7 @@ class GantryCache
122
  $this->cache->addDriver('frontend', new WpTransientCacheDriver($this->group, $this->lifetime));
123
  } elseif (is_admin()) {
124
  // TODO get lifetime for backend cache
125
- $this->group = self::ADMIN_GROUP_NAME . '-4.0.1';
126
  $this->cache->addDriver('admin', new WpTransientCacheDriver($this->group, self::ADMIN_LIFETIME));
127
  }
128
  }
26
  /**
27
  *
28
  */
29
+ const ADMIN_GROUP_NAME = 'GantryAdmin-4.0.2';
30
 
31
  const ADMIN_LIFETIME = 86400;
32
 
122
  $this->cache->addDriver('frontend', new WpTransientCacheDriver($this->group, $this->lifetime));
123
  } elseif (is_admin()) {
124
  // TODO get lifetime for backend cache
125
+ $this->group = self::ADMIN_GROUP_NAME . '-4.0.2';
126
  $this->cache->addDriver('admin', new WpTransientCacheDriver($this->group, self::ADMIN_LIFETIME));
127
  }
128
  }
css/gantry.css CHANGED
@@ -1,5 +1,5 @@
1
  /**
2
- * @version $Id: gantry.css 59361 2013-03-13 23:10:27Z btowles $
3
  * @author RocketTheme http://www.rockettheme.com
4
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
@@ -85,18 +85,10 @@ body.rtl {min-width: inherit;}
85
 
86
  /* Style */
87
  html,body {margin-bottom: 1px;}
88
- body {color: #333;}
89
- #rt-header, #rt-bottom {color: #aaa;}
90
- .rt-container {background: #fff;}
91
- a:hover {color: #000;}
92
  #rt-logo {background: url(../images/header-assets.png) 0 0 no-repeat;}
93
  #rt-menu ul.menu li a {color: #fff;}
94
  #rt-menu ul.menu li a:hover {background: #444;color: #fff;}
95
  #rt-menu ul.menu li.active a, #rt-menu ul.menu li.active a:hover {background: #fff;color: #000;}
96
- #rt-footer, #rt-copyright {color: #ddd;}
97
- #rt-sidebar-a {background-color:#e0e0e0;}
98
- #rt-sidebar-b {background-color:#e9e9e9;}
99
- #rt-sidebar-c {background-color:#f0f0f0;}
100
  #rocket {background: url(../images/rocket.png) 0 0 no-repeat;}
101
 
102
  #gantry-viewswitcher {background-image: url(../images/iphone/switcher.png); background-repeat: no-repeat; background-position: top left; width: 60px; height: 20px;display:block;position:absolute;right: 10px;top:40%;}
@@ -110,6 +102,9 @@ html body * span.clear, html body * div.clear, html body * li.clear, html body *
110
  * html .clearfix {height: 1%;}
111
  .clearfix {display: block;}
112
 
 
 
 
113
  /* Debug only */
114
  #debug #rt-main {overflow:hidden;border-bottom: 4px solid #666; margin-top:15px;position:relative}
115
  #debug .status {position: absolute;background:#333;opacity:.3;padding:0px 15px;z-index:10000;color:#fff;font-weight:bold;font-size:150%}
1
  /**
2
+ * @version $Id: gantry.css 59430 2013-03-21 16:39:12Z jakub $
3
  * @author RocketTheme http://www.rockettheme.com
4
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
5
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
85
 
86
  /* Style */
87
  html,body {margin-bottom: 1px;}
 
 
 
 
88
  #rt-logo {background: url(../images/header-assets.png) 0 0 no-repeat;}
89
  #rt-menu ul.menu li a {color: #fff;}
90
  #rt-menu ul.menu li a:hover {background: #444;color: #fff;}
91
  #rt-menu ul.menu li.active a, #rt-menu ul.menu li.active a:hover {background: #fff;color: #000;}
 
 
 
 
92
  #rocket {background: url(../images/rocket.png) 0 0 no-repeat;}
93
 
94
  #gantry-viewswitcher {background-image: url(../images/iphone/switcher.png); background-repeat: no-repeat; background-position: top left; width: 60px; height: 20px;display:block;position:absolute;right: 10px;top:40%;}
102
  * html .clearfix {height: 1%;}
103
  .clearfix {display: block;}
104
 
105
+ /* SmartLoad */
106
+ img.spinner {background:url(../images/spinner.gif) center center no-repeat;}
107
+
108
  /* Debug only */
109
  #debug #rt-main {overflow:hidden;border-bottom: 4px solid #666; margin-top:15px;position:relative}
110
  #debug .status {position: absolute;background:#333;opacity:.3;padding:0px 15px;z-index:10000;color:#fff;font-weight:bold;font-size:150%}
functions.php CHANGED
@@ -168,7 +168,7 @@ function gantry_construct()
168
  /**
169
  * @name GANTRY_VERSION
170
  */
171
- define('GANTRY_VERSION', '4.0.1');
172
 
173
 
174
  if (!defined('DS')) {
168
  /**
169
  * @name GANTRY_VERSION
170
  */
171
+ define('GANTRY_VERSION', '4.0.2');
172
 
173
 
174
  if (!defined('DS')) {
gantry.php CHANGED
@@ -10,7 +10,7 @@
10
  Plugin Name: Gantry Template Framework
11
  Plugin URI: http://www.gantry-framework.org/
12
  Description: This is a Framework to support easily modifiable themes that are very extensible.
13
- Version: 4.0.1
14
  Author: RocketTheme
15
  Author URI: http://www.rockettheme.com/wordpress
16
  License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
10
  Plugin Name: Gantry Template Framework
11
  Plugin URI: http://www.gantry-framework.org/
12
  Description: This is a Framework to support easily modifiable themes that are very extensible.
13
+ Version: 4.0.2
14
  Author: RocketTheme
15
  Author URI: http://www.rockettheme.com/wordpress
16
  License: http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
readme.txt CHANGED
@@ -4,7 +4,7 @@ Author URI: http://gantry-framework.org
4
  Tags: gantry, framework, template, theme, widgets, flexible, extensible, configurable, 960px, grid, columns, powerful
5
  Requires at least: 3.2
6
  Tested up to: 3.5.1
7
- Stable tag: 4.0.1
8
 
9
  Gantry is a comprehensive set of building blocks to enable the rapid development and realization of a design into a flexible and powerful web platform
10
 
@@ -84,6 +84,9 @@ Once you downloaded and installed Gantry Framework plugin, please download also
84
 
85
  == Changelog ==
86
 
 
 
 
87
  = 4.0.1 =
88
  * Next Gantry Framework Major Release. Please always do a full backup (files + database) of your site before upgrading!
89
  * Fixed incompatibility with PHP 5.2
@@ -303,6 +306,9 @@ Once you downloaded and installed Gantry Framework plugin, please download also
303
 
304
  == Upgrade Notice ==
305
 
 
 
 
306
  = 4.0.1 =
307
  Please remember to create a full site backup (files + database) before performing update.
308
 
4
  Tags: gantry, framework, template, theme, widgets, flexible, extensible, configurable, 960px, grid, columns, powerful
5
  Requires at least: 3.2
6
  Tested up to: 3.5.1
7
+ Stable tag: 4.0.2
8
 
9
  Gantry is a comprehensive set of building blocks to enable the rapid development and realization of a design into a flexible and powerful web platform
10
 
84
 
85
  == Changelog ==
86
 
87
+ = 4.0.2 =
88
+ * Reverted some CSS changes in gantry.css which could cause some bad color appearance in couple themes
89
+
90
  = 4.0.1 =
91
  * Next Gantry Framework Major Release. Please always do a full backup (files + database) of your site before upgrading!
92
  * Fixed incompatibility with PHP 5.2
306
 
307
  == Upgrade Notice ==
308
 
309
+ = 4.0.2 =
310
+ Please remember to create a full site backup (files + database) before performing update.
311
+
312
  = 4.0.1 =
313
  Please remember to create a full site backup (files + database) before performing update.
314
 
widgets/breadcrumbs.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version 4.0.1 March 20, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.0.2 March 21, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
widgets/loginbutton.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version 4.0.1 March 20, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.0.2 March 21, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
widgets/loginform.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version 4.0.1 March 20, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.0.2 March 21, 2013
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2013 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only