Gantry 4 Framework - Version 4.1.14

Version Description

  • Fixed JS errors caused by YOAST SEO on Gantry 4 Theme Settings page making it unusable.
  • Added an Gizmo option to enable/disable YOAST SEO JS on Widgets page in order to make the Gantry 4 MooTools scripts usable. You need to copy "yoastwidgets" fields from Gantry 4 default themes templateDetails.xml to your own theme to be able to enable and disable this functionality.
Download this release

Release Info

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

Code changes from version 4.1.13 to 4.1.14

MD5SUMS CHANGED
@@ -33,14 +33,14 @@ admin/forms/fields/ajaxbutton.php 424216d45459379f7290978cc6a860cb
33
  admin/forms/fields/overlays.php b6dafd51867e32e7ad4293a03657ed0c
34
  admin/forms/fields/list.php 5897d4aea8b9458c9a6f72e609fc9258
35
  admin/forms/fields/radio.php fc75d589a1c8dbaaba1b16b1c176d47e
36
- admin/forms/fields/imagepicker.php e589429b75154a11c2248a3d2296b8a5
37
  admin/forms/fields/diagnostic.php c62bbbb9367694327db630b283004f99
38
  admin/forms/fields/selectbox.php b171e3b831aa9dc5654ea8e8716cc96f
39
  admin/forms/fields/slider.php 817b84ba04595320e764c722415a86f1
40
  admin/forms/fields/showmax.php 376d461787ae52de33f5f3ceb198c677
41
  admin/forms/fields/preset.php c309588457906f0a74e27e329b05af7c
42
  admin/forms/fields/gradient.php e4eae90839617d7687cabf53695769bd
43
- admin/forms/fields/updater.php f24e8d767c9bb24e43b4c55b9460bfaf
44
  admin/forms/fields/html.php d71542f12c964fb0323a74343f38fc5e
45
  admin/forms/fields/imagelist.php 52e1d8ae003c498c0d15021d9f68d840
46
  admin/forms/fields/alias.php 2aacc555a0e309439e7b9ea467ecfafc
@@ -91,7 +91,7 @@ admin/widgets/colorchooser/images/moor_arrows.png 4edbf4fedcedde96754d74921e39d6
91
  admin/widgets/colorchooser/images/chooser-back.png f243df6677d7ea2a9cc8268b530f1ff9
92
  admin/widgets/colorchooser/images/moor_cursor.gif 031ecf9ba2ddbbf8b18f06a4aa15f79e
93
  admin/widgets/colorchooser/index.html d41d8cd98f00b204e9800998ecf8427e
94
- admin/widgets/colorchooser/css/mooRainbow-2.0.css 90b03412d5b15671fbd76de56a2370a9
95
  admin/widgets/colorchooser/css/index.html d41d8cd98f00b204e9800998ecf8427e
96
  admin/widgets/colorchooser/css/mooRainbow.css 6fa2f91acbb0dc6bddc651efd1987a62
97
  admin/widgets/colorchooser/css/mooRainbow-2.0.less 73a8fa09c524c091892d5bcc0bf25597
@@ -370,6 +370,7 @@ gizmos/maintenancemode.php 03d076449624e57c3ea5a60a546e9116
370
  gizmos/wpml.php d8d01d2932cae829071bcce58c83dd34
371
  gizmos/compatibility.php 52db2f33be0f062bda5e7685452383db
372
  gizmos/rtl.php 42ee13ead196d03b8841437af68e5b07
 
373
  gizmos/childcss.php f944c21de556ede001b1edf2b976c033
374
  gizmos/rokstyle.php 4053a939c0ce7a7f5afc38227fc3a6c9
375
  gizmos/feedlinks.php f20848b5f5630806bfc9bdf9522af91b
@@ -413,12 +414,12 @@ core/config/gantryformfieldhelper.class.php fe96f17ae445bb87386ed0fd1351e802
413
  core/config/gantryparameters.class.php f2ea3eb4607193810b81e74d629f6ef1
414
  core/config/gantryformitem.class.php d82179063c2e26a3991a4360fd499241
415
  core/gantrybodylayout.class.php 42636cbecd49811943840120bf0130e7
416
- core/gantry.class.php 43a5c0a1b0c469c130f6f2034a94500c
417
  core/gantrycommentstempllayout.class.php af10a703f2ccde84403dba0fa0646a52
418
  core/gantrygizmo.class.php 8875b68927d9b9ab2257114949531ecd
419
  core/gantrygzipper.class.php 32cd05d1198786f5c7b74c722a46b772
420
  core/utilities/gantryxml.class.php 7b75e07708b907a37be839cb135cd34d
421
- core/utilities/gantrycache.class.php a154cf9e8f84cbd5fb55dd9ded4433c0
422
  core/utilities/gantrylesscompiler.class.php 82d9009ff946c9276cf072fdc76acc9c
423
  core/utilities/gantryregistry.class.php 5b8dc9df5b07d1039085c0b75684222b
424
  core/utilities/registry/index.html d41d8cd98f00b204e9800998ecf8427e
@@ -530,11 +531,11 @@ libs/google-code-prettify/lang-lisp.js 71ac79ad50ec3fed97fa82ea945f3551
530
  libs/google-code-prettify/lang-css.js 96ce256446c4669341f32da15f4787e4
531
  libs/google-code-prettify/lang-erlang.js 9e367311ee53e21158a8ae7522b35d18
532
  libs/phpQuery.php b695114cb978209633afb889171c0d3b
533
- gantry.php eafc887a7c1cfdd2c36da1dc12fc2a25
534
  tmpl/index-iphone.php a6c699ab31f1858848a412ebb7a5684c
535
  tmpl/index.html d41d8cd98f00b204e9800998ecf8427e
536
  MD5SUMS d41d8cd98f00b204e9800998ecf8427e
537
- functions.php ec16d074dbcf3cbc1b8c66ef455f064e
538
  html/comments.php 7a9d141db65e95bfbfbf9178b15b42e1
539
  html/layouts/chrome_standard.php 785b6f2032cf267d68bc6887a712a42b
540
  html/layouts/doc_body.php 99fa2491b76d6f2a3ddffc4fd12c623d
@@ -572,18 +573,18 @@ widgets/recentposts.xml d60f230153a08bba049068ffba7ca15c
572
  widgets/loginform.xml 26fa1e26d597161f1f33668207926411
573
  widgets/overridesmap.xml d062edbe62fc8cd15c269d164da74dfc
574
  widgets/viewswitcher.xml d9158524afde20931b4e3b54417840f7
575
- widgets/loginform.php b988b70350a7ff324e41f11f81fe1c42
576
  widgets/copyright.php 5da4bf1f8067937fbbbb254d9077cd50
577
  widgets/resetsettings.php adae93737b215cf9836550fc44503e18
578
  widgets/meta.xml f77c2a19fa5fe6b95576704774959eec
579
  widgets/fontsizer.xml 77afbf9a3700b10ad9a83d262796cf7b
580
- widgets/breadcrumbs.php 44442e3157a94003e7249c43e5a0a201
581
  widgets/categories.xml 125aeda3d4d31f8d7cb4af4c914570c8
582
  widgets/logo.php cb76749e0fd1950337e0b7764bb8c81a
583
  widgets/totop.xml ce222afe1834fb12e6340143ede72bb2
584
  widgets/date.php 5753ef220912518bb3df4e11766b0748
585
  widgets/recentcomments.xml 9560a0123f311b0ea6fb281ca638af44
586
- widgets/loginbutton.php 257a1113f1d2c854285065e86b94ca63
587
  widgets/pages.php 778c3427151550b227cff03686601123
588
  widgets/resetsettings.xml 300de5950affc376a9fb46d242478ee6
589
  widgets/date.xml 47cc13a501097b9d3a002c0929c6b71d
@@ -650,7 +651,7 @@ widgets/menu.php 3fbb9e719137e904b73fdde9f34cc6e9
650
  widgets/breadcrumbs.xml 25a46c0a7b1c1c129c91d34cc44be439
651
  widgets/divider.php 56fcd2b4bb795c235f4ae5b6ad424e64
652
  widgets/loginbutton.xml 6747ca3b33dc84874e5cfb560753e554
653
- readme.txt d8f83a0ecc78b060dbd5e97537abf280
654
  plugin-updater/.gitkeep d41d8cd98f00b204e9800998ecf8427e
655
  CHANGELOG.php 22a3b7590d705f7aa2778c433baa00bd
656
  bugfixes.php d8b02eee01734d82e245a63ea05db714
33
  admin/forms/fields/overlays.php b6dafd51867e32e7ad4293a03657ed0c
34
  admin/forms/fields/list.php 5897d4aea8b9458c9a6f72e609fc9258
35
  admin/forms/fields/radio.php fc75d589a1c8dbaaba1b16b1c176d47e
36
+ admin/forms/fields/imagepicker.php d6063bb74fa487e5a9cc8014336e4305
37
  admin/forms/fields/diagnostic.php c62bbbb9367694327db630b283004f99
38
  admin/forms/fields/selectbox.php b171e3b831aa9dc5654ea8e8716cc96f
39
  admin/forms/fields/slider.php 817b84ba04595320e764c722415a86f1
40
  admin/forms/fields/showmax.php 376d461787ae52de33f5f3ceb198c677
41
  admin/forms/fields/preset.php c309588457906f0a74e27e329b05af7c
42
  admin/forms/fields/gradient.php e4eae90839617d7687cabf53695769bd
43
+ admin/forms/fields/updater.php 27f67e9abd234be3f32476497f8fd7f4
44
  admin/forms/fields/html.php d71542f12c964fb0323a74343f38fc5e
45
  admin/forms/fields/imagelist.php 52e1d8ae003c498c0d15021d9f68d840
46
  admin/forms/fields/alias.php 2aacc555a0e309439e7b9ea467ecfafc
91
  admin/widgets/colorchooser/images/chooser-back.png f243df6677d7ea2a9cc8268b530f1ff9
92
  admin/widgets/colorchooser/images/moor_cursor.gif 031ecf9ba2ddbbf8b18f06a4aa15f79e
93
  admin/widgets/colorchooser/index.html d41d8cd98f00b204e9800998ecf8427e
94
+ admin/widgets/colorchooser/css/mooRainbow-2.0.css 4f0a85efcc1451e22bf8bc4fe236c6e9
95
  admin/widgets/colorchooser/css/index.html d41d8cd98f00b204e9800998ecf8427e
96
  admin/widgets/colorchooser/css/mooRainbow.css 6fa2f91acbb0dc6bddc651efd1987a62
97
  admin/widgets/colorchooser/css/mooRainbow-2.0.less 73a8fa09c524c091892d5bcc0bf25597
370
  gizmos/wpml.php d8d01d2932cae829071bcce58c83dd34
371
  gizmos/compatibility.php 52db2f33be0f062bda5e7685452383db
372
  gizmos/rtl.php 42ee13ead196d03b8841437af68e5b07
373
+ gizmos/yoast.php 42187749a058b0c7d6c39d03a977664c
374
  gizmos/childcss.php f944c21de556ede001b1edf2b976c033
375
  gizmos/rokstyle.php 4053a939c0ce7a7f5afc38227fc3a6c9
376
  gizmos/feedlinks.php f20848b5f5630806bfc9bdf9522af91b
414
  core/config/gantryparameters.class.php f2ea3eb4607193810b81e74d629f6ef1
415
  core/config/gantryformitem.class.php d82179063c2e26a3991a4360fd499241
416
  core/gantrybodylayout.class.php 42636cbecd49811943840120bf0130e7
417
+ core/gantry.class.php e6c7c791f770e65c4c8acabbea083833
418
  core/gantrycommentstempllayout.class.php af10a703f2ccde84403dba0fa0646a52
419
  core/gantrygizmo.class.php 8875b68927d9b9ab2257114949531ecd
420
  core/gantrygzipper.class.php 32cd05d1198786f5c7b74c722a46b772
421
  core/utilities/gantryxml.class.php 7b75e07708b907a37be839cb135cd34d
422
+ core/utilities/gantrycache.class.php 51bf3c1a86697cdb196c6968b26425cd
423
  core/utilities/gantrylesscompiler.class.php 82d9009ff946c9276cf072fdc76acc9c
424
  core/utilities/gantryregistry.class.php 5b8dc9df5b07d1039085c0b75684222b
425
  core/utilities/registry/index.html d41d8cd98f00b204e9800998ecf8427e
531
  libs/google-code-prettify/lang-css.js 96ce256446c4669341f32da15f4787e4
532
  libs/google-code-prettify/lang-erlang.js 9e367311ee53e21158a8ae7522b35d18
533
  libs/phpQuery.php b695114cb978209633afb889171c0d3b
534
+ gantry.php 153ae0ed073586c536d43d627a91222c
535
  tmpl/index-iphone.php a6c699ab31f1858848a412ebb7a5684c
536
  tmpl/index.html d41d8cd98f00b204e9800998ecf8427e
537
  MD5SUMS d41d8cd98f00b204e9800998ecf8427e
538
+ functions.php 77524b00ac483a8d746cf7609fa75bc0
539
  html/comments.php 7a9d141db65e95bfbfbf9178b15b42e1
540
  html/layouts/chrome_standard.php 785b6f2032cf267d68bc6887a712a42b
541
  html/layouts/doc_body.php 99fa2491b76d6f2a3ddffc4fd12c623d
573
  widgets/loginform.xml 26fa1e26d597161f1f33668207926411
574
  widgets/overridesmap.xml d062edbe62fc8cd15c269d164da74dfc
575
  widgets/viewswitcher.xml d9158524afde20931b4e3b54417840f7
576
+ widgets/loginform.php 3f03838a4c7e093200820c6f2acbad3d
577
  widgets/copyright.php 5da4bf1f8067937fbbbb254d9077cd50
578
  widgets/resetsettings.php adae93737b215cf9836550fc44503e18
579
  widgets/meta.xml f77c2a19fa5fe6b95576704774959eec
580
  widgets/fontsizer.xml 77afbf9a3700b10ad9a83d262796cf7b
581
+ widgets/breadcrumbs.php 6de230807d9b131590f6dc299a04b1cd
582
  widgets/categories.xml 125aeda3d4d31f8d7cb4af4c914570c8
583
  widgets/logo.php cb76749e0fd1950337e0b7764bb8c81a
584
  widgets/totop.xml ce222afe1834fb12e6340143ede72bb2
585
  widgets/date.php 5753ef220912518bb3df4e11766b0748
586
  widgets/recentcomments.xml 9560a0123f311b0ea6fb281ca638af44
587
+ widgets/loginbutton.php c9420c2c64738d73bfb2247b1ee5a86d
588
  widgets/pages.php 778c3427151550b227cff03686601123
589
  widgets/resetsettings.xml 300de5950affc376a9fb46d242478ee6
590
  widgets/date.xml 47cc13a501097b9d3a002c0929c6b71d
651
  widgets/breadcrumbs.xml 25a46c0a7b1c1c129c91d34cc44be439
652
  widgets/divider.php 56fcd2b4bb795c235f4ae5b6ad424e64
653
  widgets/loginbutton.xml 6747ca3b33dc84874e5cfb560753e554
654
+ readme.txt 6b98cfcddc356180f2cf09f4058203c5
655
  plugin-updater/.gitkeep d41d8cd98f00b204e9800998ecf8427e
656
  CHANGELOG.php 22a3b7590d705f7aa2778c433baa00bd
657
  bugfixes.php d8b02eee01734d82e245a63ea05db714
admin/forms/fields/imagepicker.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version 4.1.13 July 5, 2017
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.1.14 August 28, 2017
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2017 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.1.13") $currentVersion = "[DEV]";
31
 
32
  // curl check
33
  if (!function_exists('curl_version')) {
27
 
28
  $currentVersion = GANTRY_VERSION;
29
 
30
+ if ($currentVersion == "\4.1.14") $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.1.13 July 5, 2017
3
  * @author RocketTheme http://www.rockettheme.com
4
  * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
5
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  /**
2
+ * @version 4.1.14 August 28, 2017
3
  * @author RocketTheme http://www.rockettheme.com
4
  * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
5
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
core/gantry.class.php CHANGED
@@ -1056,7 +1056,7 @@ class Gantry
1056
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1057
  }
1058
  $filename = strtolower(basename($path, '.css')) . rand(0, 1000);
1059
- wp_enqueue_style($filename, $path, array(), '4.1.13');
1060
  $deps[] = $path;
1061
  }
1062
  }
@@ -1069,11 +1069,11 @@ class Gantry
1069
  if ($this->baseUrl != "/") {
1070
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1071
  }
1072
- wp_enqueue_script($path, $path, $deps, '4.1.13');
1073
  $deps[] = $path;
1074
  }
1075
  foreach ($this->_header_full_scripts as $strSrc) {
1076
- wp_enqueue_script($strSrc, $strSrc, $deps, '4.1.13');
1077
  $deps[] = $strSrc;
1078
  }
1079
 
@@ -1113,11 +1113,11 @@ class Gantry
1113
  if ($this->baseUrl != "/") {
1114
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1115
  }
1116
- wp_enqueue_script($path, $path, $deps, '4.1.13', true);
1117
  $deps[] = $path;
1118
  }
1119
  foreach ($this->_footer_full_scripts as $strSrc) {
1120
- wp_enqueue_script($strSrc, $strSrc, $deps, '4.1.13', true);
1121
  $deps[] = $strSrc;
1122
  }
1123
 
@@ -1765,7 +1765,7 @@ class Gantry
1765
  if (!defined('GANTRY_FINALIZED')) {
1766
  $this->_styles[$priority][] = $link;
1767
  } else {
1768
- wp_enqueue_style($link->getUrl(), $link->getUrl(), array(), '4.1.13');
1769
  }
1770
  }
1771
  }
@@ -1879,7 +1879,7 @@ class Gantry
1879
  $this->_footerscripts[$full_path] = $check_url_path . $query_string;
1880
  }
1881
  } else {
1882
- wp_enqueue_script($check_url_path, $check_url_path, array(), '4.1.13', $in_footer);
1883
  }
1884
  break;
1885
  }
@@ -1917,7 +1917,7 @@ class Gantry
1917
  $this->_footerscripts[$check_path] = $check_url_path . $query_string;
1918
  }
1919
  } else {
1920
- wp_enqueue_script($check_url_path, $check_url_path, array(), '4.1.13', $in_footer);
1921
  }
1922
  break(2);
1923
  }
1056
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1057
  }
1058
  $filename = strtolower(basename($path, '.css')) . rand(0, 1000);
1059
+ wp_enqueue_style($filename, $path, array(), '4.1.14');
1060
  $deps[] = $path;
1061
  }
1062
  }
1069
  if ($this->baseUrl != "/") {
1070
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1071
  }
1072
+ wp_enqueue_script($path, $path, $deps, '4.1.14');
1073
  $deps[] = $path;
1074
  }
1075
  foreach ($this->_header_full_scripts as $strSrc) {
1076
+ wp_enqueue_script($strSrc, $strSrc, $deps, '4.1.14');
1077
  $deps[] = $strSrc;
1078
  }
1079
 
1113
  if ($this->baseUrl != "/") {
1114
  $path = '/' . preg_replace('#^' . quotemeta($this->baseUrl) . '#', "", $path);
1115
  }
1116
+ wp_enqueue_script($path, $path, $deps, '4.1.14', true);
1117
  $deps[] = $path;
1118
  }
1119
  foreach ($this->_footer_full_scripts as $strSrc) {
1120
+ wp_enqueue_script($strSrc, $strSrc, $deps, '4.1.14', true);
1121
  $deps[] = $strSrc;
1122
  }
1123
 
1765
  if (!defined('GANTRY_FINALIZED')) {
1766
  $this->_styles[$priority][] = $link;
1767
  } else {
1768
+ wp_enqueue_style($link->getUrl(), $link->getUrl(), array(), '4.1.14');
1769
  }
1770
  }
1771
  }
1879
  $this->_footerscripts[$full_path] = $check_url_path . $query_string;
1880
  }
1881
  } else {
1882
+ wp_enqueue_script($check_url_path, $check_url_path, array(), '4.1.14', $in_footer);
1883
  }
1884
  break;
1885
  }
1917
  $this->_footerscripts[$check_path] = $check_url_path . $query_string;
1918
  }
1919
  } else {
1920
+ wp_enqueue_script($check_url_path, $check_url_path, array(), '4.1.14', $in_footer);
1921
  }
1922
  break(2);
1923
  }
core/utilities/gantrycache.class.php CHANGED
@@ -26,7 +26,7 @@ class GantryCache
26
  /**
27
  *
28
  */
29
- const ADMIN_GROUP_NAME = 'GantryAdmin-4.1.13';
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.1.13';
126
  $this->cache->addDriver('admin', new WpTransientCacheDriver($this->group, self::ADMIN_LIFETIME));
127
  }
128
  }
26
  /**
27
  *
28
  */
29
+ const ADMIN_GROUP_NAME = 'GantryAdmin-4.1.14';
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.1.14';
126
  $this->cache->addDriver('admin', new WpTransientCacheDriver($this->group, self::ADMIN_LIFETIME));
127
  }
128
  }
functions.php CHANGED
@@ -168,7 +168,7 @@ function gantry_construct()
168
  /**
169
  * @name GANTRY_VERSION
170
  */
171
- define('GANTRY_VERSION', '4.1.13');
172
 
173
 
174
  if (!defined('DS')) {
@@ -192,7 +192,7 @@ function gantry_construct()
192
 
193
  // Fix stuff on 4.4
194
  if(!get_option('gantry_4_1_10_execute_scripts') && $wp_version >= '4.4') {
195
- $cache_groups = array('gantry', 'Gantry', 'GantryAdmin-4.1.13', 'GantryLess', 'GantryAdminLess');
196
  foreach($cache_groups as $group) {
197
  $cache_handler = GantryCache::getCache( $group, 0, true );
198
  $cache_handler->clearGroupCache();
168
  /**
169
  * @name GANTRY_VERSION
170
  */
171
+ define('GANTRY_VERSION', '4.1.14');
172
 
173
 
174
  if (!defined('DS')) {
192
 
193
  // Fix stuff on 4.4
194
  if(!get_option('gantry_4_1_10_execute_scripts') && $wp_version >= '4.4') {
195
+ $cache_groups = array('gantry', 'Gantry', 'GantryAdmin-4.1.14', 'GantryLess', 'GantryAdminLess');
196
  foreach($cache_groups as $group) {
197
  $cache_handler = GantryCache::getCache( $group, 0, true );
198
  $cache_handler->clearGroupCache();
gantry.php CHANGED
@@ -10,7 +10,7 @@
10
  Plugin Name: Gantry 4 Framework
11
  Plugin URI: http://www.gantry.org/
12
  Description: This is a Framework to support easily modifiable themes that are very extensible.
13
- Version: 4.1.13
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 4 Framework
11
  Plugin URI: http://www.gantry.org/
12
  Description: This is a Framework to support easily modifiable themes that are very extensible.
13
+ Version: 4.1.14
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
gizmos/yoast.php ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * @version $Id: yoast.php 60800 2017-08-28 13:08:13Z jakub $
4
+ * @author RocketTheme http://www.rockettheme.com
5
+ * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
6
+ * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
7
+ */
8
+
9
+ defined( 'GANTRY_VERSION' ) or die();
10
+
11
+ gantry_import( 'core.gantrygizmo' );
12
+
13
+ /**
14
+ * @package gantry
15
+ * @subpackage features
16
+ */
17
+ class GantryGizmoYOAST extends GantryGizmo {
18
+
19
+ var $_name = 'yoast';
20
+
21
+ function isEnabled() {
22
+ if( class_exists( 'WPSEO_Admin' ) ) {
23
+ return true;
24
+ }
25
+
26
+ return false;
27
+ }
28
+
29
+ /**
30
+ * Copyright (C) 2017 Jakub Baran
31
+ */
32
+
33
+ function admin_init() {
34
+ global $gantry, $pagenow, $wpseo_admin;
35
+
36
+ if( isset( $pagenow ) && isset( $wpseo_admin ) ) {
37
+ if ( $pagenow == 'admin.php' && ( isset( $_GET['page'] ) && $_GET['page'] === 'gantry-theme-settings' ) ) {
38
+ remove_action('admin_enqueue_scripts', array( $wpseo_admin, 'config_page_scripts') );
39
+ }
40
+
41
+ if ( $pagenow == 'widgets.php' && $gantry->get('yoastwidgets-enabled') === '1') {
42
+ remove_action('admin_enqueue_scripts', array( $wpseo_admin, 'config_page_scripts') );
43
+ }
44
+ }
45
+ }
46
+ }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: gantry
3
  Author URI: http://gantry.org
4
  Tags: gantry, framework, template, theme, widgets, flexible, extensible, configurable, 960px, grid, columns, powerful, buddypress
5
  Requires at least: 3.2
6
- Tested up to: 4.8
7
- Stable tag: 4.1.13
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
 
@@ -89,6 +89,10 @@ Once you downloaded and installed Gantry 4 Framework plugin, please download als
89
 
90
  == Changelog ==
91
 
 
 
 
 
92
  = 4.1.13 =
93
  * Fix regression in widget rendering on non-existing positions
94
  * PHP 7 compatibility fixes
@@ -441,6 +445,9 @@ Once you downloaded and installed Gantry 4 Framework plugin, please download als
441
 
442
  == Upgrade Notice ==
443
 
 
 
 
444
  = 4.1.13 =
445
  Please remember to create a full site backup (files + database) before performing update.
446
 
3
  Author URI: http://gantry.org
4
  Tags: gantry, framework, template, theme, widgets, flexible, extensible, configurable, 960px, grid, columns, powerful, buddypress
5
  Requires at least: 3.2
6
+ Tested up to: 4.8.1
7
+ Stable tag: 4.1.14
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
 
89
 
90
  == Changelog ==
91
 
92
+ = 4.1.14 =
93
+ * Fixed JS errors caused by YOAST SEO on Gantry 4 Theme Settings page making it unusable.
94
+ * Added an Gizmo option to enable/disable YOAST SEO JS on Widgets page in order to make the Gantry 4 MooTools scripts usable. You need to copy "yoastwidgets" fields from Gantry 4 default themes templateDetails.xml to your own theme to be able to enable and disable this functionality.
95
+
96
  = 4.1.13 =
97
  * Fix regression in widget rendering on non-existing positions
98
  * PHP 7 compatibility fixes
445
 
446
  == Upgrade Notice ==
447
 
448
+ = 4.1.14 =
449
+ Please remember to create a full site backup (files + database) before performing update.
450
+
451
  = 4.1.13 =
452
  Please remember to create a full site backup (files + database) before performing update.
453
 
widgets/breadcrumbs.php CHANGED
@@ -1,6 +1,6 @@
1
  <?php
2
  /**
3
- * @version 4.1.13 July 5, 2017
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.1.14 August 28, 2017
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2017 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.1.13 July 5, 2017
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.1.14 August 28, 2017
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2017 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.1.13 July 5, 2017
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only
1
  <?php
2
  /**
3
+ * @version 4.1.14 August 28, 2017
4
  * @author RocketTheme http://www.rockettheme.com
5
  * @copyright Copyright (C) 2007 - 2017 RocketTheme, LLC
6
  * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only