Plugin Directory

Changeset 2761904


Ignore:
Timestamp:
07/26/2022 03:43:37 PM (3 years ago)
Author:
wphosthub
Message:

0.1.0 - 2022-07-26

  • Small fix issue http_request_failed cURL error 28: Operation timed out after 5011 milliseconds with 0 bytes received (failed to import template)
  • Improvement on elementor single site preview
Location:
elekits
Files:
91 added
6 edited

Legend:

Unmodified
Added
Removed
  • elekits/trunk/README.txt

    r2758087 r2761904  
    66Tested up to: 6.0
    77Requires PHP: 7.4
    8 Stable tag: 0.0.9
     8Stable tag: 0.1.0
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3030
    3131== Changelog ==
     32
     33= 0.1.0 - 2022-07-26 =
     34* Small fix issue http_request_failed cURL error 28: Operation timed out after 5011 milliseconds with 0 bytes received (failed to import template)
     35* Improvement on elementor single site preview
    3236
    3337= 0.0.9 - 2022-07-18 =
  • elekits/trunk/admin/elementor/assets/css/admin.css

    r2753098 r2761904  
    17721772.single-site-preview {
    17731773    margin-right: 4em;
    1774     max-height: calc(100vh - 280px);
    17751774    height: 100vh;
    17761775    overflow-y: auto;
  • elekits/trunk/admin/elementor/assets/css/elementor-admin.css

    r2755956 r2761904  
    734734#elekits-sites-modal .theme-preview-block {
    735735    display: none;
    736     margin: 0 1.3%;
    737     margin-top: 10px;
     736    margin: 0 1.3% 1.3% 1.3%;
    738737}
    739738
     
    11521151#elekits-sites-modal .single-site-preview {
    11531152    margin-right: 0;
    1154     max-height: calc( 100vh - 160px );
    1155     //height: auto;
    1156     height: 550px;
     1153    max-height: 100%;
     1154    height: auto;
     1155    //height: 550px;
    11571156}
    11581157
  • elekits/trunk/admin/elementor/class-elekits-site.php

    r2758087 r2761904  
    203203            wp_send_json_success( $import_data );
    204204        }
     205        /**
     206         * Returns if the SSL of the store should be verified.
     207         *
     208         * @since  1.6.13
     209         * @return bool
     210         */
     211        private function verify_ssl() {
     212            return (bool) function_exists( 'is_ssl' ) ? is_ssl() : false;
     213        }
    205214        public function elekits_check_subscription($template_id = 0,$type_template='free',$url='')
    206215        {
     216            $verify_ssl = $this->verify_ssl();
    207217            $args = array(
    208218                'api_key' => apply_filters("elekits_pro_license_key",''),
    209219                'product_id' => apply_filters("elekits_pro_product_id",0),
    210220                'template_id' => $template_id,
    211                 'type_template' => $type_template,
    212                 'timeout' => 30
     221                'type_template' => $type_template
    213222            );
    214223
    215224            if(!empty($url)) {
    216225                $api_url = $url;
    217                 $request = wp_remote_post($api_url, array('body' => $args));
     226                $request = wp_remote_post($api_url, array('timeout' => 30,'sslverify' => $verify_ssl,'body' => $args));
    218227                if (is_wp_error($request) || wp_remote_retrieve_response_code($request) != 200) {
    219228                    return false;
  • elekits/trunk/admin/elementor/includes/templates.php

    r2754934 r2761904  
    592592                <div class="single-site">
    593593                    <div class="single-site-preview-wrap">
    594                         <div class="single-site-preview" style="max-height: {{wrap_height}};">
    595                             <!--                    <div class="single-site-preview">-->
    596                             <!--                        <iframe src="{{data['elekits-site-url']}}" style="width: 100%; height: 100%;"></iframe>-->
     594                        <div class="single-site-preview">
    597595                            <img class="theme-screenshot" data-src="" src="{{data['featured-image-url']}}">
    598596                        </div>
  • elekits/trunk/elekits.php

    r2758087 r2761904  
    1717 * Plugin URI:        https://wphosthub.com
    1818 * Description:       Responsive and high-converting Elementor landing page templates.
    19  * Version:           0.0.9
     19 * Version:           0.1.0
    2020 * Author:            WPhostHub
    2121 * Author URI:        https://profiles.wordpress.org/wphosthub/
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'ELEKITS_VERSION', '0.0.9' );
     38define( 'ELEKITS_VERSION', '0.1.0' );
    3939define( 'ELEKITS_FILE', __FILE__ );
    4040define( 'ELEKITS_DIR_PATH', plugin_dir_path( __FILE__ ) );
Note: See TracChangeset for help on using the changeset viewer.