The MU forums have moved to WordPress.org

Email on blog creation still sends the wrong address (3 posts)

  1. Farms
    Member
    Posted 18 years ago #

    Just a quick one to mention that when you set up a new blog on the latest release, the email you get still has the wrong blog address in it... is this one a particularly trickyt 'un to fix?

    Cheers, James

  2. NetAndif
    Inactive
    Posted 18 years ago #

    Hi james.
    Don't worry. This was on of the first on my 'to-fix' list.

    // generate urls for email
    $guessurl = preg_replace('|/wp-admin/.*|i', '', 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);
    $guessurl = $guessurl . '/wp-login.php';

  3. Farms
    Member
    Posted 18 years ago #

    Sweet, thanking ya!

About this Topic