WordPress.org

Plugin Directory

Changeset 594887


Ignore:
Timestamp:
09/05/12 12:10:48 (20 months ago)
Author:
toppa
Message:

version 1.1.1

Location:
extensible-html-editor-buttons/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • extensible-html-editor-buttons/trunk/Buttonable.php

    r594711 r594887  
    22 
    33class Buttonable { 
    4     private $version = '1.1'; 
     4    private $version = '1.1.1'; 
    55    private $customDialogPath; 
    66    private $customDialogBackupPath; 
     
    88    public function __construct() { 
    99        $this->customDialogPath = dirname(__FILE__) . '/Display/custom-dialogs.html'; 
    10         $this->customDialogBackupPath = dirname(__FILE__) . '/../custom-dialogs.html'; 
     10        $this->customDialogBackupPath = dirname(dirname(__FILE__)) . '/custom-dialogs.html'; 
    1111    } 
    1212 
     
    3131    public function run() { 
    3232        add_action('admin_init', array($this, 'runtimeUpgrade')); 
    33         add_filter('upgrader_pre_install', 'backupCustomDialogs'); 
    34         add_filter('upgrader_post_install', 'restoreCustomDialogs'); 
     33        add_filter('upgrader_pre_install', 'backupCustomDialogs', 10, 0); 
     34        add_filter('upgrader_post_install', 'restoreCustomDialogs', 10, 0); 
    3535        add_action('admin_menu', array($this, 'initSettingsMenu')); 
    3636        add_action('admin_footer', array($this, 'initButtons')); 
     
    5555        if (file_exists($this->customDialogPath)) { 
    5656            return copy($this->customDialogPath, $this->customDialogBackupPath); 
    57  
    58         } 
    59  
    60         return true; 
     57        } 
     58 
     59        return null; 
    6160    } 
    6261 
     
    7069        } 
    7170 
    72         return true; 
     71        return null; 
    7372    } 
    7473 
  • extensible-html-editor-buttons/trunk/Display/buttonController.js

    r491918 r594887  
    6060            } 
    6161        } 
    62  
    6362    }); 
    6463 
  • extensible-html-editor-buttons/trunk/readme.txt

    r594711 r594887  
    55Requires at least: 3.3 
    66Tested up to: 3.4.1 
    7 Stable tag: 1.1 
     7Stable tag: 1.1.1 
    88 
    99A plugin for adding custom buttons to the WordPress HTML Editor, including custom modal dialogs. 
     
    1313Extensible HTML Editor Buttons enhances the WordPress HTML Editor button bar in 5 ways: 
    1414 
     151. New in version 1.1: now multi-site compatible 
    15161. Provides a WYSIWYG settings form for adding your own custom buttons 
    16171. Provides an example HTML file, which you can follow to add your own custom modal input dialogs for your custom buttons, for setting tag attributes such as style, class, or any attributes you specify 
     
    4041== Changelog == 
    4142 
     43= 1.1.1 = Revisions to backup and restore code for custom dialogs, and added integration tests for it. Note this can only work if your web server has read and write permissions for your plugins folder. 
     44 
    4245= 1.1 = 
    4346 
    4447* Backup and restore custom dialogs file when upgrading 
    45 * Support runtime upgrades (e.g via FTP with de/activate cycle on plugin menu) 
     48* Support runtime upgrades (e.g via FTP without de/activate cycle on plugin menu) 
    4649* Support use in multisite networks 
    4750* Code cleanup: remove unneeded passing around of autoLoader object 
  • extensible-html-editor-buttons/trunk/start.php

    r594711 r594887  
    55Description: A plugin for adding custom buttons to the WordPress HTML Editor. 
    66Author: Michael Toppa 
    7 Version: 1.1 
     7Version: 1.1.1 
    88Author URI: http://www.toppa.com 
    99*/ 
Note: See TracChangeset for help on using the changeset viewer.