Title: sheershoff's Replies | WordPress.org

---

# sheershoff

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

 *   [Profile](https://wordpress.org/support/users/sheershoff/)
 *   [Topics Started](https://wordpress.org/support/users/sheershoff/topics/)
 *   [Replies Created](https://wordpress.org/support/users/sheershoff/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/sheershoff/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/sheershoff/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/sheershoff/engagements/)
 *   [Favorites](https://wordpress.org/support/users/sheershoff/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: [[Image Carousel] Multiple galleries on a single page causing errors](https://wordpress.org/support/topic/multiple-galleries-on-a-single-page-causing-errors/)
 *  [sheershoff](https://wordpress.org/support/users/sheershoff/)
 * (@sheershoff)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/multiple-galleries-on-a-single-page-causing-errors/#post-6944452)
 * plugins/image-carousel/inc/functions/icp-functions.php
 * line 219
 * change
 * `if ( apply_filters( 'use_default_gallery_style', true ) )`
 * to
 * `if ( apply_filters( 'use_default_gallery_style', true ) ){}`
 * (just add the two curly braces)
 * I don’t know what this change breaks, but it fixes multiple galleries on one 
   page 🙂
 * Seems it works
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] cleanup_sessions() is not invoked, wp_option > 400k _wc_session%](https://wordpress.org/support/topic/cleanup_sessions-is-not-invoked-wp_option-400k-_wc_session/)
 *  Thread Starter [sheershoff](https://wordpress.org/support/users/sheershoff/)
 * (@sheershoff)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/cleanup_sessions-is-not-invoked-wp_option-400k-_wc_session/#post-6114655)
 * I can submit the patch for the OOM issue, e.g., by GCing the sessions in chunks.
   But after 1.5 hrs of digging I have no idea why the cleanup_sessions() is not
   invoked.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wp-Pro-Quiz] How do I add social plugins to the Quizzes](https://wordpress.org/support/topic/how-do-i-add-social-plugins-to-the-quizzes/)
 *  [sheershoff](https://wordpress.org/support/users/sheershoff/)
 * (@sheershoff)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/how-do-i-add-social-plugins-to-the-quizzes/#post-5217609)
 * Since facebook has changed its sharer api and the share api no longer supports
   custom texts, also having in mind that the wp-quiz-pro has no distinct pages 
   for distinct result there are two options:
 * 1. add a distinct page for a users result, having opengraph properties filled
   
   2. use the custom story facebook api option
 * If I manage to do this I’ll come back here with the results.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wp-Pro-Quiz] Only allow progress when correct… ?](https://wordpress.org/support/topic/only-allow-progress-when-correct/)
 *  [sheershoff](https://wordpress.org/support/users/sheershoff/)
 * (@sheershoff)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/only-allow-progress-when-correct/#post-4908195)
 * wpProQuiz_front.js – add `var errorInQuiz = false;` after `var currentPage = 
   1;`, then in `checkQuestion` method add the following in the else branch of `
   if(result.c) {` :
 *     ```
       if(!errorInQuiz){
         errorInQuiz = true;
         plugin.methode.showQuizSummary();
       }
       ```
   
 * then minify or replace the .min.js with the patched version. worked for me.

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