Plugin Directory

Changeset 515742


Ignore:
Timestamp:
03/07/2012 08:37:11 AM (14 years ago)
Author:
brainstormmedia
Message:

Fix issue that would prevent Font styles from outputting if another option wasn't set on the same element.

Location:
styles/trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • styles/trunk/classes/storm-css-processor.php

    r515734 r515742  
    164164            extract( $el['values'] );
    165165
    166             if ( empty($active) || empty($selector) ) { continue; }
    167            
     166            if ( empty($selector) ) { continue; }
     167            if ( empty($active) && empty($color) && empty($font_size) && empty($font_family) && empty($font_weight) && empty($font_style) && empty($text_transform) && empty($line_height) ) {
     168                continue;
     169            }
     170
    168171            $properties = '';
    169172
     
    227230        // $font_style, $text_transform, $line_height
    228231        extract( $values );
    229        
     232
    230233        if ( is_object( $this->styles->wp->admin_settings )) {
    231234            $opts = $this->styles->wp->admin_settings;
  • styles/trunk/readme.txt

    r515734 r515742  
    77Requires at least: 3.1
    88Tested up to: 3.3.1
    9 Stable tag: 0.5.0
     9Stable tag: 0.5.1
    1010
    1111Change the appearance of supported themes using zero code. Creates appearance options for images, colors, gradients, and fonts.
     
    8181== Changelog ==
    8282
     83= 0.5.1 =
     84* Fix issue that would prevent Font styles from outputting if another option wasn't set on the same element.
     85
    8386= 0.5.0 =
    8487* Load themes from API: Allows for theme support to be added without plugin updates.
  • styles/trunk/styles.php

    r515734 r515742  
    44Plugin URI: http://stylesplugin.com
    55Description: Change the appearance of your theme using the WordPress admin. Creates WordPress theme options for images, colors, gradients, and fonts.
    6 Version: 0.5.0
     6Version: 0.5.1
    77Author: Brainstorm Media
    88Author URI: http://brainstormmedia.com
Note: See TracChangeset for help on using the changeset viewer.