Changeset 791858
- Timestamp:
- 10/22/2013 04:11:22 PM (12 years ago)
- Location:
- easy-image-display/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
sb-easy-image-display.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-image-display/trunk/readme.txt
r785977 r791858 98 98 == Changelog == 99 99 100 = 1.01 = 101 * Fixed an incompatibility with other lightbox plugins 102 100 103 = 1.0 = 101 104 * First version 105 106 == Upgrade Notice == 107 108 = 1.01 = 109 Fixes an incompatibility with other lightbox plugins. -
easy-image-display/trunk/sb-easy-image-display.php
r785977 r791858 37 37 add_action( 'admin_print_scripts-widgets.php', array( $this, 'sb_easy_image_widget_js' ) ); 38 38 add_action( 'admin_print_styles-widgets.php', array( $this, 'sb_easy_image_widget_css' ) ); 39 add_action( 'wp_footer', array( $this, 'public_js' ) );40 39 41 40 … … 195 194 196 195 if ( 'lightbox' == $attr['link'] ) { 197 $attr['link'] = 'file'; 196 $attr['link'] = 'file'; 198 197 $lightbox = 1; 199 198 } … … 204 203 if ( isset( $attr['link'] ) && "none" == $attr['link'] ) { 205 204 $output = preg_replace( array( '/<a[^>]*>/', '/<\/a>/'), '', $output ); 205 } 206 207 if( 1 == $lightbox ) { 208 $this->public_js(); 206 209 } 207 210
Note: See TracChangeset
for help on using the changeset viewer.