Redux Framework - Version 3.6.11

Version Description

Download this release

Release Info

Developer KProvance
Plugin Icon 128x128 Redux Framework
Version 3.6.11
Comparing to
See all releases

Code changes from version 3.6.10 to 3.6.11

CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
  # Redux Framework Changelog
2
 
 
 
 
3
  ## 3.6.10
4
  * Updated Google font update.
5
  * Updated: #3447 - Updated RTL CSS. Thanks @Abolfazlrt.
1
  # Redux Framework Changelog
2
 
3
+ ## 3.6.11
4
+ * Fixed: #3561, #3562 - Not all selectors in async typography were properly formed, causing them not to render properly on screen.
5
+
6
  ## 3.6.10
7
  * Updated Google font update.
8
  * Updated: #3447 - Updated RTL CSS. Thanks @Abolfazlrt.
ReduxCore/framework.php CHANGED
@@ -69,7 +69,7 @@
69
  // Please update the build number with each push, no matter how small.
70
  // This will make for easier support when we ask users what version they are using.
71
 
72
- public static $_version = '3.6.9';
73
  public static $_dir;
74
  public static $_url;
75
  public static $_upload_dir;
69
  // Please update the build number with each push, no matter how small.
70
  // This will make for easier support when we ask users what version they are using.
71
 
72
+ public static $_version = '3.6.11';
73
  public static $_dir;
74
  public static $_url;
75
  public static $_upload_dir;
ReduxCore/inc/fields/typography/field_typography.php CHANGED
@@ -747,13 +747,25 @@ if ( ! class_exists( 'ReduxFramework_typography' ) ) {
747
  if ( ! empty( $this->field['output'] ) && is_array( $this->field['output'] ) ) {
748
  $keys = implode( ",", $this->field['output'] );
749
  $this->parent->outputCSS .= $keys . "{" . $style . '}';
 
750
  if ( isset( $this->parent->args['async_typography'] ) && $this->parent->args['async_typography'] ) {
751
  $key_string = "";
752
  $key_string_ie = "";
 
753
  foreach ( $this->field['output'] as $value ) {
754
- $key_string .= ".wf-loading " . $value . ',';
755
- $key_string_ie .= ".ie.wf-loading " . $value . ',';
 
 
 
 
 
 
 
 
 
756
  }
 
757
  $this->parent->outputCSS .= rtrim( $key_string, ',' ) . "{opacity: 0;}";
758
  $this->parent->outputCSS .= rtrim( $key_string_ie, ',' ) . "{visibility: hidden;}";
759
  }
@@ -765,9 +777,19 @@ if ( ! class_exists( 'ReduxFramework_typography' ) ) {
765
  if ( isset( $this->parent->args['async_typography'] ) && $this->parent->args['async_typography'] ) {
766
  $key_string = "";
767
  $key_string_ie = "";
 
768
  foreach ( $this->field['compiler'] as $value ) {
769
- $key_string .= ".wf-loading " . $value . ',';
770
- $key_string_ie .= ".ie.wf-loading " . $value . ',';
 
 
 
 
 
 
 
 
 
771
  }
772
 
773
  $this->parent->compilerCSS .= rtrim( $key_string, ',' ) . "{opacity: 0;}";
747
  if ( ! empty( $this->field['output'] ) && is_array( $this->field['output'] ) ) {
748
  $keys = implode( ",", $this->field['output'] );
749
  $this->parent->outputCSS .= $keys . "{" . $style . '}';
750
+
751
  if ( isset( $this->parent->args['async_typography'] ) && $this->parent->args['async_typography'] ) {
752
  $key_string = "";
753
  $key_string_ie = "";
754
+
755
  foreach ( $this->field['output'] as $value ) {
756
+ if (strpos($value,',') !== false) {
757
+ $arr = explode(',', $value);
758
+
759
+ foreach ($arr as $subvalue) {
760
+ $key_string .= ".wf-loading " . $subvalue . ',';
761
+ $key_string_ie .= ".ie.wf-loading " . $subvalue . ',';
762
+ }
763
+ } else {
764
+ $key_string .= ".wf-loading " . $value . ',';
765
+ $key_string_ie .= ".ie.wf-loading " . $value . ',';
766
+ }
767
  }
768
+
769
  $this->parent->outputCSS .= rtrim( $key_string, ',' ) . "{opacity: 0;}";
770
  $this->parent->outputCSS .= rtrim( $key_string_ie, ',' ) . "{visibility: hidden;}";
771
  }
777
  if ( isset( $this->parent->args['async_typography'] ) && $this->parent->args['async_typography'] ) {
778
  $key_string = "";
779
  $key_string_ie = "";
780
+
781
  foreach ( $this->field['compiler'] as $value ) {
782
+ if (strpos($value,',') !== false) {
783
+ $arr = explode(',', $value);
784
+
785
+ foreach ($arr as $subvalue) {
786
+ $key_string .= ".wf-loading " . $subvalue . ',';
787
+ $key_string_ie .= ".ie.wf-loading " . $subvalue . ',';
788
+ }
789
+ } else {
790
+ $key_string .= ".wf-loading " . $value . ',';
791
+ $key_string_ie .= ".ie.wf-loading " . $value . ',';
792
+ }
793
  }
794
 
795
  $this->parent->compilerCSS .= rtrim( $key_string, ',' ) . "{opacity: 0;}";
class.redux-plugin.php CHANGED
@@ -26,7 +26,7 @@
26
  * @since 3.0.0
27
  */
28
 
29
- const VERSION = '3.6.10';
30
 
31
  /**
32
  * @access protected
26
  * @since 3.0.0
27
  */
28
 
29
+ const VERSION = '3.6.11';
30
 
31
  /**
32
  * @access protected
composer.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "redux-framework/redux-framework",
3
- "version": "3.6.10",
4
  "authors": [
5
  {
6
  "name": "Team Redux"
1
  {
2
  "name": "redux-framework/redux-framework",
3
+ "version": "3.6.11",
4
  "authors": [
5
  {
6
  "name": "Team Redux"
package.json CHANGED
@@ -1,6 +1,6 @@
1
  {
2
  "name": "redux-framework",
3
- "version": "3.6.10",
4
  "title": "ReduxFramework",
5
  "description": "Redux is a simple, truly extensible options framework for WordPress themes and plugins.",
6
  "main": "Gruntfile.js",
1
  {
2
  "name": "redux-framework",
3
+ "version": "3.6.11",
4
  "title": "ReduxFramework",
5
  "description": "Redux is a simple, truly extensible options framework for WordPress themes and plugins.",
6
  "main": "Gruntfile.js",
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
4
  Tags: admin, admin interface, options, theme options, plugin options, options framework, settings, web fonts, google fonts
5
  Requires at least: 3.5.1
6
  Tested up to: 4.9.8
7
- Stable tag: 3.6.10
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -124,6 +124,9 @@ That's because the real FAQ section is on our site! Please visit [http://docs.re
124
  1. This is the demo mode of Redux Framework. Activate it and you will find a fully-functional admin panel that you can play with. On the Plugins page, beneath the description and an activated Redux Framework, you will find a Demo Mode link. Click that link to activate or deactivate the sample-config file Redux ships with. Don't take our word for it, check out our online demo and try Redux without installing a thing! [**http://demo.reduxframework.com/wp-admin/**](http://demo.reduxframework.com/wp-admin/)
125
 
126
  == Changelog ==
 
 
 
127
  ## 3.6.10
128
  * Updated Google font update.
129
  * Updated: #3447 - Updated RTL CSS. Thanks @Abolfazlrt.
4
  Tags: admin, admin interface, options, theme options, plugin options, options framework, settings, web fonts, google fonts
5
  Requires at least: 3.5.1
6
  Tested up to: 4.9.8
7
+ Stable tag: 3.6.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
124
  1. This is the demo mode of Redux Framework. Activate it and you will find a fully-functional admin panel that you can play with. On the Plugins page, beneath the description and an activated Redux Framework, you will find a Demo Mode link. Click that link to activate or deactivate the sample-config file Redux ships with. Don't take our word for it, check out our online demo and try Redux without installing a thing! [**http://demo.reduxframework.com/wp-admin/**](http://demo.reduxframework.com/wp-admin/)
125
 
126
  == Changelog ==
127
+ ## 3.6.11
128
+ * Fixed: #3561, #3562 - Not all selectors in async typography were properly formed, causing them not to render properly on screen.
129
+
130
  ## 3.6.10
131
  * Updated Google font update.
132
  * Updated: #3447 - Updated RTL CSS. Thanks @Abolfazlrt.
redux-framework.php CHANGED
@@ -12,7 +12,7 @@
12
  * Description: Redux is a simple, truly extensible options framework for WordPress themes and plugins.
13
  * Author: Team Redux
14
  * Author URI: http://reduxframework.com
15
- * Version: 3.6.10
16
  * Text Domain: redux-framework
17
  * License: GPL2+
18
  * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
12
  * Description: Redux is a simple, truly extensible options framework for WordPress themes and plugins.
13
  * Author: Team Redux
14
  * Author URI: http://reduxframework.com
15
+ * Version: 3.6.11
16
  * Text Domain: redux-framework
17
  * License: GPL2+
18
  * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
sample/sample-config.php CHANGED
@@ -82,7 +82,7 @@
82
  // Set it you want google fonts to update weekly. A google_api_key value is required.
83
  'google_update_weekly' => false,
84
  // Must be defined to add google fonts to the typography module
85
- 'async_typography' => true,
86
  // Use a asynchronous font on the front end or font string
87
  //'disable_google_fonts_link' => true, // Disable this in case you want to create your own google fonts loader
88
  'admin_bar' => true,
@@ -1713,6 +1713,7 @@
1713
  'title' => __( 'Body Font', 'redux-framework-demo' ),
1714
  'subtitle' => __( 'Specify the body font properties.', 'redux-framework-demo' ),
1715
  'google' => true,
 
1716
  'default' => array(
1717
  'color' => '#dd9933',
1718
  'font-size' => '30px',
@@ -1739,9 +1740,9 @@
1739
  //'preview' => false, // Disable the previewer
1740
  'all_styles' => true,
1741
  // Enable all Google Font style/weight variations to be added to the page
1742
- 'output' => array( 'h2.site-description, .entry-title' ),
1743
  // An array of CSS selectors to apply this font style to dynamically
1744
- 'compiler' => array( 'h2.site-description-compiler' ),
1745
  // An array of CSS selectors to apply this font style to dynamically
1746
  'units' => 'px',
1747
  // Defaults to px
82
  // Set it you want google fonts to update weekly. A google_api_key value is required.
83
  'google_update_weekly' => false,
84
  // Must be defined to add google fonts to the typography module
85
+ 'async_typography' => false,
86
  // Use a asynchronous font on the front end or font string
87
  //'disable_google_fonts_link' => true, // Disable this in case you want to create your own google fonts loader
88
  'admin_bar' => true,
1713
  'title' => __( 'Body Font', 'redux-framework-demo' ),
1714
  'subtitle' => __( 'Specify the body font properties.', 'redux-framework-demo' ),
1715
  'google' => true,
1716
+ 'output' => array('h1, h2, h3, h4'),
1717
  'default' => array(
1718
  'color' => '#dd9933',
1719
  'font-size' => '30px',
1740
  //'preview' => false, // Disable the previewer
1741
  'all_styles' => true,
1742
  // Enable all Google Font style/weight variations to be added to the page
1743
+ 'output' => array( '.site-description' ),
1744
  // An array of CSS selectors to apply this font style to dynamically
1745
+ 'compiler' => array( 'site-description-compiler' ),
1746
  // An array of CSS selectors to apply this font style to dynamically
1747
  'units' => 'px',
1748
  // Defaults to px