Skip to content

Commit

Permalink
update version to 2.9.11
Browse files Browse the repository at this point in the history
  • Loading branch information
poojabaghelsendinblue committed Jan 22, 2020
1 parent 463c155 commit cc9fba8
Show file tree
Hide file tree
Showing 33 changed files with 709 additions and 312 deletions.
428 changes: 427 additions & 1 deletion README.md

Large diffs are not rendered by default.

Binary file modified mailin/img/favicon.ico
Binary file not shown.
Binary file modified mailin/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 28 additions & 28 deletions mailin/inc/mailin.php

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions mailin/inc/sib-api-manager.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Manage SendinBlue API
* Manage Sendinblue API
*
* Use wp API transient to reduce loading time of API call
*
Expand Down Expand Up @@ -327,7 +327,7 @@ public static function identify_user( $data ) {
}

/**
* Send email through SendinBlue
* Send email through Sendinblue
*
* @param array $data - mail data.
* @return array|mixed|object
Expand Down Expand Up @@ -474,7 +474,7 @@ public static function create_subscriber( $type = 'simple', $email, $list_id, $i
}

/**
* Send a mail for confirmation through SendinBlue
* Send a mail for confirmation through Sendinblue
*
* @param string $type - confirm or double-optin.
* @param $to_email - receive email.
Expand Down Expand Up @@ -503,7 +503,7 @@ public static function send_comfirm_email( $type = 'confirm', $to_email, $templa
}
if ( '' == $sender_email ) {
$sender_email = __( '[email protected]', 'sib_lang' );
$sender_name = __( 'SendinBlue', 'sib_lang' );
$sender_name = __( 'Sendinblue', 'sib_lang' );
}

$template_contents = self::get_email_template( $type );
Expand Down Expand Up @@ -741,7 +741,7 @@ public static function subscribe() {
<br>
<?php echo esc_attr__( 'You have just subscribed to the newsletter of ', 'sib_lang' ) . esc_attr( $site_domain ) . ' .'; ?>
<br><br>
<?php esc_attr_e( '-SendinBlue', 'sib_lang' ); ?></div>
<?php esc_attr_e( '-Sendinblue', 'sib_lang' ); ?></div>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -842,7 +842,7 @@ function unsubscribe() {
<br>
<?php esc_attr_e( 'The user has been unsubscribed', 'sib_lang' ); ?><br>
<br>
-SendinBlue
-Sendinblue
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion mailin/inc/templates/confirm/temp.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<br>
If at any time you wish to stop receiving our emails, you can <a href="[UNSUBSCRIBE]" title="Unsubscribe from the newsletter">unsubscribe here</a>.<br>
<br>
-SendinBlue</div>
-Sendinblue</div>
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion mailin/inc/templates/confirm/temp.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Thank you for subscribing. You have just subscribed to the newsletter of {site_domain}. If at any time you wish to stop receiving our mails, you can unsubscribe here. -SendinBlue
Thank you for subscribing. You have just subscribed to the newsletter of {site_domain}. If at any time you wish to stop receiving our mails, you can unsubscribe here. -Sendinblue
2 changes: 1 addition & 1 deletion mailin/inc/templates/confirm/temp_fr-FR.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<br>
Si vous souhaitez ne plus recevoir nos emails, vous pouvez <a href="[UNSUBSCRIBE]" title="Se désinscire">vous désinscrire ici</a>.<br>
<br>
-SendinBlue</div>
-Sendinblue</div>
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion mailin/inc/templates/confirm/temp_fr-FR.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Merci pour votre inscription. Vous venez de vous inscrire à la newsletter de {site_domain}. Si vous souhaitez ne plus recevoir nos emails, vous pouvez vous désinscrire ici. -SendinBlue
Merci pour votre inscription. Vous venez de vous inscrire à la newsletter de {site_domain}. Si vous souhaitez ne plus recevoir nos emails, vous pouvez vous désinscrire ici. -Sendinblue
2 changes: 1 addition & 1 deletion mailin/inc/templates/double-optin/temp.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<br>
If you received this email by mistake, simply delete it. You will not be subscribed to this list if you don't click the confirmation link above.
<br><br>
-SendinBlue</div>
-Sendinblue</div>
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion mailin/inc/templates/double-optin/temp.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
If you received this email by mistake, simply delete it. You will not be subscribed to this list if you don't click the confirmation link above. -SendinBlue
If you received this email by mistake, simply delete it. You will not be subscribed to this list if you don't click the confirmation link above. -Sendinblue
2 changes: 1 addition & 1 deletion mailin/inc/templates/double-optin/temp_fr-FR.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<br>
Si vous recevez cet email par erreur, vous pouvez simplement le supprimer. Vous ne serez pas inscrit à la newsletter si vous ne cliquez pas sur le lien de confirmation ci-dessus.
<br><br>
-SendinBlue</div>
-Sendinblue</div>
</td>
</tr>
</tbody>
Expand Down
2 changes: 1 addition & 1 deletion mailin/inc/templates/double-optin/temp_fr-FR.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Si vous recevez cet email par erreur, vous pouvez simplement le supprimer. Vous ne serez pas inscrit à la newsletter si vous ne cliquez pas sur le lien de confirmation ci-dessus. -SendinBlue
Si vous recevez cet email par erreur, vous pouvez simplement le supprimer. Vous ne serez pas inscrit à la newsletter si vous ne cliquez pas sur le lien de confirmation ci-dessus. -Sendinblue
16 changes: 8 additions & 8 deletions mailin/inc/templates/test/temp.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<tr>
<td align="" valign="middle">
<h1 style="margin:0;color:#2f8bee;font-family:arial,sans-serif">
<img alt="SendinBlue" src="http://img.sendinblue.com/14406/images/529f2339c6ece.png"></h1>
<img alt="Sendinblue" src="http://img.sendinblue.com/14406/images/529f2339c6ece.png"></h1>
</td>
</tr>
</tbody>
Expand All @@ -46,8 +46,8 @@ <h1 style="margin:0;color:#2f8bee;font-family:arial,sans-serif">
<td align="left">
<div style="font-family:arial,sans-serif;
color:#2f8bee; font-size:18px; font-weight:bold;
margin:0 0 10px 0;">This email has been sent using SendinBlue SMTP. <br />
Congratulations, your SendinBlue SMTP module has been set up well.
margin:0 0 10px 0;">This email has been sent using Sendinblue SMTP. <br />
Congratulations, your Sendinblue SMTP module has been set up well.
</div>
</td>
</tr>
Expand All @@ -71,7 +71,7 @@ <h1 style="margin:0;color:#2f8bee;font-family:arial,sans-serif">
<td align="right">
<div style="font-family:arial,sans-serif;
font-size:14px; color:#2f8bee; margin:0;
font-weight:bold; line-height:18px;"> SendinBlue Team</div>
font-weight:bold; line-height:18px;"> Sendinblue Team</div>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -110,7 +110,7 @@ <h1 style="margin:0;color:#2f8bee;font-family:arial,sans-serif">
<tr>
<td align="left" valign="top" width="200">
<div style="font-family:arial,sans-serif; font-size:12px; margin:0; line-height:16px; color:#7e7e7e;">
<strong style="color:#2f8bee;">SendinBlue</strong></div>
<strong style="color:#2f8bee;">Sendinblue</strong></div>
<div style="font-family:arial,sans-serif; font-size:12px; margin:0; line-height:16px; color:#7e7e7e;">
118, rue de Tocqueville</div>
<div style="font-family:arial,sans-serif; font-size:12px; margin:0; line-height:16px; color:#7e7e7e;">
Expand All @@ -122,11 +122,11 @@ <h1 style="margin:0;color:#2f8bee;font-family:arial,sans-serif">
</td>
<td align="right" valign="top">
<div style="font-family:arial,sans-serif; font-size:12px; margin:0; line-height:20px; color:#7e7e7e;">
<a href="http://www.facebook.com/SendinBlue" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Facebook" src="https://my.sendinblue.com/public/upload/14406/images/523693143fe88.gif" style="border:none;"> </a> <a href="https://twitter.com/SendinBlue" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Twitter" src="https://my.sendinblue.com/public/upload/14406/images/5236931746c01.gif" style="border:none;"> </a> <a href="http://www.linkedin.com/company/mailin" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Linkedin" src="https://my.sendinblue.com/public/upload/14406/images/5236931ad253b.gif" style="border:none;"> </a> <a href="http://sendinblue.tumblr.com/" style="color:#2f8bee; text-decoration:none;" target="_blank">Blog</a></div>
<a href="http://www.facebook.com/Sendinblue" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Facebook" src="https://my.sendinblue.com/public/upload/14406/images/523693143fe88.gif" style="border:none;"> </a> <a href="https://twitter.com/Sendinblue" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Twitter" src="https://my.sendinblue.com/public/upload/14406/images/5236931746c01.gif" style="border:none;"> </a> <a href="http://www.linkedin.com/company/mailin" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Linkedin" src="https://my.sendinblue.com/public/upload/14406/images/5236931ad253b.gif" style="border:none;"> </a> <a href="http://sendinblue.tumblr.com/" style="color:#2f8bee; text-decoration:none;" target="_blank">Blog</a></div>
<div style="font-family:arial,sans-serif; font-size:10px; margin:0; line-height:14px; color:#7e7e7e;">
© 2013-2014 SendinBlue, all rights reserved.</div>
© 2013-2014 Sendinblue, all rights reserved.</div>
<div style="font-family:arial,sans-serif; font-size:10px; margin:0; line-height:14px; color:#7e7e7e;">
This is an automatic message generated by SendinBlue.</div>
This is an automatic message generated by Sendinblue.</div>
<div style="font-family:arial,sans-serif; font-size:10px; margin:0; line-height:14px; color:#7e7e7e;">
Do not respond, you wouldn't receive any answer.</div>
<div style="font-family:arial,sans-serif; font-size:10px; margin:0; line-height:14px; color:#7e7e7e;"><a href="https://www.sendinblue.com/legal/antispampolicy" style="color:#7e7e7e;" target="_blank">Anti-spam & emailing policy</a> | <a href="https://www.sendinblue.com/legal/generalterms" style="color:#7e7e7e;" target="_blank">General Terms and Conditions</a></div>
Expand Down
6 changes: 3 additions & 3 deletions mailin/inc/templates/test/temp.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
This email has been sent using SendinBlue SMTP.
Congratulation, your SendinBlue SMTP module has been set up well.
SendinBlue Team
This email has been sent using Sendinblue SMTP.
Congratulation, your Sendinblue SMTP module has been set up well.
Sendinblue Team
16 changes: 8 additions & 8 deletions mailin/inc/templates/test/temp_fr-FR.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<tr>
<td align="" valign="middle">
<h1 style="margin:0;color:#2f8bee;font-family:arial,sans-serif">
<img alt="SendinBlue" src="http://img.sendinblue.com/14406/images/529f2339c6ece.png"></h1>
<img alt="Sendinblue" src="http://img.sendinblue.com/14406/images/529f2339c6ece.png"></h1>
</td>
</tr>
</tbody>
Expand All @@ -46,8 +46,8 @@ <h1 style="margin:0;color:#2f8bee;font-family:arial,sans-serif">
<td align="left">
<div style="font-family:arial,sans-serif;
color:#2f8bee; font-size:18px; font-weight:bold;
margin:0 0 10px 0;">Cet e-mail a été envoyé via SendinBlue SMTP. <br />
Félicitations, la fonctionnalité SendinBlue SMTP est bien configurée.
margin:0 0 10px 0;">Cet e-mail a été envoyé via Sendinblue SMTP. <br />
Félicitations, la fonctionnalité Sendinblue SMTP est bien configurée.
</div>
</td>
</tr>
Expand All @@ -72,7 +72,7 @@ <h1 style="margin:0;color:#2f8bee;font-family:arial,sans-serif">
<div style="font-family:arial,sans-serif;
font-size:14px; color:#2f8bee; margin:0;
font-weight:bold; line-height:18px;"> L'&eacute;quipe
de SendinBlue
de Sendinblue
</div>
</td>
</tr>
Expand Down Expand Up @@ -112,7 +112,7 @@ <h1 style="margin:0;color:#2f8bee;font-family:arial,sans-serif">
<tr>
<td align="left" valign="top" width="200">
<div style="font-family:arial,sans-serif; font-size:12px; margin:0; line-height:16px; color:#7e7e7e;">
<strong style="color:#2f8bee;">SendinBlue</strong></div>
<strong style="color:#2f8bee;">Sendinblue</strong></div>
<div style="font-family:arial,sans-serif; font-size:12px; margin:0; line-height:16px; color:#7e7e7e;">
118, rue de Tocqueville</div>
<div style="font-family:arial,sans-serif; font-size:12px; margin:0; line-height:16px; color:#7e7e7e;">
Expand All @@ -124,12 +124,12 @@ <h1 style="margin:0;color:#2f8bee;font-family:arial,sans-serif">
</td>
<td align="right" valign="top">
<div style="font-family:arial,sans-serif; font-size:12px; margin:0; line-height:20px; color:#7e7e7e;">
<a href="http://www.facebook.com/SendinBlue" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Facebook" src="https://my.sendinblue.com/public/upload/14406/images/523693143fe88.gif" style="border:none;"> </a> <a href="https://twitter.com/SendinBlue" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Twitter" src="https://my.sendinblue.com/public/upload/14406/images/5236931746c01.gif" style="border:none;"> </a> <a href="http://www.linkedin.com/company/mailin" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Linkedin" src="https://my.sendinblue.com/public/upload/14406/images/5236931ad253b.gif" style="border:none;"> </a> <a href="http://sendinblue.tumblr.com/" style="color:#2f8bee; text-decoration:none;" target="_blank">Blog</a></div>
<div style="font-family:arial,sans-serif; font-size:10px; margin:0; line-height:14px; color:#7e7e7e;"> &copy; 2013-2014 SendinBlue, tous droits
<a href="http://www.facebook.com/Sendinblue" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Facebook" src="https://my.sendinblue.com/public/upload/14406/images/523693143fe88.gif" style="border:none;"> </a> <a href="https://twitter.com/Sendinblue" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Twitter" src="https://my.sendinblue.com/public/upload/14406/images/5236931746c01.gif" style="border:none;"> </a> <a href="http://www.linkedin.com/company/mailin" style="color:#2f8bee; text-decoration:none;" target="_blank"> <img alt="Linkedin" src="https://my.sendinblue.com/public/upload/14406/images/5236931ad253b.gif" style="border:none;"> </a> <a href="http://sendinblue.tumblr.com/" style="color:#2f8bee; text-decoration:none;" target="_blank">Blog</a></div>
<div style="font-family:arial,sans-serif; font-size:10px; margin:0; line-height:14px; color:#7e7e7e;"> &copy; 2013-2014 Sendinblue, tous droits
r&eacute;serv&eacute;s.
</div>
<div style="font-family:arial,sans-serif; font-size:10px; margin:0; line-height:14px; color:#7e7e7e;"> Ceci est un message automatique
g&eacute;n&eacute;r&eacute; par SendinBlue.
g&eacute;n&eacute;r&eacute; par Sendinblue.
</div>
<div style="font-family:arial,sans-serif; font-size:10px; margin:0; line-height:14px; color:#7e7e7e;"> Ne pas y r&eacute;pondre, vous ne
recevriez aucune r&eacute;ponse.
Expand Down
4 changes: 2 additions & 2 deletions mailin/inc/templates/test/temp_fr-FR.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Cet e-mail a été envoyé via sendinBlue SMTP.
Félicitation, votre module SendinBlue SMTP est bien configuré.
L'équipe de SendinBlue
Félicitation, votre module Sendinblue SMTP est bien configuré.
L'équipe de Sendinblue
Loading

0 comments on commit cc9fba8

Please sign in to comment.