Skip to content

Commit

Permalink
Spell Xposter consistently
Browse files Browse the repository at this point in the history
  • Loading branch information
joedolson committed Aug 14, 2023
1 parent 74b6384 commit c38ceca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wpt-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ function wpt_get_support_form() {
} else {
$pro = '';
}
$subject = "WP Tweets $pro support request.";
$subject = "XPoster $pro support request.";
$message = $request . "\n\n" . $data;
$response_email = ( isset( $_POST['response_email'] ) ) ? sanitize_email( $_POST['response_email'] ) : false;
$from = "From: $current_user->display_name <$response_email>\r\nReply-to: $current_user->display_name <$response_email>\r\n";
Expand All @@ -694,7 +694,7 @@ function wpt_get_support_form() {
} elseif ( ! $request ) {
echo "<div class='notice error'><p>" . __( 'Please describe your problem. I\'m not psychic.', 'wp-to-twitter' ) . '</p></div>';
} else {
$sent = wp_mail( 'plugins@joedolson.com', $subject, $message, $from );
$sent = wp_mail( 'plugins@xposterpro.com', $subject, $message, $from );
if ( $sent ) {
// Translators: Email address.
echo "<div class='notice updated'><p>" . sprintf( __( 'Thank you for supporting XPoster! I\'ll get back to you as soon as I can. Please make sure you can receive email at <code>%s</code>.', 'wp-to-twitter' ), $response_email ) . '</p></div>';
Expand Down

0 comments on commit c38ceca

Please sign in to comment.