How to include WordPress 3.0 code into the 3rd party scripts?
-
Hey guys, I am having troubles with including WordPress code into 3rd party scripts… at least for the version 3.0. Everything worked fine and peachy with this code for v2.9.2:
define(‘WP_USE_THEMES’, false);
require(“/home/domain/public_html/wp-blog-header.php”);But in 3.0.1 something changed and that same code, when added to a 3rd party script now, breaks it in a way that it doesn’t wrap their code into WP one anymore, but it either opens up a /3rd-party-script-folder/wp-admin/install.php or it doesn’t even open up the file requested in /3rd-party-script-folder and returns a 404 error.
What changed to cause this?
I mean, this might still work just fine for simple implementations without much authentication/cookies/session variable programming, but this 3rd party script developers team hasn’t been able to figure out what’s wrong and their only answer after a week straight of looking at it is to ask around here…
- The topic ‘How to include WordPress 3.0 code into the 3rd party scripts?’ is closed to new replies.