updates
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 25 Feb 2016 19:49:49 +0000 (14:49 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 25 Feb 2016 19:49:49 +0000 (14:49 -0500)
functions.php

index c3a1878..4a0f820 100644 (file)
@@ -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 '<pre>' . print_r( $post, true ) . '</pre>';
     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);
         }
     }