Plugin Directory

Changeset 1521377


Ignore:
Timestamp:
10/24/2016 08:07:04 PM (9 years ago)
Author:
SimonStone
Message:

Minor fix for older PHP versions.

Location:
pixabay-images-gallery/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pixabay-images-gallery/trunk/pixabay-images-gallery.php

    r1521259 r1521377  
    55Plugin URI: https://goodies.pixabay.com/javascript/pixabay-widget/demo.html
    66Description: Use shortcodes to insert responsive Pixabay images galleries similar to Flickr, Google Images and 500px.
    7 Version: 1.8
     7Version: 1.9
    88Author: Simon Steinberger
    99Author URI: https://pixabay.com/users/Simon/
  • pixabay-images-gallery/trunk/readme.txt

    r1521259 r1521377  
    44Requires at least: 3.5
    55Tested up to: 4.4
    6 Stable tag: 1.8
     6Stable tag: 1.9
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    8989* Registering an own Pixabay API key is now a requirement; due to abuse of the hard coded key in previous versions.
    9090
     91= 1.9 =
     92* Minor fix for older PHP versions.
     93
    9194== Upgrade Notice ==
    9295
  • pixabay-images-gallery/trunk/settings.php

    r1521259 r1521377  
    133133    <h2><?= _e('Pixabay Images Gallery', 'pxigw'); ?></h2>
    134134    <?php
    135         if (!get_option('pxigw_options')['key']) {
     135        $o = get_option('pxigw_options');
     136        if (!$o['key']) {
    136137            echo '<div class="notice notice-info"><p>';
    137138            echo _e("To enable this plugin, you must obtain an API key from Pixabay and enter it in the settings below. After <a href='https://pixabay.com/accounts/register/' target='_blank'>signing up for free on Pixbay</a>, you can <a href='https://pixabay.com/api/docs/' target='_blank'>find your API key here</a>.", 'pxigw');
Note: See TracChangeset for help on using the changeset viewer.