Plugin Directory

Changeset 1333031


Ignore:
Timestamp:
01/21/2016 06:14:50 PM (10 years ago)
Author:
erichie
Message:

fixed a bug that prevented upload of images to the Media Library

Location:
lingotek-translation
Files:
90 added
3 edited

Legend:

Unmodified
Added
Removed
  • lingotek-translation/trunk/admin/filters-media.php

    r1331505 r1333031  
    5151     */
    5252    public function add_attachment($post_id) {
    53         if ($this->model->is_translated_post_type('attachment') && 'automatic' == Lingotek_Model::get_profile_option('upload', 'attachment', PLL()->model->post->get_post_language($post_id)) && $this->lgtm->can_upload('post', $post_id))
     53        if ($this->model->is_translated_post_type('attachment') && 'automatic' == Lingotek_Model::get_profile_option('upload', 'attachment', PLL()->model->post->get_language($post_id)) && $this->lgtm->can_upload('post', $post_id))
    5454            $this->lgtm->upload_post($post_id);
    5555    }
  • lingotek-translation/trunk/lingotek.php

    r1331505 r1333031  
    33Plugin name: Lingotek Translation
    44Plugin URI: http://lingotek.com/wordpress#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wplingotektranslationplugin
    5 Version: 1.1.9
     5Version: 1.1.10
    66Author: Lingotek and Frédéric Demarle
    77Author uri: http://lingotek.com
     
    1616    exit();
    1717
    18 define('LINGOTEK_VERSION', '1.1.9'); // plugin version (should match above meta)
     18define('LINGOTEK_VERSION', '1.1.10'); // plugin version (should match above meta)
    1919define('LINGOTEK_MIN_PLL_VERSION', '1.8');
    2020define('LINGOTEK_BASENAME', plugin_basename(__FILE__)); // plugin name as known by WP
  • lingotek-translation/trunk/readme.txt

    r1331505 r1333031  
    55Requires at least: 3.8
    66Tested up to: 4.4
    7 Stable tag: 1.1.9
     7Stable tag: 1.1.10
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    123123== Changelog ==
    124124
     125= 1.1.10 (2016-1-21) =
     126
     127* Fixed a bug that prevented images from being uploaded to the Media Library
     128
    125129= 1.1.9 (2016-1-19) =
    126130
Note: See TracChangeset for help on using the changeset viewer.