Changeset 610643
- Timestamp:
- 10/11/2012 07:30:53 AM (13 years ago)
- Location:
- auto-thickbox-plus/trunk
- Files:
-
- 1 added
- 3 deleted
- 3 edited
-
auto-thickbox.php (modified) (3 diffs)
-
download.min.php (added)
-
download.php (deleted)
-
thickbox.css (deleted)
-
thickbox.js (deleted)
-
thickbox.min.css (modified) (previous)
-
thickbox.min.js (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
auto-thickbox-plus/trunk/auto-thickbox.php
r610621 r610643 134 134 wp_deregister_script('thickbox'); 135 135 $in_footer = $this->options['script_place'] == 'footer'; 136 wp_register_script('thickbox', $this->util->plugins_url( WP_DEBUG ? 'thickbox.js' :'thickbox.min.js'), array('jquery'), AUTO_THICKBOX_PLUS_VER, $in_footer);136 wp_register_script('thickbox', $this->util->plugins_url('thickbox.min.js'), array('jquery'), AUTO_THICKBOX_PLUS_VER, $in_footer); 137 137 } 138 138 wp_enqueue_script('thickbox'); … … 154 154 case 'download': 155 155 $l10n['download'] = $this->util->__('Download'); 156 $l10n['forceDL'] = $this->util->plugins_url('download. php');156 $l10n['forceDL'] = $this->util->plugins_url('download.min.php'); 157 157 break; 158 158 case 'expand_shrink': … … 173 173 if ( $this->options['thickbox_type'] == 'modified' ) { 174 174 wp_deregister_style('thickbox'); 175 wp_register_style('thickbox', $this->util->plugins_url( WP_DEBUG ? 'thickbox.css' :'thickbox.min.css'), false, AUTO_THICKBOX_PLUS_VER);175 wp_register_style('thickbox', $this->util->plugins_url('thickbox.min.css'), false, AUTO_THICKBOX_PLUS_VER); 176 176 } 177 177 wp_enqueue_style('thickbox');
Note: See TracChangeset
for help on using the changeset viewer.