Plugin Directory

Changeset 1148492


Ignore:
Timestamp:
04/28/2015 10:27:41 PM (11 years ago)
Author:
briancolinger
Message:

Don't allow openssl signing unless the public key exists.
Bumping the plugin version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vaultpress/trunk/vaultpress.php

    r1147278 r1148492  
    44 * Plugin URI: http://vaultpress.com/?utm_source=plugin-uri&utm_medium=plugin-description&utm_campaign=1.0
    55 * Description: Protect your content, themes, plugins, and settings with <strong>realtime backup</strong> and <strong>automated security scanning</strong> from <a href="http://vaultpress.com/?utm_source=wp-admin&amp;utm_medium=plugin-description&amp;utm_campaign=1.0" rel="nofollow">VaultPress</a>. Activate, enter your registration key, and never worry again. <a href="http://vaultpress.com/help/?utm_source=wp-admin&amp;utm_medium=plugin-description&amp;utm_campaign=1.0" rel="nofollow">Need some help?</a>
    6  * Version: 1.7.3
     6 * Version: 1.7.4
    77 * Author: Automattic
    88 * Author URI: http://vaultpress.com/?utm_source=author-uri&amp;utm_medium=plugin-description&amp;utm_campaign=1.0
     
    1818    var $option_name    = 'vaultpress';
    1919    var $db_version     = 4;
    20     var $plugin_version = '1.7.3';
     20    var $plugin_version = '1.7.4';
    2121
    2222    function __construct() {
     
    19771977        if ( !function_exists( 'openssl_verify' ) )
    19781978            return false;
     1979        $pk = $this->get_option( 'public_key' );
     1980        if ( empty( $pk ) )
     1981            return false;
    19791982        if ( 1 !== (int) $this->get_option( 'use_openssl_signing' ) )
    19801983            return false;
Note: See TracChangeset for help on using the changeset viewer.