Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/06/2012 10:29:35 AM (14 years ago)
Author:
johnjamesjacoby
Message:

Introduce bbp_post_request() and bbp_get_request() sub-actions:

  • Update actions and sub-actions to use these new handlers.
  • Update new/edit forum/topic/reply handlers to use these.
  • Update phpdoc as needed.
  • Remove duplicate 'bp_actions' request hooks from BuddyPress group forums.
  • Does not include admin-side requests.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/extend/buddypress/group.php

    r4544 r4551  
    5555                $this->template_file        = 'groups/single/plugins';
    5656                $this->display_hook         = 'bp_template_content';
    57 
    58                 // Add handlers to bp_actions
    59                 add_action( 'bp_actions', 'bbp_new_forum_handler'  );
    60                 add_action( 'bp_actions', 'bbp_new_topic_handler'  );
    61                 add_action( 'bp_actions', 'bbp_new_reply_handler'  );
    62                 add_action( 'bp_actions', 'bbp_edit_forum_handler' );
    63                 add_action( 'bp_actions', 'bbp_edit_topic_handler' );
    64                 add_action( 'bp_actions', 'bbp_edit_reply_handler' );
    6557
    6658                // Possibly redirect
Note: See TracChangeset for help on using the changeset viewer.