[wp-trac] [WordPress Trac] #12840: bbpress deep inegration fails

WordPress Trac wp-trac at lists.automattic.com
Sun Apr 4 09:40:23 UTC 2010


#12840: bbpress deep inegration fails
--------------------------+-------------------------------------------------
 Reporter:  catfrommars   |        Owner:         
     Type:  defect (bug)  |       Status:  closed 
 Priority:  normal        |    Milestone:         
Component:  General       |      Version:  3.0    
 Severity:  normal        |   Resolution:  invalid
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by dd32):

  * status:  new => closed
  * resolution:  => invalid
  * milestone:  Unassigned =>


Comment:

 This will need to be fixed on the bbPress side.

 It'll most likely be checking for the existance of the WP_Http class, In
 WordPress 3.0 the class is not automatically included.

 The class is conditionally included when the functions are called.

 bbPress currently uses
 {{{
 /**
  * Load WP_Http class
  */
 if ( !class_exists( 'WP_Http' ) ) {
         require_once( BACKPRESS_PATH . 'class.wp-http.php' );
 }
 }}}

 It'll need to change to something like:
 {{{
 /**
  * Load WP_Http class
  */
 if ( !function_exists( '_wp_http_get_object' ) ) {
         require_once( BACKPRESS_PATH . 'class.wp-http.php' );
 }
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12840#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list