Add screen options nonces to HPOS edit screen

This commit is contained in:
Jorge Torres 2023-10-26 14:32:49 +01:00
parent fa1ef4a8fd
commit 68a739e21c
1 changed files with 3 additions and 0 deletions

View File

@ -385,6 +385,9 @@ class Edit {
* @since 8.0.0
*/
do_action( 'order_edit_form_top', $this->order );
wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false );
wp_nonce_field( 'closedpostboxes', 'closedpostboxesnonce', false );
?>
<input type="hidden" id="hiddenaction" name="action" value="<?php echo esc_attr( $form_action ); ?>"/>
<input type="hidden" id="original_order_status" name="original_order_status" value="<?php echo esc_attr( $this->order->get_status() ); ?>"/>