Changeset 49078
- Timestamp:
- 09/30/2020 09:52:27 PM (4 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/ms-delete-site.php
r48201 r49078 73 73 ); 74 74 /** 75 * Filters the email content sent when a site in a Multisite network is deleted.75 * Filters the text for the email sent to the site admin when a request to delete a site in a Multisite network is submitted. 76 76 * 77 77 * @since 3.0.0 78 78 * 79 * @param string $content The email content that will be sent to the user who deleted a site in a Multisite network.79 * @param string $content The email text. 80 80 */ 81 81 $content = apply_filters( 'delete_site_email_content', $content ); -
trunk/src/wp-includes/ms-functions.php
r49028 r49078 1576 1576 1577 1577 /** 1578 * Notif y a user that their blog activation has beensuccessful.1578 * Notifies the site administrator that their site activation was successful. 1579 1579 * 1580 1580 * Filter {@see 'wpmu_welcome_notification'} to disable or bypass. … … 1585 1585 * @since MU (3.0.0) 1586 1586 * 1587 * @param int $blog_id BlogID.1587 * @param int $blog_id Site ID. 1588 1588 * @param int $user_id User ID. 1589 * @param string $password User password .1589 * @param string $password User password, or "N/A" if the user account is not new. 1590 1590 * @param string $title Site title. 1591 1591 * @param array $meta Optional. Signup meta data. By default, contains the requested privacy setting and lang_id. 1592 * @return bool 1592 * @return bool Whether the email notification was sent. 1593 1593 */ 1594 1594 function wpmu_welcome_notification( $blog_id, $user_id, $password, $title, $meta = array() ) { … … 1596 1596 1597 1597 /** 1598 * Filters whether to bypass the welcome email after site activation.1598 * Filters whether to bypass the welcome email sent to the site administrator after site activation. 1599 1599 * 1600 1600 * Returning false disables the welcome email. … … 1602 1602 * @since MU (3.0.0) 1603 1603 * 1604 * @param int|bool $blog_id BlogID.1605 * @param int $user_id User ID .1606 * @param string $password User password .1604 * @param int|bool $blog_id Site ID. 1605 * @param int $user_id User ID of the site administrator. 1606 * @param string $password User password, or "N/A" if the user account is not new. 1607 1607 * @param string $title Site title. 1608 1608 * @param array $meta Signup meta data. By default, contains the requested privacy setting and lang_id. … … 1646 1646 1647 1647 /** 1648 * Filters the content of the welcome email after site activation.1648 * Filters the content of the welcome email sent to the site administrator after site activation. 1649 1649 * 1650 1650 * Content should be formatted for transmission via wp_mail(). … … 1653 1653 * 1654 1654 * @param string $welcome_email Message body of the email. 1655 * @param int $blog_id BlogID.1656 * @param int $user_id User ID .1657 * @param string $password User password .1655 * @param int $blog_id Site ID. 1656 * @param int $user_id User ID of the site administrator. 1657 * @param string $password User password, or "N/A" if the user account is not new. 1658 1658 * @param string $title Site title. 1659 1659 * @param array $meta Signup meta data. By default, contains the requested privacy setting and lang_id. … … 1679 1679 1680 1680 /** 1681 * Filters the subject of the welcome email after site activation.1681 * Filters the subject of the welcome email sent to the site administrator after site activation. 1682 1682 * 1683 1683 * @since MU (3.0.0) -
trunk/src/wp-login.php
r48359 r49078 324 324 325 325 /** 326 * Outputs the Javascript to handle the form shaking .326 * Outputs the Javascript to handle the form shaking on the login page. 327 327 * 328 328 * @since 3.0.0 … … 337 337 338 338 /** 339 * Outputs the viewport meta tag .339 * Outputs the viewport meta tag for the login page. 340 340 * 341 341 * @since 3.7.0 … … 348 348 349 349 /** 350 * Handles sending password retrieval email touser.350 * Handles sending a password retrieval email to a user. 351 351 * 352 352 * @since 2.5.0 353 353 * 354 * @return bool|WP_Error True: when finish. WP_Error on error354 * @return true|WP_Error True when finished, WP_Error object on error. 355 355 */ 356 356 function retrieve_password() { … … 423 423 /* 424 424 * The blogname option is escaped with esc_html on the way into the database 425 * in sanitize_option we want to reverse this for the plain text arena of emails.425 * in sanitize_option. We want to reverse this for the plain text arena of emails. 426 426 */ 427 427 $site_name = wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES ); … … 446 446 * @since 4.4.0 Added the `$user_login` and `$user_data` parameters. 447 447 * 448 * @param string $title Default email title.448 * @param string $title Email subject. 449 449 * @param string $user_login The username for the user. 450 450 * @param WP_User $user_data WP_User object. … … 460 460 * @since 4.1.0 Added `$user_login` and `$user_data` parameters. 461 461 * 462 * @param string $message Defaultmail message.462 * @param string $message Email message. 463 463 * @param string $key The activation key. 464 464 * @param string $user_login The username for the user. -
trunk/src/wp-signup.php
r48590 r49078 241 241 242 242 /** 243 * Display user registration form243 * Displays the fields for the new user account registration form. 244 244 * 245 245 * @since MU (3.0.0) … … 278 278 } 279 279 /** 280 * Fires at the end of the user registration form on the site sign-upform.280 * Fires at the end of the new user account registration form. 281 281 * 282 282 * @since 3.0.0 … … 548 548 549 549 /** 550 * S etup the new user signup process550 * Shows a form for a visitor to sign up for a new user account. 551 551 * 552 552 * @since MU (3.0.0) … … 684 684 685 685 /** 686 * S etup the new site signup686 * Shows a form for a user or visitor to sign up for a new site. 687 687 * 688 688 * @since MU (3.0.0) … … 808 808 809 809 /** 810 * New site signup confirmation811 * 812 * @since MU (3.0.0) 813 * 814 * @param string $domain The domain URL.815 * @param string $path The site root path.816 * @param string $blog_title The new site title.810 * Shows a message confirming that the new site has been registered and is awaiting activation. 811 * 812 * @since MU (3.0.0) 813 * 814 * @param string $domain The domain or subdomain of the site. 815 * @param string $path The path of the site. 816 * @param string $blog_title The title of the new site. 817 817 * @param string $user_name The user's username. 818 818 * @param string $user_email The user's email address.
Note: See TracChangeset
for help on using the changeset viewer.