Changeset 592298
- Timestamp:
- 08/30/2012 09:11:13 AM (14 years ago)
- File:
-
- 1 edited
-
runkeeper-plugin/trunk/runkeeper.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
runkeeper-plugin/trunk/runkeeper.php
r588924 r592298 5 5 Description: Insert a runkeeper preview into a post using the [runkeeper url=""] shortcode or a custom field called "runkeeper" 6 6 Author: Peter Smith 7 Version: 2. 07 Version: 2.1 8 8 Author URI: http://sandjam.co.uk 9 9 */ … … 17 17 register_activation_hook(__FILE__, array($this, 'install')); 18 18 register_uninstall_hook( __FILE__, array($this, 'uninstall')); 19 20 // include plugin css and js21 wp_enqueue_script('runkeeper_js', plugin_dir_url( __FILE__ ) . 'runkeeper.js');22 19 23 20 // add the admin options page … … 150 147 151 148 function get_html() { 149 150 // include plugin css and js 151 wp_enqueue_script('runkeeper_js', plugin_dir_url( __FILE__ ) . 'runkeeper.js'); 152 152 153 $html = ''; 153 154
Note: See TracChangeset
for help on using the changeset viewer.