Plugin Directory

Changeset 2075589


Ignore:
Timestamp:
04/26/2019 08:15:49 PM (7 years ago)
Author:
bnisia
Message:

Updated to work with the latest WordPress

Location:
digiwidgets-image-editor/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • digiwidgets-image-editor/trunk/README.txt

    r1491207 r2075589  
    33Tags: image editor, templates, editor, image, crop, resize
    44Requires at least: 3.6
    5 Tested up to: 4.6
     5Tested up to: 5.1.1
    66Stable tag: trunk
    77License: GPLv2
  • digiwidgets-image-editor/trunk/digiwidgets-image-editor.php

    r1446641 r2075589  
    4848            {
    4949                //update post to refresh timer if an updated version is being activated.
    50                 $wpdb->update($wpdb->posts,$my_post,array('post_status' => '_n59t_dwwp'),array('%s','%lf','%s','%d','%s','%s'),array('%s'));
     50                $wpdb->update($wpdb->posts,$my_post,array('post_status' => '_n59t_dwwp'),array('%s','%f','%s','%d','%s','%s'),array('%s'));
    5151            }
    5252        }
     
    5555        {
    5656            // set path to be the directory where the image editor is stored
    57             $this->version_DWWP = 1.09;
     57            $this->version_DWWP = 1.10;
    5858            $this->path = plugins_url('digiwidgets', __FILE__);
    5959            $_SESSION['path'] = $this->path;
  • digiwidgets-image-editor/trunk/digiwidgets/fabricJS.css

    r1424242 r2075589  
    13851385    box-shadow: none !important;
    13861386}
     1387
     1388.col_project_thumbnail.column-col_project_thumbnail > div > img  { height:100%; }
  • digiwidgets-image-editor/trunk/digiwidgets/libs/dwwpEditorFunctions.js

    r1446641 r2075589  
    918918                useTimestampChange = false;
    919919            }
    920             commandHistory.push(canvasJSON);
    921             commandHistory.clean("");
     920          if(commandHistory) {
     921                commandHistory.push(canvasJSON);
     922                commandHistory.clean("");
     923                }
     924            else {
     925                console.log("CommandHistory not found while "+ action);
     926                commandHistory = [];
     927                commandHistory.push(canvasJSON);
     928                commandHistory.clean("");
     929                }
    922930        };
    923931
Note: See TracChangeset for help on using the changeset viewer.