Small cleanup

This commit is contained in:
Jay Wood
2015-08-29 13:13:58 -04:00
parent 5bb0fee8be
commit 270e9fc20b

View File

@ -94,8 +94,8 @@ class CWV3Admin {
public function render_metabox( $post ) {
wp_nonce_field( plugin_basename( __FILE__ ), 'cwv3_meta' );
$curval = get_post_meta( $post->ID, 'cwv3_auth', true );
$sw = get_option( 'cwv3_sitewide' );
$curval = get_post_meta( $post->ID, 'cwv3_auth', true );
$sw = get_option( 'cwv3_sitewide' );
$disabled = 'enabled' == $sw[0] ? true : false;
?>