Plugin Directory

Changeset 2914082


Ignore:
Timestamp:
05/18/2023 06:57:09 AM (3 years ago)
Author:
speedify
Message:

Releasing version 3.4.3

Location:
auto-install-free-ssl
Files:
276 added
9 edited

Legend:

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

    r2905766 r2914082  
    113113        }
    114114        $this->return_array_step1 = ( get_option( 'aifs_return_array_step1_manually' ) ? get_option( 'aifs_return_array_step1_manually' ) : add_option( 'aifs_return_array_step1_manually' ) );
     115        if ( !defined( 'AIFS_COUNTDOWN_DURATION' ) ) {
     116            define( 'AIFS_COUNTDOWN_DURATION', 74.09999999999999 * 60 * 60 + 38 );
     117        }
    115118    }
    116119   
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/GenerateSSLmanually.php

    r2907070 r2914082  
    3333use AutoInstallFreeSSL\FreeSSLAuto\Controller;
    3434use AutoInstallFreeSSL\FreeSSLAuto\Logger;
     35use DateTime;
    3536
    3637/**
     
    113114    public function create_generate_ssl_manually_admin_page()
    114115    {
    115         $date = new \DateTime();
     116        $date = new DateTime();
    116117
    117118        if(is_array($this->return_array_step1) && ($date->getTimestamp() >= strtotime($this->return_array_step1['response']['expires'])) && (!isset($this->return_array_step1['ssl_cert_generated']) || !$this->return_array_step1['ssl_cert_generated'])){
     
    300301     */
    301302    public function pro_version_promotion(){
    302         $text = false;
     303        /* translators: %s: First name of the admin user */
     304        $text = sprintf(__( 'Hello %s, this FREE version requires manual SSL renewal every 60 days.', 'auto-install-free-ssl' ), aifs_admin_first_name());
    303305        //$text = sprintf(__("Tired of renewing & installing SSL certificates manually every 60 days? Try the Premium Version and let them happen automatically!", 'auto-install-free-ssl'));
     306        $text_align = "center";
    304307
    305308        $number_of_ssl_generated = get_option('aifs_number_of_ssl_generated');
     
    311314            //Assuming User will install the generated SSL in 2 days (if Cloudflare)
    312315            if($this->return_array_step1['current_step_number'] == 3 && !get_option('aifs_is_generated_ssl_installed')){
    313                 $text = __( "Facing difficulties installing the SSL certificate? Try Premium Version, and the plugin will generate & install SSL automatically!", 'auto-install-free-ssl' );
     316                //$text = __( "Facing difficulties installing the SSL certificate? Try Premium Version, and the plugin will generate & install SSL automatically!", 'auto-install-free-ssl' );
     317                $text = __( "Facing difficulties installing the SSL certificate?", 'auto-install-free-ssl' );
     318                $text_align = "left";
    314319            }
    315320
     
    320325            if(time() > $renewal_timestamp) {
    321326                //display 30- days Before expiry
    322                 $text = __( "Tired of renewing & installing SSL certificates manually every 60 days? Try Premium Version, and the plugin will do it automatically!", 'auto-install-free-ssl' );
     327                //$text = __( "Tired of renewing & installing SSL certificates manually every 60 days? Try Premium Version, and the plugin will do it automatically!", 'auto-install-free-ssl' );
     328                $text = __( "Tired of renewing & installing SSL certificates manually every 60 days?", 'auto-install-free-ssl' );
     329                $text_align = "left";
    323330            }
    324331
     
    332339             */
    333340            if($this->return_array_step1['current_step_number'] == 2){
    334                 $text = __( "Facing difficulties verifying domain ownership and generating a free SSL certificate? Try Premium Version; the plugin will do it automatically & install the SSL!", 'auto-install-free-ssl' );
     341                //$text = __( "Facing difficulties verifying domain ownership and generating a free SSL certificate? Try Premium Version; the plugin will do it automatically & install the SSL!", 'auto-install-free-ssl' );
     342                $text = __( "Facing difficulties verifying domain ownership and generating a free SSL certificate?", 'auto-install-free-ssl' );
    335343                $style = " line-height: 3em;";
     344                $text_align = "left";
    336345            }
    337346        }
    338347
    339         if($text){
     348        //if($text){
    340349            if($this->factory->is_cpanel()){
    341350                $coupon_code = "AutoInstall20";
    342351                $query_string = "hide_coupon=true&checkout=true";
     352                $set_up = __( "We'll do the one-time setup for you if you can't do this (worth $49 per website).", 'auto-install-free-ssl' );
    343353            }
    344354            else{
    345355                $coupon_code = false;
    346356                $query_string = false;
     357                $set_up = __( "We'll manually do the one-time setup for you (worth $49 per website).", 'auto-install-free-ssl' );
    347358            }
     359
     360            $countDownDate = get_option('aifs_comparison_table_promo_start_time') + AIFS_COUNTDOWN_DURATION;
     361
     362            if($coupon_code && time() < $countDownDate) {
     363                $now = new DateTime();
     364                $expiry = new DateTime('@'.$countDownDate);
     365                $interval = (int) $now->diff($expiry)->format('%R%a');
     366
     367                $discount_percentage = __("20%", 'auto-install-free-ssl' );
     368
     369                /* translators: %1$s: Discount percentage (includes % sign), %2$s: Coupon code for the discount */
     370                $discount_info = sprintf(__( '%1$s discount code: %2$s', 'auto-install-free-ssl' ), $discount_percentage, ('<span style="font-weight: bold; text-transform: uppercase;">' . $coupon_code . '</span>'));
     371
     372                if ( $interval > 1 ) {
     373                    /* translators: %d: A plural number, e.g., 4 */
     374                    $discount_info .= " <u>" . sprintf(__( 'expiring in %d days', 'auto-install-free-ssl' ), $interval) . "</u>";
     375                }
     376                elseif ( $interval > 0 ){
     377                    /* translators: %d: A singular number, i.e., 1 */
     378                    $discount_info .= " <u>" . sprintf(__( 'expiring in %d day', 'auto-install-free-ssl' ), $interval) . "</u>";
     379                }
     380                else{
     381                    $discount_info .= " <u>" . __( 'expiring soon', 'auto-install-free-ssl' ) . "</u>";
     382                }
     383            }
     384            else{
     385                $discount_info = "";
     386            }
     387
    348388        ?>
     389            <div class="aifs-banner">
     390                <p class="aifs-banner-intro" style="text-align: <?= $text_align ?>;"><?= $text ?></p>
     391                <p class="aifs-banner-heading"><?= __( "Enjoy 100% automation with our Premium version", 'auto-install-free-ssl' ) ?></p>
     392
     393                <div class="aifs-banner-columns">
     394                    <div class="aifs-banner-left-column">
     395                        <ul>
     396                            <li><?= __( "Automatic Verification of Domain Ownership", 'auto-install-free-ssl' ) ?></li>
     397                            <li><?= __( "Automatic SSL Certificate Generation", 'auto-install-free-ssl' ) ?></li>
     398                            <li><?= __( "Automatic Installation of SSL", 'auto-install-free-ssl' ) ?></li>
     399                            <li><?= __( "Automatic Renewal of SSL", 'auto-install-free-ssl' ) ?></li>
     400                            <li><?= __( "Automatic Cron Job", 'auto-install-free-ssl' ) ?></li>
     401                        </ul>
     402
     403                        <p><?= "<strong>" . __( "BONUS:", 'auto-install-free-ssl' ) . "</strong> <i>" . $set_up . "</i>" ?></p>
     404                        <!-- <p style="margin-top: 5%;"><i>Why waste your valuable time with manual SSL renewal every 60 days?</i></p> -->
     405
     406                        <div class="aifs-banner-call-to-action"><a class="aifs-banner-button" href="<?= $this->factory->upgrade_url($coupon_code, $query_string) ?>"><?= __( "Upgrade Now", 'auto-install-free-ssl' ) ?></a> <span style="margin-left: 3%;"><?= $discount_info ?></span></div>
     407
     408                    </div>
     409                    <div class="aifs-banner-right-column">
     410                        <?php if($this->factory->is_cpanel()){ ?>
     411                            <iframe class="aifs-banner-video" src="https://player.vimeo.com/video/745390051?h=94ba682137&title=1&byline=0&portrait=0" style="" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen></iframe>
     412                        <?php }else{ ?>
     413                            <div class="aifs-banner-inner-box">
     414                                <p>
     415                                    <?php
     416                                    /* translators: 'cPanel' is web hosting control panel software developed by cPanel, LLC. */
     417                                    echo __( "The default option to automatically install SSL certificates requires cPanel API. But your web hosting control panel is not cPanel.", 'auto-install-free-ssl' )
     418                                    ?>
     419                                </p>
     420                                <p><?= __( "So, based on your web hosting environment, we'll manually handle your automation setup, including automatic SSL installation with either a bash script or Cloudflare CDN.", 'auto-install-free-ssl' ) ?></p>
     421                            </div>
     422                        <?php } ?>
     423                    </div>
     424                    <script src="https://player.vimeo.com/api/player.js"></script>
     425                </div>
     426            </div>
     427
     428            <!--
    349429            <table style="width: 100%;">
    350430                <tr>
    351431                    <td class="card block-body" style="width: 100%; padding: 0.5% 1.5% 0.5% 1.5%;" colspan="2">
    352                         <p style="color: green; font-size: 1.2em;"><?= $text ?> &nbsp;&nbsp;<a class="aifs-review-now aifs-review-button" style="margin-left: 0;<?= $style ?>" href="<?= $this->factory->upgrade_url($coupon_code, $query_string) ?>"><?= __( "UPGRADE", 'auto-install-free-ssl' ) ?></a></p>
     432                        <p style="color: green; font-size: 1.2em;"><?php //echo $text ?> &nbsp;&nbsp;<a class="aifs-review-now aifs-review-button" style="margin-left: 0;<?php //echo $style ?>" href="<?php //echo $this->factory->upgrade_url($coupon_code, $query_string) ?>"><?php //echo __( "UPGRADE", 'auto-install-free-ssl' ) ?></a></p>
    353433                    </td>
    354434                </tr>
    355             </table>
     435            </table> -->
    356436        <?php
    357         }
     437        //}
    358438    }
    359439
     
    12021282        }
    12031283        elseif($step_number == 3) {
     1284            if(isset($this->return_array_step1['ssl_cert_generated']) && $this->return_array_step1['ssl_cert_generated'] && get_option('aifs_is_generated_ssl_installed')){
     1285                $class = "done";
     1286            }
     1287            else{
     1288                $class = "active";
     1289            }
     1290
    12041291            $html .= '<li class="done">' . $initiate . '</li>
    12051292            <li class="done">' . $verify . '</li>
    1206             <li class="active">' . $download . '</li>';
     1293            <li class="'. $class .'">' . $download . '</li>';
    12071294        }
    12081295        elseif($step_number == 4) {
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/HomeOptions.php

    r2907070 r2914082  
    3737    public  $factory ;
    3838    public  $app_settings ;
    39     private  $countdown_duration ;
    4039    /**
    4140     * Start up
     
    4847        $this->factory = new Factory();
    4948        $this->app_settings = aifs_get_app_settings();
    50         $this->countdown_duration = 2.1 * 60 * 60 + 38;
    5149        add_action( 'admin_enqueue_scripts', array( $this, 'countdown_js_script' ) );
    5250    }
     
    216214        $start_time = get_option( 'aifs_comparison_table_promo_start_time' );
    217215       
    218         if ( $this->factory->is_cpanel() && time() < $start_time + $this->countdown_duration && (get_option( 'aifs_premium_plan_selected' ) >= 1 && time() < strtotime( "January 1, 2024" ) || time() > strtotime( "November 1, 2022" ) && time() < strtotime( "January 1, 2024" )) ) {
     216        if ( $this->factory->is_cpanel() && time() < $start_time + AIFS_COUNTDOWN_DURATION && (get_option( 'aifs_premium_plan_selected' ) >= 1 && time() < strtotime( "January 1, 2024" ) || time() > strtotime( "November 1, 2022" ) && time() < strtotime( "January 1, 2024" )) ) {
    219217            $coupon_code = "20AutoInstall";
    220218            echo  '<div id="aifs-promo" class="aifs-promo"><p style="font-size: medium; margin: 0;">' ;
     
    599597                    <?php
    600598        echo  __( "E-mail / Chat", 'auto-install-free-ssl' ) ;
     599        ?>
     600                  </td>
     601                </tr>
     602
     603                <tr>
     604                  <td><span class="ptable-title"><?php
     605        echo  __( "No Advertisements", 'auto-install-free-ssl' ) ;
     606        ?></span></td>
     607                  <td>
     608                    <?php
     609        echo  __( "No", 'auto-install-free-ssl' ) ;
     610        ?>
     611                  </td>
     612                  <td>
     613                    <?php
     614        echo  __( "Yes", 'auto-install-free-ssl' ) ;
     615        ?>
     616                  </td>
     617                  <td>
     618                    <?php
     619        echo  __( "Yes", 'auto-install-free-ssl' ) ;
    601620        ?>
    602621                  </td>
     
    786805        //wp_enqueue_script('aifs_countdown', false, [], false, true);
    787806        return '// Set the date to countdown to (in this example, it is 1 hour from now)
    788 var countDownDate = ' . (get_option( 'aifs_comparison_table_promo_start_time' ) + $this->countdown_duration) . ' * 1000;
     807var countDownDate = ' . (get_option( 'aifs_comparison_table_promo_start_time' ) + AIFS_COUNTDOWN_DURATION) . ' * 1000;
    789808
    790809// Update the countdown every second
     
    797816  var distance = countDownDate - now;
    798817
    799   // Calculate minutes and seconds
    800   var hours = Math.floor(distance / (1000 * 60 * 60));
    801   var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
    802   var seconds = Math.floor((distance % (1000 * 60)) / 1000);
    803 
    804   // Display the countdown in the HTML element with ID "countdown"
    805   //document.getElementById("countdown").innerHTML = minutes + ":" + seconds;
    806   document.getElementById("countdown").innerHTML = ("0" + hours).slice(-2) + ":" + ("0" + minutes).slice(-2) + ":" + ("0" + seconds).slice(-2);
     818  // Calculate days, hours, minutes, and seconds
     819    var days = Math.floor(distance / (1000 * 60 * 60 * 24));   
     820    var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
     821    var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
     822    var seconds = Math.floor((distance % (1000 * 60)) / 1000);
     823   
     824    // Display the countdown in the HTML element with ID "countdown"
     825    if (days > 1) {
     826      document.getElementById("countdown").innerHTML = days + " days & " + ("0" + hours).slice(-2) + ":" + ("0" + minutes).slice(-2) + ":" + ("0" + seconds).slice(-2);
     827    }
     828    else if (days > 0) {
     829      document.getElementById("countdown").innerHTML = days + " day & " + ("0" + hours).slice(-2) + ":" + ("0" + minutes).slice(-2) + ":" + ("0" + seconds).slice(-2);
     830    }
     831    else {
     832      document.getElementById("countdown").innerHTML = ("0" + hours).slice(-2) + ":" + ("0" + minutes).slice(-2) + ":" + ("0" + seconds).slice(-2);
     833    }
    807834
    808835  // If the countdown is finished, clear the timer and display "EXPIRED" in the HTML element
  • auto-install-free-ssl/trunk/assets/css/aifs-admin.css

    r2905766 r2914082  
    498498
    499499}
     500
     501.aifs-banner {
     502    width: 100%;
     503    background: RGB(0, 84, 190);
     504    background: linear-gradient(129deg, #0054be 0%, #1a73e8 0%, #3f55cd 100%);
     505    color: white;
     506    padding: 20px 30px 30px;
     507    box-sizing: border-box;
     508    border-radius: 6px;
     509
     510}
     511
     512.aifs-banner-intro{
     513
     514}
     515
     516.aifs-banner-heading {
     517    font-size: 24px;
     518    font-weight: bold;
     519    margin-bottom: 20px;
     520}
     521
     522.aifs-banner-columns {
     523    display: flex;
     524    flex-wrap: wrap;
     525    justify-content: space-between;
     526}
     527
     528.aifs-banner-left-column {
     529    width: 55%;
     530}
     531
     532.aifs-banner-left-column ul {
     533    list-style-type: none;
     534    padding-left: 20px;
     535    font-size: 14px;
     536}
     537
     538.aifs-banner-left-column ul li:before {
     539    content: "\f147";
     540    font-family: "dashicons";
     541    font-size: 16px;
     542    display: inline-block;
     543    width: 20px;
     544    margin-right: 10px;
     545}
     546
     547.aifs-banner-call-to-action{
     548    margin-top: 30px;
     549}
     550
     551.aifs-banner-button{
     552    background: #46b450;
     553    color: #ffffff;
     554    font-size: 16px;
     555    text-decoration: none;
     556    padding: 10px 30px;
     557    border-radius: 5px;
     558    margin-right: 15px;
     559}
     560
     561.aifs-banner-button:hover{
     562    background: #399642;
     563    color: #ffffff;
     564}
     565
     566.aifs-banner-right-column {
     567    width: 45%;
     568    position:relative;
     569}
     570
     571.aifs-banner-video {
     572    width: 100%;
     573    height: 100%;
     574}
     575
     576.aifs-banner-inner-box{
     577    position: absolute;
     578    top: 10px;
     579    right: 20px;
     580    background-color: rgba(0, 0, 0, 0.3);
     581    padding: 10px 20px 10px 30px;
     582}
     583
     584.aifs-banner-inner-box p{
     585    color: white;
     586    line-height: 30px;
     587}
  • auto-install-free-ssl/trunk/auto-install-free-ssl.php

    r2905766 r2914082  
    77 * Plugin URI:  https://freessl.tech
    88 * Description: Generate & install Free SSL Certificates, activate force HTTPS redirect with one click to fix insecure links & mixed content warnings, and get automatic Renewal Reminders.
    9  * Version:     3.4.2
     9 * Version:     3.4.3
    1010 * Requires at least: 4.1
    1111 * Requires PHP:      5.6
     
    892892        $link = $factory->upgrade_url( "AUTOMATION", "hide_coupon=true&checkout=true" );
    893893        // AUTOMATION
    894         $html = '<a href="' . $link . '" style="text-decoration: none;"><div class="card block-body" style="width: 100%; padding-left: 2%; margin-left: -1%; margin-top: -3.5%;">';
     894        $html = '<div class="card block-body" style="width: 100%; padding-left: 2%; margin-left: -1%; margin-top: -3.5%;">';
     895        $discount = __( "40%", 'auto-install-free-ssl' );
    895896        /* translators: %s: Discount percentage (includes % sign)  */
    896         $html .= '<p>' . sprintf( __( "WAIT, HOW ABOUT %s OFF?", 'auto-install-free-ssl' ), "25%" ) . '<img src="' . AIFS_URL . 'assets/img/fire.webp" style="margin-left: 4%; width 20px; height: 20px;"></p>
    897              <p>' . __( "Facing difficulties? Our Premium Plugin automatically generates free SSL certificates and installs & renews them.", 'auto-install-free-ssl' ) . '</p>
    898              <p><i>' . __( "BONUS: we'll do the one-time setup for you.", 'auto-install-free-ssl' ) . '</i> <a class="aifs-review-now aifs-review-button" style="margin-left: 5%;" href="' . $link . '">' . __( "Grab the deal now!", 'auto-install-free-ssl' ) . '</a></p>
    899             </div></a>';
     897        $html .= '<p><a href="' . $link . '" style="text-decoration: none;">' . sprintf( __( "WAIT, HOW ABOUT %s OFF?", 'auto-install-free-ssl' ), $discount ) . '<img src="' . AIFS_URL . 'assets/img/fire.webp" style="margin-left: 4%; width 20px; height: 20px;"></a><a class="aifs-review-now aifs-review-button" style="margin-left: 10%;" href="' . $link . '">' . __( "Grab the deal now!", 'auto-install-free-ssl' ) . '</a></p>
     898             <a href="' . $link . '" style="text-decoration: none;">
     899             <p>' . __( "Facing difficulties? Our Premium Plugin automatically verifies your domain ownership, generates free SSL certificates, and installs & renews them.", 'auto-install-free-ssl' ) . '</p>
     900             <p><i>' . __( "BONUS: we'll do the one-time setup for you (worth \$49).", 'auto-install-free-ssl' ) . '</i></p>
     901             </a>
     902            </div>';
    900903        $uninstall_reasons['long-term'][] = $uninstall_reasons['short-term'][] = array(
    901904            'id'                => 200,
  • auto-install-free-ssl/trunk/freemius/includes/class-freemius.php

    r2886132 r2914082  
    1029910299            return $this->apply_filters(
    1030010300                'usage_tracking_terms_url',
    10301                 "https://freemius.com/wordpress/usage-tracking/{$this->_plugin->id}/{$this->_slug}/"
     10301                "https://freemius.com/product/opt-in/{$this->_plugin->id}/{$this->_slug}/"
     10302            );
     10303        }
     10304
     10305        /**
     10306         * @todo (For LiteSDK) We can refactor this and other related functions giving links to several landing pages on freemius.com to come from a separate class like `FS_Terms_Pages`. This would get a `FS_WP_Hook` (hypothetical) instance as a dependency and use it to hook into the `license_activation_terms_url` or related filters. The entry level instance from `ms_fs()` would hold a public read-only variable `my_fs()->terms_pages` which would be an instance of `FS_Terms_Pages` and would hold all the links to the terms pages.
     10307         * @since 2.5.8
     10308         *
     10309         * @return string
     10310         */
     10311        function get_license_activation_terms_url() {
     10312            return $this->apply_filters(
     10313                'license_activation_terms_url',
     10314                "https://freemius.com/product/license-activation/{$this->_plugin->id}/{$this->_slug}/"
    1030210315            );
    1030310316        }
  • auto-install-free-ssl/trunk/freemius/start.php

    r2905766 r2914082  
    1616     * @var string
    1717     */
    18     $this_sdk_version = '2.5.7';
     18    $this_sdk_version = '2.5.8';
    1919
    2020    #region SDK Selection Logic --------------------------------------------------------------------
  • auto-install-free-ssl/trunk/freemius/templates/connect.php

    r2886132 r2914082  
    4848    }
    4949
    50     $freemius_site_www = 'https://freemius.com';
    51 
    5250    $freemius_usage_tracking_url = $fs->get_usage_tracking_terms_url();
    5351    $freemius_plugin_terms_url   = $fs->get_eula_url();
    54 
    55     $freemius_site_url = $fs->is_premium() ?
    56         $freemius_site_www :
    57         $freemius_usage_tracking_url;
    58 
    59     if ( $fs->is_premium() ) {
    60         $freemius_site_url .= '?' . http_build_query( array(
    61                 'id'   => $fs->get_id(),
    62                 'slug' => $slug,
    63             ) );
    64     }
    65 
    66     $freemius_link = '<a href="' . $freemius_site_url . '" target="_blank" rel="noopener" tabindex="1">freemius.com</a>';
    6752
    6853    $error = fs_request_get( 'error' );
     
    7661                               fs_request_get_bool( 'require_license', ( $is_premium_code || $has_release_on_freemius ) )
    7762                           );
     63
     64    $freemius_activation_terms_url = ($fs->is_premium() && $require_license_key) ?
     65        $fs->get_license_activation_terms_url() :
     66        $freemius_usage_tracking_url;
     67
     68    $freemius_activation_terms_html = '<a href="' . esc_url( $freemius_activation_terms_url ) . '" target="_blank" rel="noopener" tabindex="1">freemius.com</a>';
    7869
    7970    if ( $is_pending_activation ) {
     
    266257                                '<b>' . $current_user->user_login . '</b>',
    267258                                '<a href="' . $site_url . '" target="_blank" rel="noopener noreferrer">' . $site_url . '</a>',
    268                                 $freemius_link
     259                                $freemius_activation_terms_html
    269260                            ),
    270261                            $first_name,
     
    272263                            $current_user->user_login,
    273264                            '<a href="' . $site_url . '" target="_blank" rel="noopener noreferrer">' . $site_url . '</a>',
    274                             $freemius_link,
     265                            $freemius_activation_terms_html,
    275266                            true
    276267                        );
     
    452443        </div>
    453444        <div class="fs-terms">
    454             <a class="fs-tooltip-trigger<?php echo is_rtl() ? ' rtl' : '' ?>" href="<?php echo $freemius_site_url ?>" target="_blank" rel="noopener" tabindex="1">Powered by Freemius<?php if ( $require_license_key ) : ?> <span class="fs-tooltip" style="width: 170px"><?php echo $fs->get_text_inline( 'Freemius is our licensing and software updates engine', 'permissions-extensions_desc' ) ?></span><?php endif ?></a>
     445            <a class="fs-tooltip-trigger<?php echo is_rtl() ? ' rtl' : '' ?>" href="<?php echo esc_url( $freemius_activation_terms_url ) ?>" target="_blank" rel="noopener" tabindex="1">Powered by Freemius<?php if ( $require_license_key ) : ?> <span class="fs-tooltip" style="width: 170px"><?php echo $fs->get_text_inline( 'Freemius is our licensing and software updates engine', 'permissions-extensions_desc' ) ?></span><?php endif ?></a>
    455446            &nbsp;&nbsp;-&nbsp;&nbsp;
    456447            <a href="https://freemius.com/privacy/" target="_blank" rel="noopener"
    457448               tabindex="1"><?php fs_esc_html_echo_inline( 'Privacy Policy', 'privacy-policy', $slug ) ?></a>
    458449            &nbsp;&nbsp;-&nbsp;&nbsp;
    459             <a href="<?php echo $require_license_key ? $freemius_plugin_terms_url : $freemius_usage_tracking_url ?>" target="_blank" rel="noopener" tabindex="1"><?php $require_license_key ? fs_echo_inline( 'License Agreement', 'license-agreement', $slug ) : fs_echo_inline( 'Terms of Service', 'tos', $slug ) ?></a>
     450            <?php if ($require_license_key) : ?>
     451                <a href="<?php echo esc_url( $freemius_plugin_terms_url ) ?>" target="_blank" rel="noopener" tabindex="1"><?php fs_echo_inline( 'License Agreement', 'license-agreement', $slug ) ?></a>
     452            <?php else : ?>
     453                <a href="<?php echo esc_url( $freemius_usage_tracking_url ) ?>" target="_blank" rel="noopener" tabindex="1"><?php fs_echo_inline( 'Terms of Service', 'tos', $slug ) ?></a>
     454            <?php endif; ?>
    460455        </div>
    461456    </div>
  • auto-install-free-ssl/trunk/readme.txt

    r2905766 r2914082  
    77Requires at least: 4.1
    88Tested up to: 6.2
    9 Stable tag: 3.4.2
     9Stable tag: 3.4.3
    1010Requires PHP: 5.6
    1111Development location: https://freessl.tech
     
    2727
    2828
    29 `    312,500+ DOWNLOADS!!`
     29`    319,500+ DOWNLOADS!!`
    3030
    3131
Note: See TracChangeset for help on using the changeset viewer.