Make WordPress Core

Changeset 42844


Ignore:
Timestamp:
03/18/2018 02:44:47 PM (7 years ago)
Author:
ocean90
Message:

Multisite: Use a numbered placeholder in sprintf() for the site URL.

Fixes missing site domain in the link and a PHP warning.

Props Thomas Vitale, conner_bw.
See #41645.
Fixes #43568.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-activate.php

    r42343 r42844  
    113113                        /* translators: 1: site URL, 2: username, 3: user email, 4: lost password URL */
    114114                        __( 'Your site at %1$s is active. You may now log in to your site using your chosen username of &#8220;%2$s&#8221;. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.' ),
    115                         sprintf( '<a href="http://%s">%s</a>', $signup->domain ),
     115                        sprintf( '<a href="http://%1$s">%1$s</a>', $signup->domain ),
    116116                        $signup->user_login,
    117117                        $signup->user_email,
Note: See TracChangeset for help on using the changeset viewer.