Plugin Directory

Changeset 592298


Ignore:
Timestamp:
08/30/2012 09:11:13 AM (14 years ago)
Author:
phy9pas
Message:

ps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • runkeeper-plugin/trunk/runkeeper.php

    r588924 r592298  
    55Description: Insert a runkeeper preview into a post using the [runkeeper url=""] shortcode or a custom field called "runkeeper"
    66Author: Peter Smith
    7 Version: 2.0
     7Version: 2.1
    88Author URI: http://sandjam.co.uk
    99*/
     
    1717        register_activation_hook(__FILE__, array($this, 'install'));
    1818        register_uninstall_hook( __FILE__, array($this, 'uninstall'));
    19        
    20         // include plugin css and js
    21         wp_enqueue_script('runkeeper_js', plugin_dir_url( __FILE__ ) . 'runkeeper.js');
    2219       
    2320        // add the admin options page
     
    150147       
    151148    function get_html() {
     149       
     150        // include plugin css and js
     151        wp_enqueue_script('runkeeper_js', plugin_dir_url( __FILE__ ) . 'runkeeper.js');
     152       
    152153        $html = '';
    153154       
Note: See TracChangeset for help on using the changeset viewer.