Add missing nonce to product sales report

Fixes #15640
This commit is contained in:
Mike Jolley 2017-06-16 11:51:00 +01:00
parent 8ed149915d
commit f8ca27f32e
1 changed files with 1 additions and 0 deletions

View File

@ -211,6 +211,7 @@ class WC_Report_Sales_By_Product extends WC_Admin_Report {
<input type="hidden" name="page" value="<?php echo ( ! empty( $_GET['page'] ) ) ? esc_attr( $_GET['page'] ) : ''; ?>" />
<input type="hidden" name="tab" value="<?php echo ( ! empty( $_GET['tab'] ) ) ? esc_attr( $_GET['tab'] ) : ''; ?>" />
<input type="hidden" name="report" value="<?php echo ( ! empty( $_GET['report'] ) ) ? esc_attr( $_GET['report'] ) : ''; ?>" />
<?php wp_nonce_field( 'custom_range', 'wc_reports_nonce', false ); ?>
</div>
</form>
</div>