Plugin Directory

Changeset 2185350


Ignore:
Timestamp:
11/04/2019 04:03:38 AM (6 years ago)
Author:
uwonder
Message:

Update to version 1.5 from GitHub

Location:
simple-google-photos-grid
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • simple-google-photos-grid/tags/1.5/readme.txt

    r2185349 r2185350  
    5454== Changelog ==
    5555
     56= 1.5 =
     57* Fixed notices in shortcode
     58
    5659= 1.4 =
    5760* Fixed uninstall and shortcode bugs
  • simple-google-photos-grid/tags/1.5/simple-google-photos-grid-shortcode.php

    r2185349 r2185350  
    1616    }
    1717
    18     $cache_interval = $attributes['cache-interval']
     18    $cache_interval = isset($attributes['cache-interval'])
    1919      ? intval($attributes['cache-interval'])
    2020      : Simple_Google_Photos_Grid::CACHE_INTERVAL;
    2121
    22     $num_photos = $attributes['number-photos']
     22    $num_photos = isset($attributes['number-photos'])
    2323      ? intval($attributes['number-photos'])
    2424      : Simple_Google_Photos_Grid::NUMBER_PHOTOS;
    2525
    26     $num_photos_per_row = $attributes['number-photos-per-row']
     26    $num_photos_per_row = isset($attributes['number-photos-per-row'])
    2727      ? intval($attributes['number-photos-per-row'])
    2828      : Simple_Google_Photos_Grid::NUMBER_PHOTOS_PER_ROW;
  • simple-google-photos-grid/tags/1.5/simple-google-photos-grid.php

    r1775225 r2185350  
    44 * Plugin URI: https://github.com/datvance/simple-google-photos-grid
    55 * Description: Show the latest photos from a public Google Photos album.
    6  * Version: 1.3
     6 * Version: 1.5
    77 * Author: Josheli
    88 * Author URI: https://josheli.com
  • simple-google-photos-grid/trunk/readme.txt

    r2185349 r2185350  
    5454== Changelog ==
    5555
     56= 1.5 =
     57* Fixed notices in shortcode
     58
    5659= 1.4 =
    5760* Fixed uninstall and shortcode bugs
  • simple-google-photos-grid/trunk/simple-google-photos-grid-shortcode.php

    r2185349 r2185350  
    1616    }
    1717
    18     $cache_interval = $attributes['cache-interval']
     18    $cache_interval = isset($attributes['cache-interval'])
    1919      ? intval($attributes['cache-interval'])
    2020      : Simple_Google_Photos_Grid::CACHE_INTERVAL;
    2121
    22     $num_photos = $attributes['number-photos']
     22    $num_photos = isset($attributes['number-photos'])
    2323      ? intval($attributes['number-photos'])
    2424      : Simple_Google_Photos_Grid::NUMBER_PHOTOS;
    2525
    26     $num_photos_per_row = $attributes['number-photos-per-row']
     26    $num_photos_per_row = isset($attributes['number-photos-per-row'])
    2727      ? intval($attributes['number-photos-per-row'])
    2828      : Simple_Google_Photos_Grid::NUMBER_PHOTOS_PER_ROW;
  • simple-google-photos-grid/trunk/simple-google-photos-grid.php

    r1775225 r2185350  
    44 * Plugin URI: https://github.com/datvance/simple-google-photos-grid
    55 * Description: Show the latest photos from a public Google Photos album.
    6  * Version: 1.3
     6 * Version: 1.5
    77 * Author: Josheli
    88 * Author URI: https://josheli.com
Note: See TracChangeset for help on using the changeset viewer.