Changeset 883569
- Timestamp:
- 03/28/2014 02:04:23 PM (12 years ago)
- File:
-
- 1 edited
-
instamojo/trunk/instamojo-button.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
instamojo/trunk/instamojo-button.php
r883566 r883569 18 18 define('PLUGIN_NAME', 'INSTAMOJO'); 19 19 20 define('APPLICATION_ID', '');21 22 20 // Register the widget and the shortcodes 23 21 register_activation_hook(__FILE__, 'instamojo_activation_hook'); … … 31 29 function instamojo_plugin_loaded() 32 30 { 33 require_once(PLUGIN_DIR.'shortcode.php');34 require_once(PLUGIN_DIR.'option.php');31 include_once(PLUGIN_DIR.'shortcode.php'); 32 include_once(PLUGIN_DIR.'option.php'); 35 33 add_action('widgets_init', 'instamojo_widgets_init'); 36 34 } … … 38 36 function instamojo_widgets_init() 39 37 { 40 require_once(PLUGIN_DIR.'widget.php');38 include_once(PLUGIN_DIR.'widget.php'); 41 39 register_widget('instamojo_widget'); 42 40 }
Note: See TracChangeset
for help on using the changeset viewer.