Index: /trunk/bbp-includes/admin/admin.php =================================================================== --- /trunk/bbp-includes/admin/admin.php (revision 4259) +++ /trunk/bbp-includes/admin/admin.php (revision 4260) @@ -99,4 +99,5 @@ require( $this->admin_dir . 'replies.php' ); require( $this->admin_dir . 'users.php' ); + require( $this->admin_dir . 'ajax.php' ); } Index: /trunk/bbp-includes/admin/ajax.php =================================================================== --- /trunk/bbp-includes/admin/ajax.php (revision 4260) +++ /trunk/bbp-includes/admin/ajax.php (revision 4260) @@ -0,0 +1,64 @@ + + + + + like_escape( $_REQUEST['q'] ), 'post_type' => bbp_get_forum_post_type() ) ) as $post ) { + echo sprintf( __( '%s - %s', 'bbpress' ), bbp_get_forum_id( $post->ID ), bbp_get_forum_title( $post->ID ) ) . "\n"; + } + die(); + } + + public function topic_lookup() { + foreach ( get_posts( array( 's' => like_escape( $_REQUEST['q'] ), 'post_type' => bbp_get_topic_post_type() ) ) as $post ) { + echo sprintf( __( '%s - %s', 'bbpress' ), bbp_get_topic_id( $post->ID ), bbp_get_topic_title( $post->ID ) ) . "\n"; + } + die(); + } +} +new BBP_Post_Search; Index: /trunk/bbp-includes/admin/metaboxes.php =================================================================== --- /trunk/bbp-includes/admin/metaboxes.php (revision 4259) +++ /trunk/bbp-includes/admin/metaboxes.php (revision 4260) @@ -299,5 +299,5 @@ - +
@@ -341,5 +341,5 @@- +
@@ -377,5 +377,5 @@- +
@@ -386,5 +386,5 @@- +