Plugin Directory

Changeset 1346165


Ignore:
Timestamp:
02/08/2016 07:35:37 PM (10 years ago)
Author:
devcon1
Message:

Issue with creating array using a shorthand version is only supported on php version 5.4.x or later.
Changed the method to use conventional way.

Location:
background-slider-master/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • background-slider-master/trunk/background-slider-master.php

    r1313079 r1346165  
    1111 * Plugin URI:        https://icanwp.com/plugins/background-slider-master/
    1212 * Description:       Background Slider Master is designed with a very simple interface so anyone can easily upload images and attach a fast loading responsive background slider to any page or post. This background slider features full width responsive and designed for flexibility. You can choose to create a single slider that displays globally on every page, or create as many background sliders as you want, and attach them to each page individually to show something different.
    13  * Version:           2.0.0
     13 * Version:           2.0.2
    1414 * Author:            iCanWP Team, Sean Roh, Chris Couweleers
    1515 * Author URI:        https://icanwp.com/plugins/background-slider-master/
  • background-slider-master/trunk/includes/class-background-slider-master-activator.php

    r1313079 r1346165  
    4747                if( empty( $bsm_meta_check ) ){ //if bsm meta doesn't exist - plugin upgraded from old version
    4848                    $bsm_slide_images = get_attached_media( 'image', $bsm_slide_id ); // get all the attached media from the old version
    49                     $bsm_arr = [];
     49                    $bsm_arr = array();
    5050                    foreach( $bsm_slide_images as $bsm_slide_image ){
    5151                        array_push( $bsm_arr, $bsm_slide_image->ID ); // store all attached media into an array
  • background-slider-master/trunk/readme.txt

    r1313083 r1346165  
    33Tags: background slider, responsive background slider, full width background slider, multi page background slider, full screen slider gallery, thumbnail gallery
    44Requires at least: 4.1
    5 Tested up to: 4.4
     5Tested up to: 4.4.2
    66Stable tag: trunk
    77License: GPLv2
     
    114114Missing icons are added and unecessary files are removed.
    115115
     116= 2.0.2 =
     117Parse error: syntax error, unexpected [ in .../plugins/background-slider-master/includes/class-background-slider-master-activator.php on line 49
     118Has been fixed. The issue was created by older version of php not supporting creation of array using []. Now, the line has been changed to use the conventional method.
     119
    116120== Upgrade Notice ==
    117121
Note: See TracChangeset for help on using the changeset viewer.