Skip to content

Commit 75454ef

Browse files
committed
#1329, 3.3.0 release
Signed-off-by:KProvance <[email protected]>
1 parent 9ec8e1e commit 75454ef

File tree

6 files changed

+62
-14
lines changed

6 files changed

+62
-14
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ Send me an email at [email protected] so I can add you to our user sp
7878

7979
### Master ###
8080

81+
= 3.3.0 =
82+
* Added: #1329 - `'preview' = array('always_display' => true)` argument to typography, to determine if preview field show always be shown.
83+
8184
= 3.2.9.38 =
8285
* Fixed: #1322 - Sections not folding with required argument.
8386
* Modified: Portions of core javascript rewritten into object code.

README.txt

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
44
Tags: admin, admin interface, options, theme options, plugin options, options framework, settings, web fonts, google fonts
55
Requires at least: 3.5.1
66
Tested up to: 3.9.1
7-
Stable tag: 3.2.9.13
7+
Stable tag: 3.3.0
88
License: GPLv3 or later
99
License URI: http://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -125,6 +125,45 @@ That's because the real FAQ section is on our site! Please visit [http://docs.re
125125

126126
== Changelog ==
127127

128+
= 3.3.0 =
129+
* Fixed: #1322 - Sections not folding with required argument.
130+
* Fixed: #1270 - Editor field compiler hook not firing in visual mode.
131+
* Fixed: select2 dependency in select_image, and other fields.
132+
* Fixed: Filter out `@eaDir` directories in extensions folder.
133+
* Fixed: Fixed the image_select presets to work again. Also now will function even if import/export is disabled.
134+
* Fixed: Minor tweaks for metabox update.
135+
* Fixed: #1297 - Missing space in image_select class.
136+
* Fixed: Slider field tweaked for metaboxes.
137+
* Fixed: #1291 - Change of font-family would not trigger preview, or show in open preview.
138+
* Fixed: #1289 - Typography not retaining size/height/spacing/word/letter spacing settings.
139+
* Fixed: #1288 - Background color-picker dependency missing. Thanks @farhanwazir.
140+
* Fixed: Search extension failed do to dependency issue from the core.
141+
* Fixed: #1281 - color field output/compiler outputting incorrect selector when only one array present.
142+
* Fixed: Update check only appears once if multiple instances of Redux are loaded in the same wordpress instance.
143+
* Fixed: Changing font-family in typography didn't trigger 'save changes' notification.
144+
* Fixed: More typography: Back up font appearing in font-family when opening selector.
145+
* Fixed: Typography: undefined message when NOT using google fonts. Thanks @farhanwazir
146+
* Fixed: Typography font backup not in sync with font-family.
147+
* Fixed: Typography not saving font-family after switching back and forth between standard and google fonts.
148+
* Fixed: Background field selects not properly aligned.
149+
* Fixed: Removed select field dependency from background field.
150+
* Fixed: #1264 - Color-picker/transparent checkbox functionality.
151+
* Fixed: Typography fine-tuning.
152+
* Fixed: All typography select fields render as select2.
153+
* Fixed: Switching between transparency on and off now restores the last chosen color in all color fields.
154+
* Fixed: Redux uploads dir should NOT be ~/wp-content/uploads, but just wp-content. As per Otto.
155+
* Fixed: Navigation no longer has that annoying outline around the links. Yuk.
156+
* Fixed: #1218 - Select2 multi select not accepting any keyboard input.
157+
* Fixed: #1228 - CSS fixes
158+
* Added: `hide_reset` argument, to hide the Reset All and Reset Section buttons.
159+
* Added: `content_title` argument to slides field. Thanks @psaikali!
160+
* Added: `customizer_only` argument for fields & sections, contributed by @andreilupu.
161+
* Added: select2 args for spacing field.
162+
* Added: select2 args for the following fields: typography, background, border, dimensions and slider.
163+
* Added: #1329 - `'preview' = array('always_display' => true)` argument to typography, to determine if preview field show always be shown.
164+
* Modified: Portions of core javascript rewritten into object code.
165+
* Modified: All field javascript rewritten using jQuery objects (versus standard function).
166+
* Modified: Typography field rewritten to fill out font-family field dynamically, versus on page load.
128167

129168
= 3.2.9.13 =
130169
* Modified data => taxonomies now has a little more power behind it.

ReduxCore/framework.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @package Redux_Framework
1616
* @subpackage Core
1717
* @author Redux Framework Team
18-
* @version 3.2.9.38
18+
* @version 3.3.0
1919
*/
2020

2121
// Exit if accessed directly
@@ -64,7 +64,7 @@ class ReduxFramework {
6464
// ATTENTION DEVS
6565
// Please update the build number with each push, no matter how small.
6666
// This will make for easier support when we ask users what version they are using.
67-
public static $_version = '3.2.9.38';
67+
public static $_version = '3.3.0';
6868
public static $_dir;
6969
public static $_url;
7070
public static $_upload_dir;

ReduxCore/inc/fields/typography/field_typography.php

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,9 @@ function render() {
190190

191191
echo '<input type="hidden" class="select2_params" value="' . $select2_params . '">';
192192
}
193-
194-
193+
194+
/* Font Family */
195195
if ($this->field['font-family'] === true) {
196-
/* Font Family */
197196
if (filter_var($this->value['google'], FILTER_VALIDATE_BOOLEAN)) {
198197
$fontFamily = explode(', ', $this->value['font-family'], 2);
199198
if (empty($fontFamily[0]) && !empty($fontFamily[1])) {
@@ -417,7 +416,7 @@ function render() {
417416
echo '</div>';
418417
}
419418

420-
/* Line Height */
419+
/* Line Height */
421420
if ($this->field['line-height'] === true){
422421
echo '<div class="input_wrapper line-height redux-container-typography">';
423422
echo '<label>' . __('Line Height', 'redux-framework') . '</label>';
@@ -446,7 +445,7 @@ function render() {
446445

447446
echo '<div class="clearfix"></div>';
448447

449-
/* Font Color */
448+
/* Font Color */
450449
if ($this->field['color'] === true){
451450
$default = "";
452451

@@ -462,8 +461,8 @@ function render() {
462461
echo '<input data-default-color="' . $default . '" class="redux-color redux-typography-color' . $this->field['class'] . '" original-title="' . __('Font color', 'redux-framework') . '" id="' . $this->field['id'] . '-color" name="' . $this->field['name'] . '[color]' . $this->field['name_suffix'] . '" type="text" value="' . $this->value['color'] . '" data-id="' . $this->field['id'] . '" />';
463462
echo '</div>';
464463
}
464+
465465
echo '<div class="clearfix"></div>';
466-
467466

468467
/* Font Preview */
469468
if (!isset($this->field['preview']) || $this->field['preview'] !== false){
@@ -473,15 +472,22 @@ function render() {
473472
$g_text = '1 2 3 4 5 6 7 8 9 0 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d e f g h i j k l m n o p q r s t u v w x y z';
474473
}
475474

475+
$style = '';
476+
if (isset($this->field['preview']['always_display'])) {
477+
if (true === filter_var( $this->field['preview']['always_display'], FILTER_VALIDATE_BOOLEAN )) {
478+
$style = 'display: block;';
479+
}
480+
}
481+
476482
if (isset($this->field['preview']['font-size'])) {
477-
$g_size = 'style="font-size: ' . $this->field['preview']['font-size'] . ';"';
483+
$style .= 'font-size: ' . $this->field['preview']['font-size'] . ';';
478484
$inUse = '1';
479485
} else {
480-
$g_size = '';
486+
//$g_size = '';
481487
$inUse = '0';
482488
}
483489

484-
echo '<p data-preview-size="' . $inUse . '" class="clear ' . $this->field['id'] . '_previewer typography-preview" ' . $g_size . '>' . $g_text . '</p>';
490+
echo '<p data-preview-size="' . $inUse . '" class="clear ' . $this->field['id'] . '_previewer typography-preview" ' . 'style="' . $style . '">' . $g_text . '</p>';
485491
echo '</div>'; // end typography container
486492
}
487493
} //function

class.redux-plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class ReduxFrameworkPlugin {
2525
* @const string VERSION The plugin version, used for cache-busting and script file references
2626
* @since 3.0.0
2727
*/
28-
const VERSION = '3.2.9.38';
28+
const VERSION = '3.3.0';
2929

3030
/**
3131
* @access protected

redux-framework.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Description: Redux is a simple, truly extensible options framework for WordPress themes and plugins.
1313
* Author: Team Redux
1414
* Author URI: http://reduxframework.com
15-
* Version: 3.2.9.38
15+
* Version: 3.3.0
1616
* Text Domain: redux-framework
1717
* License: GPL3+
1818
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt

0 commit comments

Comments
 (0)