WordPress.org

Support

Support » Multisite » [Resolved] Missing / in activation link email.

[Resolved] Missing / in activation link email.

  • Radices

    @radices

    I’ve just set-up a MU with subdomains and in the activation email the link is missing a forward slash. I’ve hacked the ms-functions.php file to include a slash after {$path}

    Line 728 $activate_url = “http://{$domain}{$path}/wp-activate.php?key=$key”; // @todo use *_url() API

    Surely this is wrong (hacking core files) and can’t be a bug as I cannot find any mentions online.

    Cheers,
    GT
    http://www.durhamhouses.info

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)

    @ipstenu

    It shouldn’t be needed at all. Just like there isn’t one between domain and path, your path should be putting that in.

    What’s in your Path? Go to WP Dashboard -> Network -> Sites, click on edit site for a subsite.

    It shows a / in the path field on the dashboard.

    I was running 3.5 RC and it was indeed a bug in the ms-functions.php file.
    Line 545 $base = $current_site->path; was missing. Just installed the nightly build and all is well again. Thanks for the help.

    Right, so something is stripping it out. The / in Path is the $path variable, you see.

    What plugins are you using, and what theme is on your main site?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Missing / in activation link email.’ is closed to new replies.
Skip to toolbar