[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-content/themes/plaintext/ -> retrieve_pwd.php (source)

   1  <?php
   2  /*
   3  Template Name: retrieve_pwd
   4  */
   5  $user = $this->args->advanced->user;
   6  $url  = $this->args->advanced->url;
   7  
   8  $this->build->_the_title = 'Password reset';
   9  
  10  $_message = __( 'Someone requested that the password be reset for the following account:' ) . "\n\n";
  11  $_message .= $url['site'] . "\n\n";
  12  $_message .= sprintf( __( 'Username: %s' ), $user->user_login ) . "\n\n";
  13  $_message .= __( 'If this was a mistake, just ignore this email and nothing will happen.' ) . "\n\n";    
  14  $_message .= __( 'To reset your password, visit the following address:' ) . "\n\n";    
  15  $_message .= $url['reset'] . "\n\n";
  16                  
  17  $this->build->_the_content  = $_message;
  18  
  19  $this->build->_the_actions     = __( 'Reset' ) . " [{$url['reset']}]\r\n";
  20  
  21  $this->get_template_part( '_mail' );


Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1