Plugin Directory

Changeset 433285


Ignore:
Timestamp:
09/04/2011 04:48:17 PM (15 years ago)
Author:
vagabumming
Message:

critical update, please update asap!

Location:
add-link-class/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • add-link-class/trunk/link-class.php

    r431431 r433285  
    44Plugin URI: http://www.vagabumming.com/add-link-class
    55Description: Expands functionality of the default wordpress link editor within the visual post editor
    6 Version: 0.8
     6Version: 1.0
    77Author: Will Brubaker
    88Author URI: http://www.vagabumming.com
     
    2929static private $vagabumming_plugin_values = array(
    3030                                            'name'=>'Add Link Class',
    31                                             'version'=>'0.8', //hate using a string value here, but need it to hold non-numeric values
     31                                            'version'=>'0.9', //hate using a string value here, but need it to hold non-numeric values
    3232                                            'slug'=>'alc',
    3333                                            'supplementary'=>array(//a place to put things in the future..
     
    8282}
    8383function initialize_plugin(){
    84 //if this isn't a public blog, don't call home:
    85 if(get_option('blog_public') == 1){
     84//if this isn't a public blog on a public server, don't call home:
     85if((get_option('blog_public') == 1) && filter_var($_SERVER['SERVER_ADDR'],FILTER_VALIDATE_IP,FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE)){
    8686    $this_site = urlencode(get_site_url());
    8787    $this_plugin = urlencode(self::$vagabumming_plugin_values['name']);
     
    182182if((!get_option('vagabumming_link_back')) || (!get_option('vagabumming_opt_out') && get_option('blog_public') == 1))
    183183    add_action('wp_dashboard_setup', array('Add_Link_Class','create_admin_widget'));
    184 
    185 /*deprecated?if(get_option('blog_public') == 1 && ! (/*get_option('vagabumming_plugin_users') && get_option('vagabumming_opt_out'))){
    186     //there's really no sense in calling an additional function, let's do all this stuff here
    187     //opt_out may already be set, OR this may be a 'private' blog, if so, we don't want it calling home
    188     //so, check those values first
    189     //o.k., good
    190     //we can just add this to the array of vababumming plugins and be done
    191     /*{//grab option vagabumming_plugins_installed}
    192     self::my_plugin_users();
    193     }*/
    194 
    195    
    196184   
    197185}
     
    207195    }
    208196function add_link_class_external_plugin($plugin_array){
    209 $plugin_array['wplink'] = 'http://pokin.mine.nu/wp-content/plugins/EZ_tooltip/mce/plugins/wplink/editor_plugin.js';
     197$plugin_array['wplink'] = plugins_url('/js/wplink/editor_plugin.js', __FILE__);
    210198return $plugin_array;
    211199}
  • add-link-class/trunk/readme.txt

    r431940 r433285  
    44Requires at least: 3.2.1
    55Tested up to: 3.2.1
    6 Stable tag: 0.8
     6Stable tag: 1.0
    77
    88Expands functionality of the default wordpress link editor within the visual post editor.
     
    6464
    6565== Changelog ==
     66    = 1.0 =
     67    * 04 Sep 2011
     68    * ACK!!! There was a hard-coded url in there, that was bad but it's fixed now.
    6669    = 0.9 =
    6770    * 01 Sep 2011
     
    9396
    9497== Upgrade notice ==
     98    = 1.0 =
     99    Critical Update!
     100   
    95101    = 0.8 =
    96102    New version, show the love!
Note: See TracChangeset for help on using the changeset viewer.