Plugin Directory

Changeset 1198908


Ignore:
Timestamp:
07/14/2015 05:24:19 PM (11 years ago)
Author:
reefdog
Message:

Update to v0.3.3

Location:
documentcloud/trunk
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • documentcloud/trunk/README.md

    r1178476 r1198908  
    8080## Changelog
    8181
     82### 0.3.3
     83* Remove unused TinyMCE components
     84
    8285### 0.3.2
    8386* Implement a few best practice security measures
  • documentcloud/trunk/documentcloud.php

    r1178476 r1198908  
    44 * Plugin URI: https://www.documentcloud.org/
    55 * Description: Embed DocumentCloud resources in WordPress content.
    6  * Version: 0.3.2
     6 * Version: 0.3.3
    77 * Authors: Chris Amico, Justin Reese
    88 * License: GPLv2
     
    4444        add_shortcode('documentcloud', array(&$this, 'handle_dc_shortcode'));
    4545        add_filter('oembed_fetch_url', array(&$this, 'add_dc_arguments'), 10, 3);
    46 
    47         // Setup TinyMCE shortcode-generation plugin
    48         // add_action('init', array(&$this, 'register_tinymce_filters'));
    4946
    5047        // Setup admin settings
     
    241238    }
    242239
    243     // Setup TinyMCE shortcode button
    244 
    245     function register_tinymce_filters() {
    246         if (current_user_can('edit_posts')) {
    247             add_filter('mce_external_plugins',
    248                 array(&$this, 'add_tinymce_plugin')
    249             );
    250 
    251             add_filter('mce_buttons',
    252                 array(&$this, 'register_button')
    253             );
    254         }
    255     }
    256        
    257     function add_tinymce_plugin($plugin_array) {
    258         $plugin_array['documentcloud'] = plugins_url(
    259             'js/documentcloud-editor-plugin.js', __FILE__);
    260         return $plugin_array;
    261     }
    262    
    263     function register_button($buttons) {
    264         array_push($buttons, '|', 'documentcloud');
    265         return $buttons;
    266     }
    267    
    268240    // Setup settings for plugin
    269241
  • documentcloud/trunk/readme.txt

    r1178476 r1198908  
    7676== Changelog ==
    7777
     78= 0.3.3 =
     79* Remove unused TinyMCE components
     80
    7881= 0.3.2 =
    7982* Implement a few best practice security measures
Note: See TracChangeset for help on using the changeset viewer.