Plugin Directory

Changeset 2850591


Ignore:
Timestamp:
01/18/2023 04:13:05 PM (3 years ago)
Author:
speedify
Message:

Releasing version 3.2.15

Location:
auto-install-free-ssl
Files:
272 added
5 edited

Legend:

Unmodified
Added
Removed
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/AdminNotice.php

    r2838971 r2850591  
    349349    {
    350350       
    351         if ( time() < strtotime( "January 11, 2023" ) ) {
     351        if ( time() < strtotime( "February 1, 2024" ) ) {
    352352            //Get the value of aifs_display_free_premium_offer
    353353            $display_announcement = get_option( 'aifs_display_discount_offer_existing_users' );
     
    398398                    '<a href="' . $link . '"' . (( aifs_is_free_version() ? '' : ' target="_blank"' )) . '>',
    399399                    '</a>',
    400                     '30%',
    401                     '<span style="color: green; font-weight: bold;">THANKYOU</span>'
     400                    ( time() < strtotime( "February 1, 2023" ) ? '30%' : '20%' ),
     401                    '<span style="color: green; font-weight: bold;">' . (( time() < strtotime( "February 1, 2023" ) ? 'THANKYOU' : 'THANKYOU20' )) . '</span>'
    402402                ) . '&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
    403403                $html .= '<span style="font-size: small; font-style: italic;">' . __( "The offer expires soon.", 'auto-install-free-ssl' ) . '</span></p>';
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Controller.php

    r2811237 r2850591  
    5959        foreach ( $domains_array_raw as $domain ) {
    6060           
    61             if ( !\in_array( $domain, $domains_to_exclude, true ) || $this->sslRequiredForFirstTime( $domain ) ) {
     61            if ( !(aifs_can_manage_multi_domain() && \in_array( $domain, $domains_to_exclude, true )) || $this->sslRequiredForFirstTime( $domain ) ) {
    6262                $domains_array[] = $domain;
    6363            } else {
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Email.php

    r2803941 r2850591  
    103103                $renew_url = admin_url( "admin.php?page=aifs_generate_ssl_manually" );
    104104                $renew_url = ( strpos( $renew_url, get_site_url() ) !== false ? $renew_url . "#ssl_renewal_form" : get_site_url() . "/wp-admin/admin.php?page=aifs_generate_ssl_manually#ssl_renewal_form" );
     105                $discount_percentage = "10%";
     106                $coupon_code = "10AutoInstallSSL";
     107                if ( aifs_is_existing_user() ) {
     108                   
     109                    if ( time() < strtotime( "February 1, 2023" ) ) {
     110                        $discount_percentage = "30%";
     111                        $coupon_code = "30ThankYou";
     112                    } elseif ( time() < strtotime( "February 1, 2024" ) ) {
     113                        $discount_percentage = "20%";
     114                        $coupon_code = "20ThankYou";
     115                    }
     116               
     117                }
    105118                $subject = "Your SSL certificate for " . $cert_array['subject']['CN'] . " ";
    106119               
     
    125138                $body .= "<p>" . sprintf( __( "%sClick here%s to Renew your SSL today.", 'auto-install-free-ssl' ), '<a href="' . $renew_url . '">', '</a>' ) . "</p>";
    126139                $body .= "<p>" . sprintf(
    127                     __( "%sDo you want automatic renewal every 60 days?%s %sClick here%s to upgrade now.", 'auto-install-free-ssl' ),
     140                    __( "%sDo you want automatic renewal every 60 days?%s %sClick here%s to upgrade to a premium license using this %s discount code: %s The offer expires soon.%s", 'auto-install-free-ssl' ),
    128141                    '<strong>',
    129142                    '</strong>',
    130143                    '<a href="' . aifssl_fs()->get_upgrade_url() . '">',
    131                     '</a>'
     144                    '</a>',
     145                    $discount_percentage,
     146                    '<span style="color: green; font-weight: bold; text-transform: uppercase;">' . $coupon_code . '</span><br /><span style="font-style: italic;">',
     147                    '</span>'
    132148                ) . "</p>";
    133149                $body .= "<p>" . __( "Please ignore this email if you have renewed the SSL certificate already.", 'auto-install-free-ssl' ) . "</p>";
     
    178194    public function add_email_signature()
    179195    {
    180         $html = "This is a system generated email from your website.<br />\n        Do not reply to this automated email.<br /><br />\n        --------------<br />\n        Regards,<br />\n        Team <strong>" . AIFS_NAME . "</strong><br />\n        Powered by <a href='https://getwww.me'>GetWWW.me</a> (Beautiful WordPress website design service) and <a href='https://speedify.tech/wordpress-website-speed-optimization-service'>SpeedUpWebsite.info</a> (WordPress website speed optimization service)<br />";
     196        $html = "This is a system generated email from your website.<br />\n        Do not reply to this automated email.<br /><br />\n        --------------<br />\n        Regards,<br />\n        Team <a href='https://freessl.tech/free-ssl-certificate-for-wordpress-website' target='_blank' style='font-weight: bold;'>" . AIFS_NAME . "</a><br />";
     197        //$html .= "Powered by <a href='https://getwww.me'>GetWWW.me</a> (Beautiful WordPress website design service) and <a href='https://speedify.tech/wordpress-website-speed-optimization-service'>SpeedUpWebsite.info</a> (WordPress website speed optimization service)<br />";
    181198        return $html;
    182199    }
  • auto-install-free-ssl/trunk/auto-install-free-ssl.php

    r2838971 r2850591  
    77 * Plugin URI:  https://freessl.tech
    88 * Description: Generate & install Free SSL Certificate, activate force HTTPS redirect with one click, fix insecure links & mixed content warning and get the PADLOCK in the browser’s address bar.
    9  * Version:     3.2.14
     9 * Version:     3.2.15
    1010 * Requires at least: 4.1
    1111 * Requires PHP:      5.6
     
    770770
    771771/**
     772 * Check if the user can use wildcard SSL
     773 * @return bool
     774 * @since 3.2.15
     775 */
     776function aifs_use_wildcard()
     777{
     778    //For free version always return false
     779    return false;
     780}
     781
     782/**
    772783 * CSS style for Powered by text
    773784 * @return string
  • auto-install-free-ssl/trunk/readme.txt

    r2838971 r2850591  
    77Requires at least: 4.1
    88Tested up to: 6.1
    9 Stable tag: 3.2.14
     9Stable tag: 3.2.15
    1010Requires PHP: 5.6
    1111Development location: https://freessl.tech
     
    2727
    2828
    29 `    267,500+ DOWNLOADS!!`
     29`    275,500+ DOWNLOADS!!`
    3030
    3131
     
    335335== Changelog ==
    336336
     337= 3.2.15 =
     338* Updated the signature of the automated emails.
     339* Updated display announcement.
     340* [Pro] New function to detect if the user can use wildcard SSL.
     341* [Pro] Improvement in code to smooth transition from free premium license (if the user was using wildcard SSL or multi-domain mode) to single or 5-site license.
     342
    337343= 3.2.14 =
    338344* Added a new function to fetch the admin user's last name.
Note: See TracChangeset for help on using the changeset viewer.