Changeset 3254388
- Timestamp:
- 03/12/2025 02:32:51 AM (11 months ago)
- Location:
- wp-downloadmanager/trunk
- Files:
-
- 3 edited
-
download-templates.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
wp-downloadmanager.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-downloadmanager/trunk/download-templates.php
r2641400 r3254388 10 10 $base_page = 'admin.php?page='.$base_name; 11 11 12 ### Allow Tags 13 $allowed_tags = wp_kses_allowed_html( 'post' ); 14 $allowed_tags['input'] = array( 15 'class' => true, 16 'id' => true, 17 'name' => true, 18 'type' => true, 19 'value' => true, 20 ); 21 $allowed_tags['form'] = array( 22 'action' => true, 23 'class' => true, 24 'id' => true, 25 'method' => true, 26 'name' => true, 27 ); 12 28 13 29 ### If Form Is Submitted … … 18 34 $download_template_most = array(); 19 35 $download_template_header = ! empty ( $_POST['download_template_header'] ) ? wp_kses_post( trim( $_POST['download_template_header'] ) ) : ''; 20 $download_template_footer = ! empty ( $_POST['download_template_footer'] ) ? wp_kses _post( trim( $_POST['download_template_footer'] )) : '';36 $download_template_footer = ! empty ( $_POST['download_template_footer'] ) ? wp_kses( trim( $_POST['download_template_footer'] ), $allowed_tags ) : ''; 21 37 $download_template_pagingheader = ! empty ( $_POST['download_template_pagingheader'] ) ? wp_kses_post( trim( $_POST['download_template_pagingheader'] ) ) : ''; 22 38 $download_template_pagingfooter = ! empty ( $_POST['download_template_pagingfooter'] ) ? wp_kses_post( trim( $_POST['download_template_pagingfooter'] ) ) : ''; -
wp-downloadmanager/trunk/readme.txt
r3137641 r3254388 4 4 Tags: file, files, download, downloads, manager, downloadmanager, downloadsmanager, filemanager, filesmanager 5 5 Requires at least: 4.0 6 Tested up to: 6. 67 Stable tag: 1.68. 96 Tested up to: 6.7 7 Stable tag: 1.68.10 8 8 License: GPLv2 9 9 … … 62 62 63 63 ## Changelog 64 * FIXED: Allow form in Download Page Footer template. 65 64 66 ### Version 1.68.9 65 67 * FIXED: XSS file_sortby and file_sortorder in download-manager.php -
wp-downloadmanager/trunk/wp-downloadmanager.php
r3137641 r3254388 4 4 Plugin URI: https://lesterchan.net/portfolio/programming/php/ 5 5 Description: Adds a simple download manager to your WordPress blog. 6 Version: 1.68. 96 Version: 1.68.10 7 7 Author: Lester 'GaMerZ' Chan 8 8 Author URI: https://lesterchan.net … … 12 12 13 13 /* 14 Copyright 202 4Lester Chan (email : [email protected])14 Copyright 2025 Lester Chan (email : [email protected]) 15 15 16 16 This program is free software; you can redistribute it and/or modify … … 31 31 32 32 ### Version 33 define( 'WP_DOWNLOADMANAGER_VERSION', '1.68. 9' );33 define( 'WP_DOWNLOADMANAGER_VERSION', '1.68.10' ); 34 34 35 35 ### Create text domain for translations
Note: See TracChangeset
for help on using the changeset viewer.