Title: israelshirk's Replies | WordPress.org

---

# israelshirk

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] TEC version 2.0.11 breaks save_post action for actions above 25](https://wordpress.org/support/topic/tec-version-2011-breaks-save_post-action-for-actions-above-25/)
 *  Thread Starter [israelshirk](https://wordpress.org/support/users/israelshirk/)
 * (@israelshirk)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/tec-version-2011-breaks-save_post-action-for-actions-above-25/#post-3533176)
 * I’ll see if I have time to throw something together later this week.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] TEC version 2.0.11 breaks save_post action for actions above 25](https://wordpress.org/support/topic/tec-version-2011-breaks-save_post-action-for-actions-above-25/)
 *  Thread Starter [israelshirk](https://wordpress.org/support/users/israelshirk/)
 * (@israelshirk)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/tec-version-2011-breaks-save_post-action-for-actions-above-25/#post-3533169)
 * **That’s disappointing.**
 * I went ahead and tested with some other versions of PHP other than 5.4; it did
   the same thing. Again, here is some simple code that demonstrates the issue. 
   It can be plugged into any working functions.php in a matter of several seconds
   to show the issue at hand.
 *     ```
       function twenty_four($something) { error_log( 'The save post action ran an action with priority 24!' ); }
       function ninety_nine($something) { error_log( 'This never runs unless you have more than 5 other actions that don\'t run before it!' ); }
       add_action( 'save_post', 'twenty_four', 24, 1 );
       add_action( 'save_post', 'ninety_nine', 99, 1 );
       ```
   
 * Commenting out the offending remove_actions lines in your plugin’s code fixes
   the issues and causes WordPress’s internal functions to work as expected and 
   documented.
 * The choice of whether to fix or not is obviously up to you guys. I’d be glad 
   to submit a patch if it sounded like your dev would accept it, but it sounds 
   like that’s a pretty grand wish 😉
 * the events calendar tec save_post action does not run plugin breaks other plugins
   plugin breaks my theme save_post action greater than 25 does not run save_post
   action greater than twenty five does not run bug in events calendar broken fail
   help why doesn’t tec work
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] TEC version 2.0.11 breaks save_post action for actions above 25](https://wordpress.org/support/topic/tec-version-2011-breaks-save_post-action-for-actions-above-25/)
 *  Thread Starter [israelshirk](https://wordpress.org/support/users/israelshirk/)
 * (@israelshirk)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/tec-version-2011-breaks-save_post-action-for-actions-above-25/#post-3533167)
 * Hey Jonah –
 * That was actually the very first of several dozen tests I did. Was your dev unable
   to duplicate the behavior using the code I provided?
 * > An action defined by:
   >  add_action( ‘save_post’, ‘some_function’, 99, 1 ); will
   > not be called.
 * Thanks!
    Israel
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Modifying search form and querying non-wordpress additional tables](https://wordpress.org/support/topic/modifying-search-form-and-querying-non-wordpress-additional-tables/)
 *  [israelshirk](https://wordpress.org/support/users/israelshirk/)
 * (@israelshirk)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/modifying-search-form-and-querying-non-wordpress-additional-tables/#post-2386634)
 * Sorry, that got modded out. Good luck.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Modifying search form and querying non-wordpress additional tables](https://wordpress.org/support/topic/modifying-search-form-and-querying-non-wordpress-additional-tables/)
 *  [israelshirk](https://wordpress.org/support/users/israelshirk/)
 * (@israelshirk)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/modifying-search-form-and-querying-non-wordpress-additional-tables/#post-2386629)
 * Most of it came from here fwiw –
    [http://codex.wordpress.org/Custom_Queries#Keyword_Search_In_Plugin_Table](http://codex.wordpress.org/Custom_Queries#Keyword_Search_In_Plugin_Table)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Modifying search form and querying non-wordpress additional tables](https://wordpress.org/support/topic/modifying-search-form-and-querying-non-wordpress-additional-tables/)
 *  [israelshirk](https://wordpress.org/support/users/israelshirk/)
 * (@israelshirk)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/modifying-search-form-and-querying-non-wordpress-additional-tables/#post-2386628)
 * I’ve got some code you can hack around with/use for reference.
 * _[Code moderated as per the [Forum Rules](http://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use the [pastebin](http://wordpress.pastebin.com/)]_
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Plugin: WP Super Cache] Slowdowns with Super Cache (during garbage cleanups)](https://wordpress.org/support/topic/plugin-wp-super-cache-slowdowns-with-super-cache-during-garbage-cleanups/)
 *  Thread Starter [israelshirk](https://wordpress.org/support/users/israelshirk/)
 * (@israelshirk)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-super-cache-slowdowns-with-super-cache-during-garbage-cleanups/#post-1390128)
 * We did that and it resulted in much slower page loads across the board… The issue
   then is that we have a *very* large distribution of which pages are hit, somewhat
   different from the normal distribution curve where recent posts are significantly
   more likely to be hit.
 * I might try to take a look and see if there’s a more efficient way to handle 
   some of the cleanup… hmmmm…

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