Plugin Directory

Changeset 1681508


Ignore:
Timestamp:
06/19/2017 09:43:11 PM (9 years ago)
Author:
imaginarymedia
Message:

Minor updates and tests for WP 4.8

Location:
wp-gist-embed
Files:
3 edited
3 copied

Legend:

Unmodified
Added
Removed
  • wp-gist-embed/tags/0.2/embed-gist.php

    r1393670 r1681508  
    22/**
    33 * Plugin Name: WP Gist Embed
    4  * Plugin URI: https://imaginarymedia.com.au/projects/wp-gist-embed/
     4 * Plugin URI: https://jmr.codes/
    55 * Description: A plugin to add Gist embedding support via shortcode and the Tiny MCE editor.
    6  * Version: 0.1
    7  * Author: Imaginary Media
    8  * Author URI: https://imaginarymedia.com.au/
     6 * Version: 0.2
     7 * Author: JMR.codes
     8 * Author URI: https://jmr.codes/
    99 * License: GPL2
    1010 */
    1111
    12 /*  Copyright 2015 Imaginary Media (email : support@imaginarymedia.com.au)
     12/*  Copyright 2015 Imaginary Media (email : support@jmr.codes)
    1313
    1414  This program is free software; you can redistribute it and/or modify
     
    8686}
    8787add_filter("plugin_row_meta", "imeg_plugin_meta_link", 10, 2 );
    88 
    89 ?>
  • wp-gist-embed/tags/0.2/readme.txt

    r1393670 r1681508  
    44Tags: gist, github, shortcode
    55Requires at least: 3.0.1
    6 Tested up to: 4.5
    7 Stable tag: 0.1
     6Tested up to: 4.8
     7Stable tag: 0.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2121The Gist `src` attribute must be the embed URL, for example: https://gist.github.com/imaginarymedia/316a29936e5e7d709665.js
    2222
    23 The Gist `height` attribute is optional and can be any value with a valid CSS unit measure: em, %, px, vh, etc.
     23The Gist `height` attribute is optional and can be any value with a valid CSS unit measure: em, %, px, vh, etc. It will apply a max-height to the gist.
    2424
    2525The plugin also creates UI buttons for both the visual and text editors.
     
    2727If you have suggestions for improvements, please contact us. via the [plugin support page](https://wordpress.org/support/plugin/wp-gist-embed) and if you find this useful, please [review the plugin](https://wordpress.org/support/view/plugin-reviews/wp-gist-embed).
    2828
    29 Developed by [Imaginary Media](https://imaginarymedia.com.au).
     29Developed by [James Robinson](https://jmr.codes).
     30
     31** TO DO **
     32* Validate the gist src URL
    3033
    3134== Installation ==
     
    3740== Changelog ==
    3841
     42= 0.2 =
     43* Minor updates and compatability checks
     44
    3945= 0.1 =
    4046* Initial launch
  • wp-gist-embed/trunk/embed-gist.php

    r1393670 r1681508  
    22/**
    33 * Plugin Name: WP Gist Embed
    4  * Plugin URI: https://imaginarymedia.com.au/projects/wp-gist-embed/
     4 * Plugin URI: https://jmr.codes/
    55 * Description: A plugin to add Gist embedding support via shortcode and the Tiny MCE editor.
    6  * Version: 0.1
    7  * Author: Imaginary Media
    8  * Author URI: https://imaginarymedia.com.au/
     6 * Version: 0.2
     7 * Author: JMR.codes
     8 * Author URI: https://jmr.codes/
    99 * License: GPL2
    1010 */
    1111
    12 /*  Copyright 2015 Imaginary Media (email : support@imaginarymedia.com.au)
     12/*  Copyright 2015 Imaginary Media (email : support@jmr.codes)
    1313
    1414  This program is free software; you can redistribute it and/or modify
     
    8686}
    8787add_filter("plugin_row_meta", "imeg_plugin_meta_link", 10, 2 );
    88 
    89 ?>
  • wp-gist-embed/trunk/mce-gist.js

    r1065068 r1681508  
    3030                      ed.execCommand('mceInsertContent', 0, shortcode);
    3131                    } else {
    32                       alert("That doesn't look like a Gist src.");
     32                      window.alert("That doesn't look like a Gist src.");
    3333                    }
    3434                  }
     
    3737            });
    3838        },
    39  
     39
    4040        /**
    4141         * Creates control instances based in the incoming name. This method is normally not
     
    5151            return null;
    5252        },
    53  
     53
    5454        /**
    5555         * Returns information about the plugin as a name/value array.
     
    6262                longname : 'Embed Gist',
    6363                author : 'James Robinson',
    64                 authorurl : 'https://imaginarymedia.com.au/',
    65                 infourl : 'https://imaginarymedia.com.au/projects/enbed-gists/',
     64                authorurl : 'https://jmr.codes/',
     65                infourl : 'https://jmr.codes/',
    6666                version : "0.1"
    6767            };
    6868        }
    6969    });
    70  
     70
    7171    // Register plugin
    7272    tinymce.PluginManager.add( 'embedgist', tinymce.plugins.embedgist );
  • wp-gist-embed/trunk/readme.txt

    r1393670 r1681508  
    44Tags: gist, github, shortcode
    55Requires at least: 3.0.1
    6 Tested up to: 4.5
    7 Stable tag: 0.1
     6Tested up to: 4.8
     7Stable tag: 0.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2121The Gist `src` attribute must be the embed URL, for example: https://gist.github.com/imaginarymedia/316a29936e5e7d709665.js
    2222
    23 The Gist `height` attribute is optional and can be any value with a valid CSS unit measure: em, %, px, vh, etc.
     23The Gist `height` attribute is optional and can be any value with a valid CSS unit measure: em, %, px, vh, etc. It will apply a max-height to the gist.
    2424
    2525The plugin also creates UI buttons for both the visual and text editors.
     
    2727If you have suggestions for improvements, please contact us. via the [plugin support page](https://wordpress.org/support/plugin/wp-gist-embed) and if you find this useful, please [review the plugin](https://wordpress.org/support/view/plugin-reviews/wp-gist-embed).
    2828
    29 Developed by [Imaginary Media](https://imaginarymedia.com.au).
     29Developed by [James Robinson](https://jmr.codes).
     30
     31** TO DO **
     32* Validate the gist src URL
    3033
    3134== Installation ==
     
    3740== Changelog ==
    3841
     42= 0.2 =
     43* Minor updates and compatability checks
     44
    3945= 0.1 =
    4046* Initial launch
Note: See TracChangeset for help on using the changeset viewer.