Plugin Directory

Changeset 2120344


Ignore:
Timestamp:
07/09/2019 09:37:50 PM (7 years ago)
Author:
wpemaker
Message:

Update to version 1.1.1

Location:
max-grid/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • max-grid/trunk/includes/classes/elements.php

    r2118339 r2120344  
    218218                $hash     = json_decode( wp_remote_retrieve_body( wp_remote_get( $api_url ) ) );
    219219                $vidTime  = $hash[0]->duration;
    220                 $vid_duration = '<div class="vid-duration">'. maxgrid_duration_to_time($vidTime, 'vimeo').'ss</div>';               
     220                $vid_duration = '<div class="vid-duration">'. maxgrid_duration_to_time($vidTime, 'vimeo').'</div>';             
    221221            } else if ( $this->featured_type == 'youtube' ) {
    222222                $get_options = maxgrid()->get_options;
  • max-grid/trunk/includes/classes/global.php

    r2118339 r2120344  
    106106        }
    107107       
    108         if ( has_post_thumbnail( $post_id ) && get_the_post_thumbnail_url($post_id, $size) != "" ) {
     108        if ( has_post_thumbnail( $post_id ) && get_the_post_thumbnail_url($post_id, $size) != "" && $featured_type == 'image' ) {
    109109            $size    = isset($args['size']) ? $args['size'] : 'large';
    110110            return get_the_post_thumbnail_url($post_id, $size);
    111111        }
    112112       
    113         switch ($featured_type) {           
     113        switch ($featured_type) {
    114114            case 'image':
    115115                $thumbnail = get_the_post_thumbnail_url($post_id, $size);               
  • max-grid/trunk/max-grid.php

    r2119867 r2120344  
    44Plugin URI: https://www.mustaphafersaoui.fr/wp-plugins/max-grid
    55Description: Drag and drop grid builder, that helps you quickly and easily build responsive grid for your WordPress posts – no programming knowledge required.
    6 Version: 1.1
     6Version: 1.1.1
    77Author: Mustapha FERSAOUI
    88Author URI: https://www.mustaphafersaoui.fr
  • max-grid/trunk/readme.txt

    r2119867 r2120344  
    66Tested up to: 5.2.2
    77Requires PHP: 5
    8 Stable tag: 1.1
     8Stable tag: 1.1.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    108108* Add: Extensions menu/page
    109109* New: [YouTube Stream](https://mustaphafersaoui.fr/wp-plugins/max-grid/max-grid-youtube-stream-add-on/) - Premium Add-on
     110
     111= 1.1.1 =
     112* Fixed bug with video duration display.
     113* Fixed bug with displaying featured image if using Vimeo, YouTube or mp4 as Grid Post Thumbnail.
Note: See TracChangeset for help on using the changeset viewer.