Make WordPress Core

Changeset 42845 for branches/4.9


Ignore:
Timestamp:
03/18/2018 03:06:03 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.

Merge of [42844] to the 4.9 branch.

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

Location:
branches/4.9
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/4.9

  • branches/4.9/src/wp-activate.php

    r41579 r42845  
    111111                        /* translators: 1: site URL, 2: username, 3: user email, 4: lost password URL */
    112112                        __( '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>.' ),
    113                         sprintf( '<a href="http://%s">%s</a>', $signup->domain ),
     113                        sprintf( '<a href="http://%1$s">%1$s</a>', $signup->domain ),
    114114                        $signup->user_login,
    115115                        $signup->user_email,
Note: See TracChangeset for help on using the changeset viewer.