Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Commit

Permalink
fix php json decoding issue that prevented state from saving. closes #…
Browse files Browse the repository at this point in the history
  • Loading branch information
dsifford committed Jan 15, 2018
1 parent ffdc29b commit 5214638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/php/class-backend.php
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public function save_meta( $post_id ) {
if (
isset( $_POST['abt-reflist-state'], $_POST['abt_nonce'] )
&& wp_verify_nonce( sanitize_key( $_POST['abt_nonce'] ), basename( __FILE__ ) ) ) {
$reflist_state = wp_unslash( $_POST['abt-reflist-state'] );
$reflist_state = $_POST['abt-reflist-state'];
update_post_meta( $post_id, '_abt-reflist-state', $reflist_state );
}
// @codingStandardsIgnoreEnd
Expand Down

0 comments on commit 5214638

Please # to comment.