From: Steve Sutton Date: Thu, 25 Feb 2016 19:49:49 +0000 (-0500) Subject: updates X-Git-Tag: v1.0.23^2~2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=94ba91f772a84b615cd115b6a806a96f1d8c932b;p=WP-Themes%2Fsaultstemarie.git updates --- diff --git a/functions.php b/functions.php index c3a1878..4a0f820 100644 --- a/functions.php +++ b/functions.php @@ -155,7 +155,6 @@ add_image_size('glm_blocks_small', '570', '280', true); add_action( 'wp', 'post_pw_sess_expire' ); function post_pw_sess_expire() { global $post; - //echo '
' . print_r( $post, true ) . '
'; if ($post->ID == 118 ) { if ( isset( $_COOKIE['wp-postpass_' . COOKIEHASH] ) && isset( $_COOKIE['glm-test_' . COOKIEHASH] ) @@ -165,7 +164,6 @@ function post_pw_sess_expire() { setcookie('glm-test_' . COOKIEHASH, '', 0, COOKIEPATH); } if ( isset( $_COOKIE['wp-postpass_' . COOKIEHASH] ) ) { - //die('here'); setcookie('glm-test_' . COOKIEHASH, COOKIEHASH, time() + 3600, COOKIEPATH); } }