| 1 |
<?php |
| 2 |
/** |
| 3 |
* This template contains the text for the Lost Follower notification e-mail. |
| 4 |
* |
| 5 |
* @version 1.0 |
| 6 |
* @package Friends |
| 7 |
*/ |
| 8 |
|
| 9 |
// This is a text e-mail, not a place for HTML escaping. |
| 10 |
// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped |
| 11 |
|
| 12 |
// translators: %s is a user display name. |
| 13 |
printf( __( 'Hi %s!', 'friends' ), esc_html( $args['user']->display_name ) ); |
| 14 |
echo PHP_EOL; |
| 15 |
echo PHP_EOL; |
| 16 |
// translators: %s is a username. |
| 17 |
printf( __( 'Sorry to inform you that you lost follower %s.', 'friends' ), $args['follower']->get_name() . ' (' . $args['follower']->get_preferred_username() . '@' . $args['server'] . ')' ); |
| 18 |
echo PHP_EOL; |
| 19 |
echo PHP_EOL; |
| 20 |
echo '> ' . wp_strip_all_tags( $args['follower']->get_summary() ); |
| 21 |
echo PHP_EOL; |
| 22 |
// translators: %s is a time duration. |
| 23 |
printf( __( 'They have been following you for: %s', 'friends' ), $args['duration'] ); |
| 24 |
|