Skip to:
Content

bbPress.org


Ignore:
Timestamp:
07/01/2012 11:50:30 PM (13 years ago)
Author:
johnjamesjacoby
Message:

Caches:

  • Introduce bbp_clean_post_cache() to handle cleaning custom queries and post ancestors.
  • Audit use of _pre_ and _post_ forum/topic/reply actions and locations. Reposition and pass parents as needed.
  • Add 'bbp_clean_post_cache' action to necessary _pre_ and _post_ actions.
  • Fixes #1861.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/plugin/bbp-includes/bbp-forum-functions.php

    r4026 r4041  
    229229    /** Additional Actions (Before Save) **************************************/
    230230
    231     do_action( 'bbp_new_forum_pre_extras' );
    232 
    233231    // Bail if errors
    234232    if ( bbp_has_errors() )
     
    236234
    237235    /** No Errors *************************************************************/
     236
     237    do_action( 'bbp_new_forum_pre_extras', $forum_parent_id );
    238238
    239239    // Add the content of the form to $forum_data as an array
Note: See TracChangeset for help on using the changeset viewer.