Title: thelastcookie's Replies | WordPress.org

---

# thelastcookie

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[XML Sitemap Generator for Google] 404 File Not found? See here!](https://wordpress.org/support/topic/404-file-not-found-see-here/)
 *  [thelastcookie](https://wordpress.org/support/users/thelastcookie/)
 * (@thelastcookie)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/404-file-not-found-see-here/page/2/#post-4761387)
 * > Check your permalinks settings of WordPress and click the Save button
 * It might be worth noting that if you are using the ‘Yoast WordPress SEO’-plugin
   you also have to update the permalink settings there (right sidebar -> SEO ->
   Permalinks -> Save).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Exhibition] Plugin breaks default "Add Media" functionality.](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/)
 *  Thread Starter [thelastcookie](https://wordpress.org/support/users/thelastcookie/)
 * (@thelastcookie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/#post-4740400)
 * My pleasure!
 * Keep up the good work.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Exhibition] Plugin breaks default "Add Media" functionality.](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/)
 *  Thread Starter [thelastcookie](https://wordpress.org/support/users/thelastcookie/)
 * (@thelastcookie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/#post-4740379)
 * This works for me so far!
 * Thank you very much.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Exhibition] Plugin breaks default "Add Media" functionality.](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/)
 *  Thread Starter [thelastcookie](https://wordpress.org/support/users/thelastcookie/)
 * (@thelastcookie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/#post-4740358)
 * Haha, did I wake your developer’s pride? 😀
 * I would look into this myself but unfortunately I have a million other todos 
   on this site that need to be taken care of by tonight too.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Exhibition] Plugin breaks default "Add Media" functionality.](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/)
 *  Thread Starter [thelastcookie](https://wordpress.org/support/users/thelastcookie/)
 * (@thelastcookie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/#post-4740352)
 * Either way, just for the sake of completeness here are the outputs of the `html`
   variable.
 * Using default uploader to add to post:
 * `<a href="http://www.redacted.de/wp-content/uploads/2014/03/karte.jpg"><img src
   ="http://www.redacted.de/wp-content/uploads/2014/03/karte.jpg" alt="Karte" width
   ="630" height="472" class="alignleft size-full wp-image-541" /></a>`
 * Adding to gallery:
    `<a href="http://www.redacted.de/konzept/erlebnisorientierte-
   musikerziehung/karte/" rel="attachment wp-att-541"><img src="http://www.redacted.
   de/wp-content/uploads/2014/03/karte.jpg" alt="" width="630" height="472" class
   ="alignleft size-full wp-image-541" /></a>`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Exhibition] Plugin breaks default "Add Media" functionality.](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/)
 *  Thread Starter [thelastcookie](https://wordpress.org/support/users/thelastcookie/)
 * (@thelastcookie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/#post-4740350)
 * Weird fix you have there – That wasnt even the issue 😉
 * It is the variable `exhibition_image_id` which is defined in the $().live() event
   and is left undefined when the default uploader is used and therefore breaks 
   the script.
 * I think we just need to only override window.send_to_editor() when we actually
   use the gallery uploader.
 * PS: I was not even looking at the minified versions.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Exhibition] Plugin breaks default "Add Media" functionality.](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/)
 *  Thread Starter [thelastcookie](https://wordpress.org/support/users/thelastcookie/)
 * (@thelastcookie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/#post-4740341)
 * No problem!
 * If you still have a few seconds to spare then you could outline how the patch
   works and I can hack something together myself in the meantime.
 * The problem doesn’t look too complicated, I just dont have the time myself right
   now to go through all of the plugin and half of wordpress to figure out how it
   works. (Also, why do the same work twice.)
 * Anyway I thank you for your quick replies, I’m actually impressed.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Exhibition] Plugin breaks default "Add Media" functionality.](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/)
 *  Thread Starter [thelastcookie](https://wordpress.org/support/users/thelastcookie/)
 * (@thelastcookie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/#post-4740329)
 * I just reinstalled the plugin and the issue persists, scripts.js seems to have
   the same contents, too.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Exhibition] Plugin breaks default "Add Media" functionality.](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/)
 *  Thread Starter [thelastcookie](https://wordpress.org/support/users/thelastcookie/)
 * (@thelastcookie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-breaks-default-add-media-functionality/#post-4740324)
 * Yes, I did update. I am using version 1.1.3 of the plugin.
 * [This ](http://pastie.org/8966777)is the script that is on my server.
 * It seems you are overriding `window.send_to_editor()` and basically replacing
   the default image upload functionality
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Exhibition] Plugin doesn't display anything in edit mask.](https://wordpress.org/support/topic/plugin-doesnt-display-anything-in-edit-mask/)
 *  Thread Starter [thelastcookie](https://wordpress.org/support/users/thelastcookie/)
 * (@thelastcookie)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/plugin-doesnt-display-anything-in-edit-mask/#post-4737282)
 * Argh, I’m blind! I was looking for something like this but totally oversaw the
   menu point.
 * Thanks a lot for the quick reply!

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