Plugin Directory

Changeset 903707


Ignore:
Timestamp:
04/27/2014 10:33:31 PM (12 years ago)
Author:
kcfried
Message:

2.1.3

  • Fixed error with WP 3.9 tinyMCE shortcode insertion
  • Deleting the plugin no longer throws an error
Location:
easy-columns/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • easy-columns/trunk/easy-columns.php

    r791582 r903707  
    33Plugin Name: Easy Columns
    44Plugin URI: http://www.patrickfriedl.com/
    5 Version: v2.1.2
     5Version: v2.1.3
    66Author: <a href="http://www.patrickfriedl.com">Pat Friedl</a>
    77Description: Easy Columns provides the shortcodes to create a grid system or magazine style columns for laying out your pages just the way you need them.  Using shortcodes for 1/4, 1/2, 1/3, 2/3, 3/4, 1/5, 2/5, and 3/5 columns, you can insert <strong>at least thirty</strong> unique variations of columns on any page and even in posts! Quickly add columns to your pages from the editor with an easy to use "pick n' click" interface! For usage and more information, visit <a href="http://www.patrickfriedl.com" target="_blank">patrickfriedl.com</a>.
     
    9696            add_shortcode('ezcol_4fifth_end', array(&$this, 'four_fifth_end'));
    9797            add_shortcode('ezdiv', array(&$this, 'div'));
     98            add_shortcode('ezdiv1', array(&$this, 'div'));
     99            add_shortcode('ezdiv2', array(&$this, 'div'));
     100            add_shortcode('ezdiv3', array(&$this, 'div'));
     101            add_shortcode('ezdiv4', array(&$this, 'div'));
     102            add_shortcode('ezdiv5', array(&$this, 'div'));
    98103            add_shortcode('ezcol_divider', array(&$this, 'add_divider'));
    99104            add_shortcode('ezcol_end_right', array(&$this, 'end_column_right'));
     
    457462        */
    458463        function uninstall() {
    459             delete_option($this->ez_columns_options_name);
     464            delete_option('easycol_options');
    460465        } // end uninstall
    461466
  • easy-columns/trunk/readme.txt

    r791584 r903707  
    44Tags: columns, column, grid layout, box, boxes, feature box, layout, magazine, page, posts, magazine columns, magazine layout, float div
    55Requires at least: 2.7
    6 Tested up to: 3.6.1
    7 Stable tag: 2.1.2
     6Tested up to: 3.9
     7Stable tag: 2.1.3
    88
    99Easy Columns provides the shortcodes to create a grid system or magazine style columns for laying out your pages (or even posts!) just the way you need them.
     
    2525[ezcol_1third]this is column 1[/ezcol_1third]
    2626[ezcol_1third]this is column 2[/ezcol_1third]
    27 [ezcol_1third_end]this is column 3[/ezcol_1third_end] 
     27[ezcol_1third_end]this is column 3[/ezcol_1third_end]
    2828
    2929The result are 3 columns about 33% in width of their container.
     
    113113== Changelog ==
    114114
     115= 2.1.3 =
     116* Fixed error with WP 3.9 tinyMCE shortcode insertion
     117* Deleting the plugin no longer throws an error
     118
    115119= 2.1.2 =
    116120* Changed the tinyMCE window to load wp-load.php instead of wp-config.php
  • easy-columns/trunk/tinymce/editor_plugin.js

    r791582 r903707  
    1919                ed.windowManager.open({
    2020                    file : url + '/window.php?',
    21                     width : 764 + ed.getLang('ezColumns.delta_width', 0),
    22                     height : 520 + ed.getLang('ezColumns.delta_height', 0),
     21                    width : 780 + ed.getLang('ezColumns.delta_width', 0),
     22                    height : 560 + ed.getLang('ezColumns.delta_height', 0),
    2323                    inline : 1
    2424                }, {
     
    4949            return {
    5050                    longname  : 'Easy Columns',
    51                     author    : 'PatFriedl.com',
     51                    author    : 'Pat Friedl',
    5252                    authorurl : 'http://patfriedl.com',
    5353                    infourl   : 'http://patfriedl.com',
    54                     version   : "1.0"
     54                    version   : "2.1.3"
    5555            };
    5656        }
  • easy-columns/trunk/tinymce/window.php

    r791582 r903707  
    256256function insertText(){
    257257    if(window.tinyMCE) {
    258         window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, colTxt);
     258        if(window.tinyMCE.execInstanceCommand){
     259            window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, colTxt);   
     260        } else {
     261            window.tinymce.activeEditor.execCommand('mceInsertContent', false, colTxt);
     262        }
    259263        tinyMCEPopup.editor.execCommand('mceRepaint');
    260264        tinyMCEPopup.close();
Note: See TracChangeset for help on using the changeset viewer.