Changeset 3344142
- Timestamp:
- 08/13/2025 07:08:14 PM (6 months ago)
- Location:
- terms-before-download
- Files:
-
- 3 added
- 2 edited
-
tags/1.0.5 (added)
-
tags/1.0.5/readme.txt (added)
-
tags/1.0.5/terms-before-download.php (added)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/terms-before-download.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
terms-before-download/trunk/readme.txt
r2609043 r3344142 3 3 Tags: download,terms,eula,license 4 4 Requires at least: 3.5 5 Tested up to: 5.8.15 Tested up to: 6.8.2 6 6 Stable tag: trunk 7 7 License: GPL2 … … 68 68 == Changelog == 69 69 70 = 1.0.5 = 71 * Security fix: the content page is now sanitized before display to prevent XSS attacks. 72 70 73 = 1.0.4 = 71 74 * Bugfix: multiple links on the same page always pointed to the first URL on the page. This was introduced in 1.0.3. -
terms-before-download/trunk/terms-before-download.php
r2609043 r3344142 4 4 * Plugin URI: https://helgeklein.com/free-tools/terms-download/ 5 5 * Description: Shows a popup dialog with terms and conditions (EULA) that must be accepted before a file can be downloaded 6 * Version: 1.0. 46 * Version: 1.0.5 7 7 * Author: Helge Klein 8 8 * Author URI: https://helgeklein.com … … 65 65 66 66 // Get the terms page content, allowing for nested shortcodes 67 $terms_page_content = do_shortcode ($terms_page->post_content);67 $terms_page_content = wp_kses_post(do_shortcode ($terms_page->post_content)); 68 68 // Convert double line breaks into paragraphs, replacing \n with <br /> to the string 69 69 $terms_page_content = wpautop($terms_page_content);
Note: See TracChangeset
for help on using the changeset viewer.