Changeset 2654503
- Timestamp:
- 01/08/2022 10:15:58 AM (4 years ago)
- Location:
- woocommerce-store-toolkit/trunk
- Files:
-
- 5 edited
-
includes/admin.php (modified) (2 diffs)
-
includes/admin/meta_box.php (modified) (1 diff)
-
includes/common.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
store-toolkit.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-store-toolkit/trunk/includes/admin.php
r2532824 r2654503 486 486 487 487 if( isset( $_GET['tab'] ) && !$tab ) 488 $tab = $_GET['tab'];488 $tab = sanitize_text_field( $_GET['tab'] ); 489 489 else 490 490 $tab = 'overview'; … … 604 604 include_once( WOO_ST_PATH . 'templates/admin/tabs-' . $tab . '.php' ); 605 605 } else { 606 $message = sprintf( __( 'We couldn\'t load the export template file <code>%s</code> within <code>%s</code>, this file should be present.', 'woocommerce-store-toolkit' ), 'tabs-' . $tab. '.php', WOO_CD_PATH . 'templates/admin/...' );606 $message = sprintf( __( 'We couldn\'t load the export template file <code>%s</code> within <code>%s</code>, this file should be present.', 'woocommerce-store-toolkit' ), 'tabs-' . esc_attr( $tab ) . '.php', WOO_CD_PATH . 'templates/admin/...' ); 607 607 woo_st_admin_notice_html( $message, 'error' ); 608 608 ob_start(); ?> -
woocommerce-store-toolkit/trunk/includes/admin/meta_box.php
r2111093 r2654503 559 559 ); 560 560 $total_orders = woo_st_get_user_orders( $user_id, $args, 'found_posts' ); 561 $paged = ( isset( $_GET['paged'] ) ? $_GET['paged']: 1 );561 $paged = ( isset( $_GET['paged'] ) ? absint( $_GET['paged'] ) : 1 ); 562 562 if( !empty( $paged ) ) 563 563 $args['paged'] = $paged; -
woocommerce-store-toolkit/trunk/includes/common.php
r1629613 r2654503 26 26 27 27 if( isset( $_GET['action'] ) ) 28 $action = $_GET['action'];28 $action = sanitize_text_field( $_GET['action'] ); 29 29 else if( !isset( $action ) && isset( $_POST['action'] ) ) 30 $action = $_POST['action'];30 $action = sanitize_text_field( $_POST['action'] ); 31 31 else 32 32 $action = false; … … 35 35 36 36 if( isset( $_POST['action'] ) ) 37 $action = $_POST['action'];37 $action = sanitize_text_field( $_POST['action'] ); 38 38 else if( !isset( $action ) && isset( $_GET['action'] ) ) 39 $action = $_GET['action'];39 $action = sanitize_text_field( $_GET['action'] ); 40 40 else 41 41 $action = false; -
woocommerce-store-toolkit/trunk/readme.txt
r2630779 r2654503 6 6 Requires at least: 2.9.2 7 7 Tested up to: 5.8.2 8 Stable tag: 2.3. 18 Stable tag: 2.3.2 9 9 License: GPLv2 or later 10 10 … … 123 123 == Changelog == 124 124 125 = 2.3.2 = 126 * Fixed: Sanitize GET and POST form attributes (thanks for reporting) 127 125 128 = 2.3.1 = 126 129 * Added: Delete Products by Product Status -
woocommerce-store-toolkit/trunk/store-toolkit.php
r2626818 r2654503 4 4 Plugin URI: https://wordpress.org/plugins/woocommerce-store-toolkit/ 5 5 Description: Store Toolkit includes a growing set of commonly-used WooCommerce administration tools aimed at web developers and store maintainers. 6 Version: 2.3. 16 Version: 2.3.2 7 7 Author: Visser Labs 8 8 Author URI: http://www.visser.com.au/about/ … … 299 299 $tab = false; 300 300 if( isset( $_GET['tab'] ) ) 301 $tab = $_GET['tab'];301 $tab = sanitize_text_field( $_GET['tab'] ); 302 302 303 303 include_once( WOO_ST_PATH . 'templates/admin/tabs.php' );
Note: See TracChangeset
for help on using the changeset viewer.