Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Fatal error: Call to undefined function wp()

Thanks again Chris for coming back on this thread. I am surprised to read your statement about integration though, as it was this feature of bbpress that made me go for it over other forums! Oh well, may be it’ll come out good in the end.

Here’s the code for wp-blog-header.php. Line 14 simply says “wp();”.

<?php

/**

* Loads the WordPress environment and template.

*

* @package WordPress

*/

if ( !isset($wp_did_header) ) {

$wp_did_header = true;

require_once( dirname(__FILE__) . '/wp-load.php' );

wp();

require_once( ABSPATH . WPINC . '/template-loader.php' );

}

?>

Skip to toolbar