Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nighthwk1

    (@nighthwk1)

    Of course this isn’t a super-important bug, it’s just something that would make working on multiple large WordPress sites much more pleasant, and I don’t think changing it would negatively impact anyone.

    There’s also the side effect of making life easier for those individuals that lock themselves out of their site.

    Thread Starter nighthwk1

    (@nighthwk1)

    I’m curious as to why this is an issue and what problems it causes?

    The biggest problem I have with it is that I cannot just duplicate the database when switching servers (new domain name, setting up development/staging servers, or working on the site on my local machine)

    The workaround I’ve been using is keeping a SQL script for each server I use (to update the siteurl value), and run it after each time I import data.

    This could probably be all fixed if bloginfo(‘siteurl’) didn’t look at the DB, and instead returned:

    $_SERVER['DOCUMENT_ROOT'] . $optional_subdirectory;

Viewing 2 replies - 1 through 2 (of 2 total)