Plugin Directory

Changeset 1873616


Ignore:
Timestamp:
05/13/2018 08:25:42 PM (8 years ago)
Author:
aesqe
Message:

bugfix: set default attachment data type to array instead of string

Location:
file-gallery/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • file-gallery/trunk/file-gallery.php

    r1381420 r1873616  
    33Plugin Name: File Gallery
    44Plugin URI: http://skyphe.org/code/wordpress/file-gallery/
    5 Version: 1.8.5.2
     5Version: 1.8.5.3
    66Description: "File Gallery" extends WordPress' media (attachments) capabilities by adding a new gallery shortcode handler with templating support, a new interface for attachment handling when editing posts, and much more.
    77Author: Bruno "Aesqe" Babic
  • file-gallery/trunk/includes/main.php

    r1059204 r1873616  
    352352    $action               = isset($_POST['action']) ? $_POST['action'] : '';
    353353    $attachment_ids       = isset($_POST['attachment_ids']) ? $_POST['attachment_ids'] : '';
    354     $attachment_data      = isset($_POST['attachment_data']) ? $_POST['attachment_data'] : '';
     354    $attachment_data      = isset($_POST['attachment_data']) ? $_POST['attachment_data'] : array();
    355355    $delete_what          = isset($_POST['delete_what']) ? $_POST['delete_what'] : '';
    356356    $checked_attachments  = isset($_POST['checked_attachments']) ? explode(',', $_POST['checked_attachments']) : array();
  • file-gallery/trunk/readme.txt

    r1381420 r1873616  
    44Tags: attachment, attachments, gallery, galleries, template, templates, shortcode, file, files, attach, detach, unattach, copy, media, tags, library, custom, custom fields, custom fields for attachments, attachment custom fields, drag drop upload
    55Requires at least: 4.0
    6 Tested up to: 4.4.2
    7 Stable tag: 1.8.5.2
     6Tested up to: 4.9.5
     7Stable tag: 1.8.5.3
    88
    99File Gallery extends WordPress media (attachments) capabilities
     
    170170
    171171== Changelog ==
     172
     173= 1.8.5.3. =
     174* May 13th, 2016.
     175* bugfix: set default attachment data type to array instead
     176  of string (thanks Li-An!)
    172177
    173178= 1.8.5.2. =
Note: See TracChangeset for help on using the changeset viewer.