Changeset 41208
- Timestamp:
- 08/02/2017 08:03:29 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/ms.php
r41200 r41208 267 267 268 268 /** 269 * Sends an email when a site administrator email address is changed. 270 * 271 * @since 3.0.0 272 * 273 * @param string $old_value The old email address. Not currently used. 274 * @param string $value The new email address. 269 * Send a confirmation request email when a change of site admin email address is attempted. 270 * 271 * The new site admin address will not become active until confirmed. 272 * 273 * @since 3.0.0 274 * 275 * @param string $old_value The old site admin email address. 276 * @param string $value The proposed new site admin email address. 275 277 */ 276 278 function update_option_new_admin_email( $old_value, $value ) { … … 306 308 307 309 /** 308 * Filters the email text sent when the site admin email is changed.310 * Filters the text of the email sent when a change of site admin email address is attempted. 309 311 * 310 312 * The following strings have a special meaning and will get replaced dynamically: 311 313 * ###USERNAME### The current user's username. 312 314 * ###ADMIN_URL### The link to click on to confirm the email change. 313 * ###EMAIL### The new email.315 * ###EMAIL### The proposed new site admin email address. 314 316 * ###SITENAME### The name of the site. 315 317 * ###SITEURL### The URL to the site. … … 318 320 * 319 321 * @param string $email_text Text in the email. 320 * @param string $new_admin_email New admin email that the current administration email was changed to. 322 * @param array $new_admin_email { 323 * Data relating to the new site admin email address. 324 * 325 * @type string $hash The secure hash used in the confirmation link URL. 326 * @type string $newemail The proposed new site admin email address. 327 * } 321 328 */ 322 329 $content = apply_filters( 'new_admin_email_content', $email_text, $new_admin_email );
Note: See TracChangeset
for help on using the changeset viewer.