Changeset 2955407
- Timestamp:
- 08/18/2023 01:26:01 PM (3 years ago)
- Location:
- weblibrarian/trunk
- Files:
-
- 5 edited
-
WebLibrarian.php (modified) (1 diff)
-
includes/WEBLIB_Collection_Admin.php (modified) (1 diff)
-
includes/WEBLIB_Patrons_Admin.php (modified) (2 diffs)
-
includes/WEBLIB_Types_Database_Admin.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
weblibrarian/trunk/WebLibrarian.php
r2754193 r2955407 4 4 * Plugin URI: http://www.deepsoft.com/WebLibrarian 5 5 * Description: A plugin that implements a web-based library catalog and circulation System 6 * Version: 3.5.8. 16 * Version: 3.5.8.2 7 7 * Author: Robert Heller 8 8 * Author URI: http://www.deepsoft.com/ -
weblibrarian/trunk/includes/WEBLIB_Collection_Admin.php
r2381098 r2955407 437 437 function display_one_item_form($returnURL) { 438 438 if ( isset($_REQUEST['paged']) ) { 439 ?><input type="hidden" name="paged" value="<?php echo $_REQUEST['paged'] ?>" /><?php 439 $paged = sanitize_text_field($_REQUEST['paged']); 440 ?><input type="hidden" name="paged" value="<?php echo $paged; ?>" /><?php 440 441 } 441 442 if ( isset($_REQUEST['screen-options-apply']) ) { 442 ?><input type="hidden" name="screen-options-apply" value="<?php echo $_REQUEST['screen-options-apply'] ?>" /><?php 443 $screenopts = sanitize_text_field($_REQUEST['screen-options-apply']); 444 ?><input type="hidden" name="screen-options-apply" value="<?php echo $screenopts; ?>" /><?php 443 445 } 444 446 if ( isset($_REQUEST['wp_screen_options']['option']) ) { 445 ?><input type="hidden" name="wp_screen_options[option]" value="<?php echo $_REQUEST['wp_screen_options']['option'] ?>" /><?php 447 $wpscreenoptsopt = sanitize_text_field($_REQUEST['wp_screen_options']['option']); 448 ?><input type="hidden" name="wp_screen_options[option]" value="<?php echo $wpscreenoptsopt; ?>" /><?php 446 449 } 447 450 if ( isset($_REQUEST['wp_screen_options']['value']) ) { 448 ?><input type="hidden" name="wp_screen_options[value]" value="<?php echo $_REQUEST['wp_screen_options']['value'] ?>" /><?php 451 $wpscreenoptsval = sanitize_text_field($_REQUEST['wp_screen_options']['value']); 452 ?><input type="hidden" name="wp_screen_options[value]" value="<?php echo $wpscreenoptsval; ?>" /><?php 449 453 } 450 454 if ($this->viewmode == 'view') { -
weblibrarian/trunk/includes/WEBLIB_Patrons_Admin.php
r1747278 r2955407 490 490 function display_one_item_form($returnURL) { 491 491 if ( isset($_REQUEST['paged']) ) { 492 ?><input type="hidden" name="paged" value="<?php echo $_REQUEST['paged'] ?>" /><?php 492 $paged = sanitize_text_field($_REQUEST['paged']); 493 ?><input type="hidden" name="paged" value="<?php echo $paged; ?>" /><?php 493 494 } 494 495 if ( isset($_REQUEST['screen-options-apply']) ) { 495 ?><input type="hidden" name="screen-options-apply" value="<?php echo $_REQUEST['screen-options-apply'] ?>" /><?php 496 $screenopts = sanitize_text_field($_REQUEST['screen-options-apply']); 497 ?><input type="hidden" name="screen-options-apply" value="<?php echo $screenopts; ?>" /><?php 496 498 } 497 499 if ( isset($_REQUEST['wp_screen_options']['option']) ) { 498 ?><input type="hidden" name="wp_screen_options[option]" value="<?php echo $_REQUEST['wp_screen_options']['option'] ?>" /><?php 500 $wpscreenoptsopt = sanitize_text_field($_REQUEST['wp_screen_options']['option']); 501 ?><input type="hidden" name="wp_screen_options[option]" value="<?php echo $wpscreenoptsopt; ?>" /><?php 499 502 } 500 503 if ( isset($_REQUEST['wp_screen_options']['value']) ) { 501 ?><input type="hidden" name="wp_screen_options[value]" value="<?php echo $_REQUEST['wp_screen_options']['value'] ?>" /><?php 504 $wpscreenoptsval = sanitize_text_field($_REQUEST['wp_screen_options']['value']); 505 ?><input type="hidden" name="wp_screen_options[value]" value="<?php echo $wpscreenoptsval; ?>" /><?php 502 506 } 503 507 if ($this->viewmode == 'view') { … … 641 645 function display_bulk_upload_form($returnURL) { 642 646 if ( isset($_REQUEST['paged']) ) { 643 ?><input type="hidden" name="paged" value="<?php echo $_REQUEST['paged'] ?>" /><?php 647 $paged = sanitize_text_field($_REQUEST['paged']); 648 ?><input type="hidden" name="paged" value="<?php echo $paged; ?>" /><?php 644 649 } 645 650 if ( isset($_REQUEST['screen-options-apply']) ) { 646 ?><input type="hidden" name="screen-options-apply" value="<?php echo $_REQUEST['screen-options-apply'] ?>" /><?php 651 $screenopts = sanitize_text_field($_REQUEST['screen-options-apply']); 652 ?><input type="hidden" name="screen-options-apply" value="<?php echo $screenopts; ?>" /><?php 647 653 } 648 654 if ( isset($_REQUEST['wp_screen_options']['option']) ) { 649 ?><input type="hidden" name="wp_screen_options[option]" value="<?php echo $_REQUEST['wp_screen_options']['option'] ?>" /><?php 655 $wpscreenoptsopt = sanitize_text_field($_REQUEST['wp_screen_options']['option']); 656 ?><input type="hidden" name="wp_screen_options[option]" value="<?php echo $wpscreenoptsopt; ?>" /><?php 650 657 } 651 658 if ( isset($_REQUEST['wp_screen_options']['value']) ) { 652 ?><input type="hidden" name="wp_screen_options[value]" value="<?php echo $_REQUEST['wp_screen_options']['value'] ?>" /><?php 653 } 654 ?><p><label for="file_name"><?php _e('CSV File:','weblibrarian'); ?></label> 659 $wpscreenoptsval = sanitize_text_field($_REQUEST['wp_screen_options']['value']); 660 ?><input type="hidden" name="wp_screen_options[value]" value="<?php echo $wpscreenoptsval; ?>" /><?php 661 } 662 ?><p><label for="file_name"><?php _e('CSV File:','weblibrarian'); ?></label> 655 663 <input type="file" id="file_name" name="file_name" 656 value="<?php echo $_REQUEST['file_name']; ?>" /></p>664 value="<?php echo sanitize_file_name($_REQUEST['file_name']); ?>" /></p> 657 665 <p><label for="use_csv_header"><?php _e('Use CSV Header?','weblibrarian'); ?></label> 658 666 <input type="checkbox" name="use_csv_header" id="use_csv_header" -
weblibrarian/trunk/includes/WEBLIB_Types_Database_Admin.php
r1747278 r2955407 270 270 function display_one_item_form($returnURL) { 271 271 if ( isset($_REQUEST['paged']) ) { 272 ?><input type="hidden" name="paged" value="<?php echo $_REQUEST['paged'] ?>" /><?php 272 $paged = sanitize_text_field($_REQUEST['paged']); 273 ?><input type="hidden" name="paged" value="<?php echo $paged; ?>" /><?php 273 274 } 274 275 if ( isset($_REQUEST['screen-options-apply']) ) { 275 ?><input type="hidden" name="screen-options-apply" value="<?php echo $_REQUEST['screen-options-apply'] ?>" /><?php 276 $screenopts = sanitize_text_field($_REQUEST['screen-options-apply']); 277 ?><input type="hidden" name="screen-options-apply" value="<?php echo $screenopts; ?>" /><?php 276 278 } 277 279 if ( isset($_REQUEST['wp_screen_options']['option']) ) { 278 ?><input type="hidden" name="wp_screen_options[option]" value="<?php echo $_REQUEST['wp_screen_options']['option'] ?>" /><?php 280 $wpscreenoptsopt = sanitize_text_field($_REQUEST['wp_screen_options']['option']); 281 ?><input type="hidden" name="wp_screen_options[option]" value="<?php echo $wpscreenoptsopt; ?>" /><?php 279 282 } 280 283 if ( isset($_REQUEST['wp_screen_options']['value']) ) { 281 ?><input type="hidden" name="wp_screen_options[value]" value="<?php echo $_REQUEST['wp_screen_options']['value'] ?>" /><?php 284 $wpscreenoptsval = sanitize_text_field($_REQUEST['wp_screen_options']['value']); 285 ?><input type="hidden" name="wp_screen_options[value]" value="<?php echo $wpscreenoptsval; ?>" /><?php 282 286 } 283 287 ?><table class="form-table"> -
weblibrarian/trunk/readme.txt
r2754193 r2955407 5 5 Requires at least: 3.2.1 6 6 Tested up to: 6.0 7 Stable tag: 3.5.8. 17 Stable tag: 3.5.8.2 8 8 License: GPL2 9 9 … … 157 157 == Changelog == 158 158 159 = 3.5.8.2 = 160 161 Fix security issue: 162 https://patchstack.com/database/report-preview/b626e7c0-9a3e-48d5-a5ad-5cbf33d16b2e?pin=tyLtfTu1yGOgOrDo 163 159 164 = 3.5.8.1 = 160 165
Note: See TracChangeset
for help on using the changeset viewer.