Skip to content

Commit

Permalink
#1329, 3.3.0 release
Browse files Browse the repository at this point in the history
Signed-off-by:KProvance <[email protected]>
  • Loading branch information
kprovance committed Jun 8, 2014
1 parent 9ec8e1e commit 75454ef
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 14 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ Send me an email at [email protected] so I can add you to our user sp

### Master ###

= 3.3.0 =
* Added: #1329 - `'preview' = array('always_display' => true)` argument to typography, to determine if preview field show always be shown.

= 3.2.9.38 =
* Fixed: #1322 - Sections not folding with required argument.
* Modified: Portions of core javascript rewritten into object code.
Expand Down
41 changes: 40 additions & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
Tags: admin, admin interface, options, theme options, plugin options, options framework, settings, web fonts, google fonts
Requires at least: 3.5.1
Tested up to: 3.9.1
Stable tag: 3.2.9.13
Stable tag: 3.3.0
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html

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

== Changelog ==

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

= 3.2.9.13 =
* Modified data => taxonomies now has a little more power behind it.
Expand Down
4 changes: 2 additions & 2 deletions ReduxCore/framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* @package Redux_Framework
* @subpackage Core
* @author Redux Framework Team
* @version 3.2.9.38
* @version 3.3.0
*/

// Exit if accessed directly
Expand Down Expand Up @@ -64,7 +64,7 @@ class ReduxFramework {
// ATTENTION DEVS
// Please update the build number with each push, no matter how small.
// This will make for easier support when we ask users what version they are using.
public static $_version = '3.2.9.38';
public static $_version = '3.3.0';
public static $_dir;
public static $_url;
public static $_upload_dir;
Expand Down
24 changes: 15 additions & 9 deletions ReduxCore/inc/fields/typography/field_typography.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,9 @@ function render() {

echo '<input type="hidden" class="select2_params" value="' . $select2_params . '">';
}


/* Font Family */
if ($this->field['font-family'] === true) {
/* Font Family */
if (filter_var($this->value['google'], FILTER_VALIDATE_BOOLEAN)) {
$fontFamily = explode(', ', $this->value['font-family'], 2);
if (empty($fontFamily[0]) && !empty($fontFamily[1])) {
Expand Down Expand Up @@ -417,7 +416,7 @@ function render() {
echo '</div>';
}

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

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

/* Font Color */
/* Font Color */
if ($this->field['color'] === true){
$default = "";

Expand All @@ -462,8 +461,8 @@ function render() {
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'] . '" />';
echo '</div>';
}

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


/* Font Preview */
if (!isset($this->field['preview']) || $this->field['preview'] !== false){
Expand All @@ -473,15 +472,22 @@ function render() {
$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';
}

$style = '';
if (isset($this->field['preview']['always_display'])) {
if (true === filter_var( $this->field['preview']['always_display'], FILTER_VALIDATE_BOOLEAN )) {
$style = 'display: block;';
}
}

if (isset($this->field['preview']['font-size'])) {
$g_size = 'style="font-size: ' . $this->field['preview']['font-size'] . ';"';
$style .= 'font-size: ' . $this->field['preview']['font-size'] . ';';
$inUse = '1';
} else {
$g_size = '';
//$g_size = '';
$inUse = '0';
}

echo '<p data-preview-size="' . $inUse . '" class="clear ' . $this->field['id'] . '_previewer typography-preview" ' . $g_size . '>' . $g_text . '</p>';
echo '<p data-preview-size="' . $inUse . '" class="clear ' . $this->field['id'] . '_previewer typography-preview" ' . 'style="' . $style . '">' . $g_text . '</p>';
echo '</div>'; // end typography container
}
} //function
Expand Down
2 changes: 1 addition & 1 deletion class.redux-plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class ReduxFrameworkPlugin {
* @const string VERSION The plugin version, used for cache-busting and script file references
* @since 3.0.0
*/
const VERSION = '3.2.9.38';
const VERSION = '3.3.0';

/**
* @access protected
Expand Down
2 changes: 1 addition & 1 deletion redux-framework.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* Description: Redux is a simple, truly extensible options framework for WordPress themes and plugins.
* Author: Team Redux
* Author URI: http://reduxframework.com
* Version: 3.2.9.38
* Version: 3.3.0
* Text Domain: redux-framework
* License: GPL3+
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
Expand Down

0 comments on commit 75454ef

Please sign in to comment.