Plugin Directory

Changeset 3441588


Ignore:
Timestamp:
01/17/2026 01:37:31 PM (8 weeks ago)
Author:
elementinvader
Message:

update

Location:
elementinvader
Files:
120 added
7 edited

Legend:

Unmodified
Added
Removed
  • elementinvader/trunk/README.txt

    r3382908 r3441588  
    44Tags: template kits, elementor templates, elementor addon, elementor addons, elementor
    55Requires at least: 5.6
    6 Tested up to: 6.8
    7 Stable tag: 1.2.4
     6Tested up to: 6.9
     7Stable tag: 1.2.5
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7979== Changelog ==
    8080
     81= 1.2.5 =
     82* Security improvements
     83
     84= 1.2.4 =
     85* Php compatibility issues
     86
    8187= 1.2.3 =
    8288* Redesign
  • elementinvader/trunk/application/controllers/Elementinvader.php

    r2951347 r3441588  
    5050    public function import_pages()
    5151    {       
     52
     53        if ( ! current_user_can( 'administrator' ) ) {
     54            exit();
     55        }
     56       
     57        check_ajax_referer('elementinvader_secure_install', 'elementinvader_secure');
     58
    5259        //ob_clean();
    5360        $results = array();
    5461        $results['status'] = 'success';
    5562
    56         $template = $this->input->post_get('template');
    57         $page_title = $this->input->post_get('page_title');
     63        $template = sanitize_text_field($this->input->post_get('template'));
     64        $page_title = sanitize_text_field($this->input->post_get('page_title'));
    5865        $template_title = elementinvader_template_data($template, 'title');
    5966
     
    200207    {       
    201208
     209        if ( ! current_user_can( 'administrator' ) ) {
     210            exit();
     211        }
     212       
     213        check_ajax_referer('elementinvader_secure_install', 'elementinvader_secure');
     214       
    202215        ob_clean();
    203216       
  • elementinvader/trunk/application/views/elementinvader/index.php

    r2951347 r3441588  
    126126        // Assign handlers immediately after making the request,
    127127        // and remember the jqxhr object for this request
    128         var jqxhr = $.post( "<?php echo admin_url('admin-ajax.php?action=elementinvader_action&function=import_pages&page=elementinvader'); ?>", data_form, function(data) {
     128        var jqxhr = $.post( "<?php echo admin_url('admin-ajax.php?action=elementinvader_action&function=import_pages&page=elementinvader&elementinvader_secure='.wp_create_nonce( 'elementinvader_secure_install' )); ?>", data_form, function(data) {
    129129       
    130130            if(data.status == 'success')
     
    171171        // Assign handlers immediately after making the request,
    172172        // and remember the jqxhr object for this request
    173         var jqxhr = $.post( "<?php echo admin_url('admin-ajax.php?action=elementinvader_action&function=add_page&page=elementinvader'); ?>", data_form, function(data) {
     173        var jqxhr = $.post( "<?php echo admin_url('admin-ajax.php?action=elementinvader_action&function=add_page&page=elementinvader&elementinvader_secure='.wp_create_nonce( 'elementinvader_secure_install' )); ?>", data_form, function(data) {
    174174           
    175175            if(data.status == 'success')
  • elementinvader/trunk/application/views/elementinvader/install_plugins.php

    r2951347 r3441588  
    285285        // Assign handlers immediately after making the request,
    286286        // and remember the jqxhr object for this request
    287         var jqxhr = $.post( "<?php echo admin_url('admin-ajax.php?action=elementinvader_action&function=add_page&page=elementinvader'); ?>", data_form, function(data) {
     287        var jqxhr = $.post( "<?php echo admin_url('admin-ajax.php?action=elementinvader_action&function=add_page&page=elementinvader&elementinvader_secure='.wp_create_nonce( 'elementinvader_secure_install' )); ?>", data_form, function(data) {
    288288           
    289289            if(data.status == 'success')
  • elementinvader/trunk/application/views/elementinvader/install_plugins_all.php

    r2951347 r3441588  
    244244        // Assign handlers immediately after making the request,
    245245        // and remember the jqxhr object for this request
    246         var jqxhr = $.post( "<?php echo admin_url('admin-ajax.php?action=elementinvader_action&function=import_pages&page=elementinvader'); ?>", data_form, function(data) {
     246        var jqxhr = $.post( "<?php echo admin_url('admin-ajax.php?action=elementinvader_action&function=import_pages&page=elementinvader&elementinvader_secure='.wp_create_nonce( 'elementinvader_secure_install' )); ?>", data_form, function(data) {
    247247       
    248248            if(data.status == 'success')
  • elementinvader/trunk/application/views/elementinvader_marketplace/index.php

    r2951347 r3441588  
    330330        // Assign handlers immediately after making the request,
    331331        // and remember the jqxhr object for this request
    332         var jqxhr = $.post( "<?php echo admin_url('admin-ajax.php?action=elementinvader_action&function=add_page&page=elementinvader'); ?>", data_form, function(data) {
     332        var jqxhr = $.post( "<?php echo admin_url('admin-ajax.php?action=elementinvader_action&function=add_page&page=elementinvader&elementinvader_secure='.wp_create_nonce( 'elementinvader_secure_install' )); ?>", data_form, function(data) {
    333333           
    334334            if(data.login_message)
  • elementinvader/trunk/elementinvader.php

    r3382906 r3441588  
    1717 * Plugin URI:        https://elementinvader.com
    1818 * Description:       ElementInvader offers premium library of one click ready and free Elementor templates from https://elementinvader.com/ service.
    19  * Version:           1.2.4
     19 * Version:           1.2.5
    2020 * Author:            ElementInvader
    2121 * Author URI:        https://elementinvader.com
     
    2525 * Domain Path:       /languages
    2626 *
    27  * Elementor tested up to: 3.15.2
     27 * Elementor tested up to: 3.29.0
    2828 * Elementor Pro tested up to: 3.16.2
    2929 *
     
    4141 * Rename this for your plugin and update it as you release new versions.
    4242 */
    43 define('ELEMENTINVADER_VERSION', '1.2.4');
     43define('ELEMENTINVADER_VERSION', '1.2.5');
    4444define('ELEMENTINVADER_NAME', 'elementinvader');
    4545define('ELEMENTINVADER_PATH', plugin_dir_path(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.