Changeset 2822658
- Timestamp:
- 11/23/2022 08:20:27 AM (3 years ago)
- Location:
- advanced-import
- Files:
-
- 39 added
- 3 edited
-
tags/1.3.9 (added)
-
tags/1.3.9/LICENSE.txt (added)
-
tags/1.3.9/admin (added)
-
tags/1.3.9/admin/class-advanced-import-admin.php (added)
-
tags/1.3.9/admin/class-advanced-import-tracking.php (added)
-
tags/1.3.9/admin/class-elementor-import.php (added)
-
tags/1.3.9/admin/class-reset.php (added)
-
tags/1.3.9/admin/index.php (added)
-
tags/1.3.9/advanced-import.php (added)
-
tags/1.3.9/assets (added)
-
tags/1.3.9/assets/css (added)
-
tags/1.3.9/assets/css/advanced-import-admin.min.css (added)
-
tags/1.3.9/assets/js (added)
-
tags/1.3.9/assets/js/advanced-import-admin.min.js (added)
-
tags/1.3.9/assets/library (added)
-
tags/1.3.9/assets/library/isotope (added)
-
tags/1.3.9/assets/library/isotope/isotope.pkgd.min.js (added)
-
tags/1.3.9/assets/library/sweetalert2 (added)
-
tags/1.3.9/assets/library/sweetalert2/sweetalert2.all.js (added)
-
tags/1.3.9/assets/library/sweetalert2/sweetalert2.all.min.js (added)
-
tags/1.3.9/example.php (added)
-
tags/1.3.9/includes (added)
-
tags/1.3.9/includes/class-advanced-import-activator.php (added)
-
tags/1.3.9/includes/class-advanced-import-cron.php (added)
-
tags/1.3.9/includes/class-advanced-import-deactivator.php (added)
-
tags/1.3.9/includes/class-advanced-import-i18n.php (added)
-
tags/1.3.9/includes/class-advanced-import-loader.php (added)
-
tags/1.3.9/includes/class-advanced-import.php (added)
-
tags/1.3.9/includes/class-theme-template-library-base.php (added)
-
tags/1.3.9/includes/functions-advanced-import.php (added)
-
tags/1.3.9/includes/index.php (added)
-
tags/1.3.9/includes/theme-template-library (added)
-
tags/1.3.9/includes/theme-template-library/acmethemes.php (added)
-
tags/1.3.9/includes/theme-template-library/cosmoswp.php (added)
-
tags/1.3.9/index.php (added)
-
tags/1.3.9/languages (added)
-
tags/1.3.9/languages/advanced-import.pot (added)
-
tags/1.3.9/readme.txt (added)
-
tags/1.3.9/uninstall.php (added)
-
trunk/admin/class-advanced-import-admin.php (modified) (4 diffs)
-
trunk/advanced-import.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
advanced-import/trunk/admin/class-advanced-import-admin.php
r2816655 r2822658 1121 1121 1122 1122 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'] ); 1124 1124 $this->current_template_type = sanitize_text_field( $_POST['template_type'] ); 1125 1125 } … … 1194 1194 } 1195 1195 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'] ); 1197 1197 $this->current_template_type = sanitize_text_field( $_POST['template_type'] ); 1198 1198 } … … 1323 1323 1324 1324 /*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 ); 1326 1326 1327 1327 $limit = apply_filters( 'advanced_import_limit_at_time', $limit ); … … 2426 2426 2427 2427 do_action( 'advanced_import_before_complete_screen' ); 2428 echo $message;2428 echo advanced_import_allowed_html( $message ); 2429 2429 do_action( 'advanced_import_after_complete_screen' ); 2430 2430 exit; -
advanced-import/trunk/advanced-import.php
r2816655 r2822658 15 15 * Plugin URI: https://addonspress.com/item/advanced-import 16 16 * Description: Easily import demo data starter site packages or Migrate your site data 17 * Version: 1.3. 817 * Version: 1.3.9 18 18 * Author: AddonsPress 19 19 * Author URI: https://addonspress.com/ … … 25 25 26 26 /*Define Constants for this plugin*/ 27 define( 'ADVANCED_IMPORT_VERSION', '1.3. 8' );27 define( 'ADVANCED_IMPORT_VERSION', '1.3.9' ); 28 28 define( 'ADVANCED_IMPORT_PLUGIN_NAME', 'advanced-import' ); 29 29 define( 'ADVANCED_IMPORT_PATH', plugin_dir_path( __FILE__ ) ); -
advanced-import/trunk/readme.txt
r2816655 r2822658 7 7 Tested up to: 6.1 8 8 Requires PHP: 5.6.20 9 Stable tag: 1.3. 89 Stable tag: 1.3.9 10 10 License: GPLv2 or later 11 11 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 225 225 == Changelog == 226 226 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 227 231 = 1.3.8 - 2022-11-11 = 228 232 * Updated : Tested up WordPress 6.1
Note: See TracChangeset
for help on using the changeset viewer.