The MU forums have moved to WordPress.org

'home' vs. 'siteurl' (2 posts)

  1. NetAndif
    Inactive
    Posted 17 years ago #

    I noticed, that the 'home' option in the db is empty.
    But this setting is called several times: get_settings('home')
    How is this working?
    And what is (or should be) the difference between get_settings('home') and get_settings('siteurl') ?

  2. donncha
    Key Master
    Posted 17 years ago #

    Strange - I searched for "home" in wp-admin and wp-includes but all I could find was functions that get_settings( 'home' ) besides the add_option( 'home' ) in upgrade-schema.php .. The option_value of that option is "1", not a URL so something's wrong there. Maybe there's something in the WP codex/docs?

About this Topic

  • Started 2024 years ago by NetAndif
  • Latest reply from donncha