[wp-hackers] WP_SITEURL and db update
Jeremy Clarke
jer-wphackers at simianuprising.com
Tue Jul 29 15:59:07 GMT 2008
This is an important distinction. For the record, I just updated the
wiki to reflect the fact that these settings don't update the db (just
override it).
jer
On Tue, Jul 29, 2008 at 11:18 AM, Stefano Aglietti <steagl4ml at gmail.com> wrote:
> On Tue, 29 Jul 2008 09:08:44 -0500, Otto <otto at ottodestruct.com>
> wrote:
>
>>On Tue, Jul 29, 2008 at 8:05 AM, Stefano Aglietti <steagl4ml at gmail.com> wrote:
>>> On Tue, 29 Jul 2008 05:20:08 -0700, Viper007Bond
>>> <viper at viper007bond.com> wrote:
>>>
>>>>What does it matter what the value in the database is? You shouldn't be
>>>>manually querying, so it won't affect you.
>>>
>>> Would be usefull for end users that mess up with paths and url in the
>>> admin panel, this solve the problem but if it force tha value would be
>>> an easy alternative that editing DB using phpmyadmin.
>>
>>I've been telling people to add code to their theme's functions.php
>>file instead of manually modifying the DB:
>>update_option('siteurl','http://example.com');
>>update_option('home','http://example.com');
>
> This should work for very "ungeek" people.. nice idea ;) thanks
>
> --
>
> 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)
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
--
Jeremy Clarke
Code and Design | globalvoicesonline.org
More information about the wp-hackers
mailing list