Plugin Directory

Changeset 531663


Ignore:
Timestamp:
04/16/2012 08:38:59 AM (14 years ago)
Author:
jcnetsys
Message:
 
Location:
password-protect-wordpress-blog
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • password-protect-wordpress-blog/readme.txt

    r531383 r531663  
    55Requires at least: 3.3.1
    66Tested up to: 3.3.1
    7 Stable tag: 4.01
     7Stable tag: 4.02
    88
    99This plugin password protects your wordpress blog with a single password.
     
    126126
    127127* Complete rewrite
     128
     129= 4.02 =
     130
     131* Fixed issue with template loader
     132* Fixed issue with header buffer being flushed by All In One SEO pack when theme uses weird get_header call (I mean WTF was that theme designer doing)
     133* Turned error reporting off
  • password-protect-wordpress-blog/trunk/lava/_classes/lavaSkins.php

    r527802 r531663  
    187187
    188188        $filePath = dirname( $this->_file() ) . '/skins/' . $currentSkin . '/templates/' . $templateName . '.html';
    189 
    190         $h2o = new h2o( $filePath );
     189        $options = array(
     190            "cache_dir" => dirname( $this->_file() ) . '/lava/_cache/'
     191        );
     192
     193        $h2o = new h2o( $filePath, $options );
    191194
    192195        $templateVars = apply_filters( $this->_slug( "_templateVars" ) , array() );
  • password-protect-wordpress-blog/trunk/plugin.php

    r531383 r531663  
    44Plugin URI: http://www.volcanicpixels.com/password-protect-wordpress-plugin/
    55Description: Private Blog is a wordpress plugin which allows you to password protect all of your wordpress blog including all posts and feeds with a single password.
    6 Version: 4.01
     6Version: 4.02
    77Author: Daniel Chatfield
    88Author URI: http://www.volcanicpixels.com
     
    1111?>
    1212<?php
    13 //error_reporting(E_ALL);//used for debug only (NOT PRODUCTION)
     13error_reporting(0);
    1414include( dirname( __FILE__ ) ."/lava/lava.php" );
    1515
    1616$pluginName = "Private Blog";
    17 $pluginVersion = "4.01";
     17$pluginVersion = "4.02";
    1818
    1919$thePlugin = lava::newPlugin( __FILE__, $pluginName, $pluginVersion );
  • password-protect-wordpress-blog/trunk/pluginCallbacks.php

    r527802 r531663  
    288288            $expire = time() + $expire;
    289289        }
    290         setcookie( $this->_slug( "loggedin" ), $loginNonce, $expire, COOKIEPATH, COOKIE_DOMAIN );
     290        if( !headers_sent() ) {
     291            setcookie( $this->_slug( "loggedin" ), $loginNonce, $expire, COOKIEPATH, COOKIE_DOMAIN );
     292        }
    291293    }
    292294
  • password-protect-wordpress-blog/trunk/readme.txt

    r531383 r531663  
    55Requires at least: 3.3.1
    66Tested up to: 3.3.1
    7 Stable tag: 4.01
     7Stable tag: 4.02
    88
    99This plugin password protects your wordpress blog with a single password.
     
    126126
    127127* Complete rewrite
     128
     129= 4.02 =
     130
     131* Fixed issue with template loader
     132* Fixed issue with header buffer being flushed by All In One SEO pack when theme uses weird get_header call (I mean WTF was that theme designer doing)
     133* Turned error reporting off
Note: See TracChangeset for help on using the changeset viewer.