Title: wza's Replies | WordPress.org

---

# wza

  [  ](https://wordpress.org/support/users/wza/)

 *   [Profile](https://wordpress.org/support/users/wza/)
 *   [Topics Started](https://wordpress.org/support/users/wza/topics/)
 *   [Replies Created](https://wordpress.org/support/users/wza/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/wza/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/wza/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/wza/engagements/)
 *   [Favorites](https://wordpress.org/support/users/wza/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SliceShow] White screen mediauploader](https://wordpress.org/support/topic/white-screen-mediauploader/)
 *  [wza](https://wordpress.org/support/users/wza/)
 * (@wza)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/white-screen-mediauploader/#post-4092000)
 * if on custom-js.js on line 25 i replace
 *     ```
       window.send_to_editor = function(html) {
       			imgurl = jQuery('img',html).attr('src');
       			classes = jQuery('img', html).attr('class');
       			id = classes.replace(/(.*?)wp-image-/, '');
       			formfield.val(id);
       			preview.attr('src', imgurl);
       			tb_remove();
       		}
       ```
   
 * **with **
 *     ```
       window.send_to_editor = function(html) {
       			imgurl = jQuery(html).attr('src');
       			classes = jQuery(html).attr('class');
       			id = classes.replace(/(.*?)wp-image-/, '');
       			formfield.val(id);
       			preview.attr('src', imgurl);
       			tb_remove();
       		}
       ```
   
 * everything works again. is there a clean fix for this?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SliceShow] White screen mediauploader](https://wordpress.org/support/topic/white-screen-mediauploader/)
 *  [wza](https://wordpress.org/support/users/wza/)
 * (@wza)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/white-screen-mediauploader/#post-4091999)
 * The problem exists when using Media Library, after choosing Insert Into Post
 * I have two similar websites, both use the exact same plugins, both versions are
   the same, yet one website has this problem while the other doesn’t. The only 
   diff is the Force Regenerate Thumbnails plugin, which I deleted, but still I’m
   getting the TypeError: classes is undefined error
 * Anyone found a fix for this yet?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[SliceShow] TypeError](https://wordpress.org/support/topic/typeerror-1/)
 *  [wza](https://wordpress.org/support/users/wza/)
 * (@wza)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/typeerror-1/#post-3970785)
 * same issue here. very annoying. is there a fix for this yet?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Customize output of sidebar widgets](https://wordpress.org/support/topic/customize-output-of-sidebar-widgets/)
 *  [wza](https://wordpress.org/support/users/wza/)
 * (@wza)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/customize-output-of-sidebar-widgets/#post-1146087)
 * what if you want to do this for just one widget within the dynamic sidebar, and
   not all? (f.e. tagcloud)

Viewing 4 replies - 1 through 4 (of 4 total)