|
@@ -188,7 +188,8 @@ |
|
|
block discarded – undo |
|
188
|
188
|
*/ |
|
189
|
189
|
function save_post( $post_id ) { |
|
190
|
190
|
// Verify nonce. |
|
191
|
|
- if ( ! isset( $_POST['chosen_taxonomy_meta_box_nonce'] ) || ! wp_verify_nonce( $_POST['chosen_taxonomy_meta_box_nonce'], 'chosen-save-tax-terms' ) ) { // phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized |
|
|
191
|
+ if ( ! isset( $_POST['chosen_taxonomy_meta_box_nonce'] ) || ! wp_verify_nonce( $_POST['chosen_taxonomy_meta_box_nonce'], 'chosen-save-tax-terms' ) ) { |
|
|
192
|
+// phpcs:ignore WordPress.Security.ValidatedSanitizedInput.InputNotSanitized |
|
192
|
193
|
return; |
|
193
|
194
|
} |
|
194
|
195
|
// Check autosave. |
Please login to merge, or discard this patch.