Plugin Directory

Changeset 2822658


Ignore:
Timestamp:
11/23/2022 08:20:27 AM (3 years ago)
Author:
addonspress
Message:

1.3.9

Location:
advanced-import
Files:
39 added
3 edited

Legend:

Unmodified
Added
Removed
  • advanced-import/trunk/admin/class-advanced-import-admin.php

    r2816655 r2822658  
    11211121
    11221122        if ( isset( $_POST['template_url'] ) ) {
    1123             $this->current_template_url  = is_array( $_POST['template_url'] ) ? (array) $_POST['template_url'] : sanitize_text_field( $_POST['template_url'] );
     1123            $this->current_template_url  = is_array( $_POST['template_url'] ) ? (array) $_POST['template_url'] : sanitize_url( $_POST['template_url'] );
    11241124            $this->current_template_type = sanitize_text_field( $_POST['template_type'] );
    11251125        }
     
    11941194        }
    11951195        if ( isset( $_POST['template_url'] ) ) {
    1196             $this->current_template_url  = is_array( $_POST['template_url'] ) ? (array) $_POST['template_url'] : sanitize_text_field( $_POST['template_url'] );
     1196            $this->current_template_url  = is_array( $_POST['template_url'] ) ? (array) $_POST['template_url'] : sanitize_url( $_POST['template_url'] );
    11971197            $this->current_template_type = sanitize_text_field( $_POST['template_type'] );
    11981198        }
     
    13231323
    13241324        /*Import 10 posts at a time*/
    1325         $limit = 10 + ( isset( $_REQUEST['retry_count'] ) ? (int) $_REQUEST['retry_count'] : 0 );
     1325        $limit = 10 + ( isset( $_REQUEST['retry_count'] ) ? absint($_REQUEST['retry_count']) : 0 );
    13261326
    13271327        $limit = apply_filters( 'advanced_import_limit_at_time', $limit );
     
    24262426
    24272427        do_action( 'advanced_import_before_complete_screen' );
    2428         echo $message;
     2428        echo advanced_import_allowed_html( $message );
    24292429        do_action( 'advanced_import_after_complete_screen' );
    24302430        exit;
  • advanced-import/trunk/advanced-import.php

    r2816655 r2822658  
    1515 * Plugin URI:        https://addonspress.com/item/advanced-import
    1616 * Description:       Easily import demo data starter site packages or Migrate your site data
    17  * Version:           1.3.8
     17 * Version:           1.3.9
    1818 * Author:            AddonsPress
    1919 * Author URI:        https://addonspress.com/
     
    2525
    2626/*Define Constants for this plugin*/
    27 define( 'ADVANCED_IMPORT_VERSION', '1.3.8' );
     27define( 'ADVANCED_IMPORT_VERSION', '1.3.9' );
    2828define( 'ADVANCED_IMPORT_PLUGIN_NAME', 'advanced-import' );
    2929define( 'ADVANCED_IMPORT_PATH', plugin_dir_path( __FILE__ ) );
  • advanced-import/trunk/readme.txt

    r2816655 r2822658  
    77Tested up to: 6.1
    88Requires PHP: 5.6.20
    9 Stable tag: 1.3.8
     9Stable tag: 1.3.9
    1010License: GPLv2 or later
    1111License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    225225== Changelog ==
    226226
     227= 1.3.9 - 2022-11-23 =
     228* Added : Missing check_admin_referer in one place
     229* Updated: Uses proper sanitization and escaping functions in some places
     230
    227231= 1.3.8 - 2022-11-11 =
    228232* Updated : Tested up WordPress 6.1
Note: See TracChangeset for help on using the changeset viewer.