Changeset 3054072
- Timestamp:
- 03/19/2024 06:42:33 AM (2 years ago)
- Location:
- wp-simple-html-sitemap/trunk
- Files:
-
- 3 edited
-
inc/wshs_post_list.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
wordpress_simple_html_sitemap.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-simple-html-sitemap/trunk/inc/wshs_post_list.php
r3042347 r3054072 6 6 $atts = array(); 7 7 $default_title = 'Post sitemap'; 8 if(isset($_GET['id']) && $_GET['id'] != '') { 9 $sql = $wpdb->prepare("SELECT * FROM {$wpdb->base_prefix}".WSHS_SAVED_CODE_TABLE." WHERE id = %d", $_GET['id']) ; 8 9 $id = 0; 10 if(isset($_GET['id'])){ 11 if(esc_html($_GET['id']) != ""){ 12 $id = esc_html($_GET['id']); 13 } 14 } 15 16 if($id != 0) { 17 $sql = $wpdb->prepare("SELECT * FROM {$wpdb->base_prefix}".WSHS_SAVED_CODE_TABLE." WHERE id = %d", $id) ; 10 18 $row = $wpdb->get_row($sql); 11 19 if($row){ … … 129 137 <div class="short-code-action"> 130 138 <input type="text" id="wshs_code_title" name="wshs_code_title" value="<?php echo esc_html($default_title); ?>"> 131 <a href="javascript:void(0);" class="short-code-save-btn button" data-type="post" data-id="<?php echo (isset($_GET['id']) && ($_GET['id']) != '')? $_GET['id'] :0; ?>">Save</a>139 <a href="javascript:void(0);" class="short-code-save-btn button" data-type="post" data-id="<?php echo $id; ?>">Save</a> 132 140 <a href="javascript:void(0);" class="short-code-copy-btn button">Copy</a> 133 141 </div> -
wp-simple-html-sitemap/trunk/readme.txt
r3047807 r3054072 6 6 Tested up to: 6.4.3 7 7 Requires PHP: 7.4 8 Stable tag: 2. 88 Stable tag: 2.9 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 121 121 == Changelog == 122 122 123 = 2.9 = 124 * Updated security standards. 125 123 126 = 2.8 = 124 127 * Resolved vulnerability issues, updated security, and tested with the latest version. -
wp-simple-html-sitemap/trunk/wordpress_simple_html_sitemap.php
r3047807 r3054072 5 5 * Description: Using WordPress Simple HTML Sitemap plugin, you can add HTML Sitemap anywhere on the website using Shortcode. 6 6 * Author: Ashish Ajani 7 * Version: 2. 87 * Version: 2.9 8 8 * Author: Ashish Ajani 9 9 * Author URI: http://freelancer-coder.com/
Note: See TracChangeset
for help on using the changeset viewer.