[wp-hackers] "deprecating" direct calls to wp-config.php
Claudio Simeone
mrbrog at gmail.com
Tue Nov 3 20:29:50 UTC 2009
2009/11/3 Otto <otto at ottodestruct.com>:
> On Tue, Nov 3, 2009 at 2:08 PM, Claudio Simeone <mrbrog at gmail.com> wrote:
>> So my question was more related to a scenario in which I need to
>> "import" all WP functions, into another - external - script, that is
>> not directly connected with my WP installation, or it is not inside my
>> installation.
>
> From anything outside to WordPress itself, you should probably include
> the wp-blog-header.php file. You can include wp-load.php, and it'll be
> slightly faster, but not all the query stuff will get initialized
> because wp() won't get called.
Ken and Otto, thank you VERY much, especially for explaining the
difference between wp-load.php and wp-blog-header.php!
Claudio
More information about the wp-hackers
mailing list