Changeset 847211
- Timestamp:
- 01/28/2014 07:39:06 PM (12 years ago)
- File:
-
- 1 edited
-
touchcast-embed/trunk/touchcast.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
touchcast-embed/trunk/touchcast.php
r847138 r847211 8 8 */ 9 9 // path to plugin 10 function touchcast_get_plugin_url($file, $plugin ame = "touchcast")10 function touchcast_get_plugin_url($file, $pluginname = "touchcast-embed") 11 11 { 12 12 // check if plugins url function exists … … 14 14 return plugins_url($file, __FILE__); 15 15 } else if (defined('WP_PLUGIN_URL')) { 16 return WP_PLUGIN_URL . "/" . $plugin ame . $file;16 return WP_PLUGIN_URL . "/" . $pluginname . $file; 17 17 } else { 18 18 // if not assumme it is default location. 19 return "../../../wp-content/plugins/" . $plugin ame . $file;19 return "../../../wp-content/plugins/" . $pluginname . $file; 20 20 } 21 21 }
Note: See TracChangeset
for help on using the changeset viewer.