WordPress.org

Plugin Directory


Ignore:
Timestamp:
07/04/17 09:43:54 (4 months ago)
Author:
mnmlthms
Message:

Update v1.0.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-flexslider/trunk/inc/public/main.php

    r1684136 r1690426  
    66 */ 
    77function wp_flexslider_get_option( $key = ''){ 
     8     
    89    $defaults = apply_filters( 'wp_flexslider_default_options', array( 
    910        'animation' => 'slide', 
     
    152153 
    153154        $i = 0; 
     155 
    154156        foreach ( $attachments as $id => $attachment ) { 
    155157            if ( ! empty( $atts['link'] ) && 'file' === $atts['link'] ) { 
     
    202204        $force_display = wp_flexslider_get_option('force_display'); 
    203205 
    204         if ( $force_display ) { 
     206        if ( $force_display && ( empty( $atts['type'] ) || ( $atts['type'] && 'default' === $atts['type']) ) ) { 
    205207            /** This filter is already documented in functions.gallery.php */ 
    206208            $atts['type'] = 'flexslider'; 
Note: See TracChangeset for help on using the changeset viewer.