[wp-hackers] WP_SITEURL and db update

Stefano Aglietti steagl4ml at gmail.com
Tue Jul 29 12:08:56 GMT 2008


On Tue, 29 Jul 2008 07:48:37 -0400, "Austin Matzko"
<if.website at gmail.com> wrote:

>On Tue, Jul 29, 2008 at 7:44 AM, Stefano Aglietti <steagl4ml at gmail.com> wrote:
>> That I interpreted that setting the variable in wp-config will force
>> this value to the database too. But it looks it doesn't do this. I'm
>> wrong?
>
>You are correct: setting the WP_SITEURL or WP_HOME constant does not
>change the siteurl or home option value in the database.

I tested it and i saw it wasn't updating DB but the codex says:

Setting this value in wp-config.php causes the wp_options table
option_value of siteurl to be set

Then I suppose codex need to be updated cause it says something wrong.

-- 

Stefano Aglietti - StallonIt on IRCnet - ICQ#: 2078431
Email: steve at 40annibuttati.it steagl at people.it
Sites: http://www.40annibuttati.it (personal blog)
       http://www.wordpress-it.it (WordPress Italia)


More information about the wp-hackers mailing list