WordPress.org

Plugin Directory

Changeset 523360


Ignore:
Timestamp:
03/25/12 09:50:05 (2 years ago)
Author:
ldebrouwer
Message:

Adding version 0.3 of the plugin

Location:
vaultpress-status/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vaultpress-status/trunk/readme.txt

    r374431 r523360  
    44Tags: VaultPress, status, admin bar 
    55Requires at least: 3.1 
    6 Tested up to: 3.1.1 
    7 Stable tag: 0.2 
     6Tested up to: 3.3.1 
     7Stable tag: 0.3 
    88 
    99VaultPress bring your VaultPress backup status to your WordPress Admin Bar. 
     
    3232== Changelog == 
    3333 
     34= 0.3 = 
     35* Brings support for VaultPress plugin version 1.0 and higher. 
     36* Drops support for VaultPress plugin version 0.9.x and lower. 
     37 
    3438= 0.2 = 
    3539* Now also displaying the latest message sent by VaultPress. 
  • vaultpress-status/trunk/vaultpress-status.php

    r374440 r523360  
    22/* 
    33 * Plugin Name: VaultPress Status 
    4  * Plugin URI: http://www.lucdebrouwer.nl/wordpress-plugin-vaultpress-status/ 
     4 * Plugin URI: http://automattic.com/wordpress-plugins/ 
    55 * Description: Adds VaultPress' status to your admin bar. To give you that nice and secured feeling, even in the front-end of your website. 
    6  * Version: 0.2 
     6 * Version: 0.3 
    77 * Author: Luc De Brouwer 
    88 * Author URI: http://www.lucdebrouwer.nl/ 
     
    1212function LDB_VaultPress_Status_render() { 
    1313    global $wp_admin_bar; 
    14     $ticker = json_decode(vaultpress_contact_service('ticker')); 
     14    $vp = new VaultPress; 
     15    $ticker = json_decode( $vp->contact_service( 'ticker' ) ); 
    1516    $wp_admin_bar->add_menu( array( 
    1617        'id' => 'LDB_VaultPress_status', 
     
    7273} 
    7374 
    74 if( function_exists( 'vaultpress_contact_service' ) ) { 
     75if( class_exists( 'VaultPress' ) ) { 
    7576    add_action( 'wp_head', 'LDB_VaultPress_Status_css' ); 
    7677    add_action( 'wp_before_admin_bar_render', 'LDB_VaultPress_Status_render' ); 
Note: See TracChangeset for help on using the changeset viewer.