Changeset 4999
- Timestamp:
- 06/24/2013 05:09:00 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/core/actions.php
r4997 r4999 284 284 285 285 // Theme-side POST requests 286 add_action( 'bbp_post_request', 'bbp_do_ajax', 1 ); 287 add_action( 'bbp_post_request', 'bbp_edit_topic_tag_handler', 1 ); 288 add_action( 'bbp_post_request', 'bbp_edit_user_handler', 1 ); 289 add_action( 'bbp_post_request', 'bbp_edit_forum_handler', 1 ); 290 add_action( 'bbp_post_request', 'bbp_edit_reply_handler', 1 ); 291 add_action( 'bbp_post_request', 'bbp_edit_topic_handler', 1 ); 292 add_action( 'bbp_post_request', 'bbp_merge_topic_handler', 1 ); 293 add_action( 'bbp_post_request', 'bbp_split_topic_handler', 1 ); 294 add_action( 'bbp_post_request', 'bbp_move_reply_handler', 1 ); 295 add_action( 'bbp_post_request', 'bbp_new_forum_handler', 10 ); 296 add_action( 'bbp_post_request', 'bbp_new_reply_handler', 10 ); 297 add_action( 'bbp_post_request', 'bbp_new_topic_handler', 10 ); 298 add_action( 'bbp_post_request', 'bbp_search_results_redirect', 10 ); 286 add_action( 'bbp_post_request', 'bbp_do_ajax', 1 ); 287 add_action( 'bbp_post_request', 'bbp_edit_topic_tag_handler', 1 ); 288 add_action( 'bbp_post_request', 'bbp_edit_user_handler', 1 ); 289 add_action( 'bbp_post_request', 'bbp_edit_forum_handler', 1 ); 290 add_action( 'bbp_post_request', 'bbp_edit_reply_handler', 1 ); 291 add_action( 'bbp_post_request', 'bbp_edit_topic_handler', 1 ); 292 add_action( 'bbp_post_request', 'bbp_merge_topic_handler', 1 ); 293 add_action( 'bbp_post_request', 'bbp_split_topic_handler', 1 ); 294 add_action( 'bbp_post_request', 'bbp_move_reply_handler', 1 ); 295 add_action( 'bbp_post_request', 'bbp_new_forum_handler', 10 ); 296 add_action( 'bbp_post_request', 'bbp_new_reply_handler', 10 ); 297 add_action( 'bbp_post_request', 'bbp_new_topic_handler', 10 ); 299 298 300 299 // Theme-side GET requests 301 add_action( 'bbp_get_request', 'bbp_toggle_topic_handler', 1 ); 302 add_action( 'bbp_get_request', 'bbp_toggle_reply_handler', 1 ); 303 add_action( 'bbp_get_request', 'bbp_favorites_handler', 1 ); 304 add_action( 'bbp_get_request', 'bbp_subscriptions_handler', 1 ); 300 add_action( 'bbp_get_request', 'bbp_toggle_topic_handler', 1 ); 301 add_action( 'bbp_get_request', 'bbp_toggle_reply_handler', 1 ); 302 add_action( 'bbp_get_request', 'bbp_favorites_handler', 1 ); 303 add_action( 'bbp_get_request', 'bbp_subscriptions_handler', 1 ); 304 add_action( 'bbp_get_request', 'bbp_search_results_redirect', 10 ); 305 305 306 306 // Maybe convert the users password -
trunk/templates/default/bbpress/form-search.php
r4997 r4999 10 10 ?> 11 11 12 <form role="search" method=" post" id="bbp-search-form" action="<?php bbp_search_url(); ?>">12 <form role="search" method="get" id="bbp-search-form" action="<?php bbp_search_url(); ?>"> 13 13 <div> 14 14 <label class="screen-reader-text hidden" for="bbp_search"><?php _e( 'Search for:', 'bbpress' ); ?></label> 15 <input type="hidden" name="action" value="bbp-search-request" /> 15 16 <input tabindex="<?php bbp_tab_index(); ?>" type="text" value="<?php echo esc_attr( bbp_get_search_terms() ); ?>" name="bbp_search" id="bbp_search" /> 16 17 <input tabindex="<?php bbp_tab_index(); ?>" class="button" type="submit" id="bbp_search_submit" value="<?php esc_attr_e( 'Search', 'bbpress' ); ?>" />
Note: See TracChangeset
for help on using the changeset viewer.