Plugin Directory

Changeset 696684


Ignore:
Timestamp:
04/12/2013 05:45:28 PM (13 years ago)
Author:
macbrink
Message:

Bug Fix: No captions display because of style="display:none" (branch)

Location:
eazyest-gallery/branches/0.1
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • eazyest-gallery/branches/0.1/eazyest-gallery.php

    r695082 r696684  
    99 * Author: Brimosoft
    1010 * Author URI: http://brimosoft.nl
    11  * Version: 0.1.1-alpha-321
     11 * Version: 0.1.1
    1212 * Text Domain: eazyest-gallery
    1313 * Domain Path: /languages/
    1414 * License: GNU General Public License, version 3
    1515 *
    16  * @version 0.1.1 (r318
     16 * @version 0.1.1 (r324
    1717 * @package Eazyest Gallery
    1818 * @subpackage Main
  • eazyest-gallery/branches/0.1/frontend/class-eazyest-frontend.php

    r693635 r696684  
    99 *
    1010 * @since lazyest-gallery 0.16.0
    11  * @version 0.1.0 (r311)
     11 * @version 0.1.1 (r324)
    1212 * @package Eazyest Gallery
    1313 * @subpackage Frontend
     
    694694            $itemheight = $columns == 0 ? intval( get_option( 'thumbnail_size_h' ) ) + 22 : 0;
    695695            $imgheight = get_option( 'thumbnail_size_h' ) . 'px';
    696             $hide_caption = '';
    697             if ( ! isset( eazyest_gallery()->thumb_caption ) || ! eazyest_gallery()->thumb_caption )
    698                 $hide_caption = "
    699                 #{$selector} .gallery-caption {
    700                     display:none;
    701                 }
    702                 #{$selector} .gallery-caption.folder-caption {
    703                     display:block;
    704                 }
    705             "; 
    706696            $style = "
    707697                <style type='text/css'>
     
    728718                        margin-bottom: 0;
    729719                    }
    730                     $hide_caption
    731720                </style>"; 
    732721        }
  • eazyest-gallery/branches/0.1/readme.txt

    r694423 r696684  
    55Tested up to: 3.5.1
    66Requires at least: 3.5
    7 Stable tag: 0.1.0
     7Stable tag: 0.1.1
    88License: GPLv3
    99
     
    110110== Upgrade Notice ==
    111111
    112 = 0.1.0 =
    113 * __0.1.0__ is stable enough
     112= 0.1.1 =
     113* __0.1.1__ fixes the error where captions did not display for thumbnails
    114114
    115115== Changelog ==
     116
     117= 0.1.1 =
     118* Bug Fix: No captions display because of `style="display:none"`
    116119
    117120= 0.1.0 =
Note: See TracChangeset for help on using the changeset viewer.