WordPress.org

Plugin Directory

Changeset 395666


Ignore:
Timestamp:
06/10/11 18:36:58 (3 years ago)
Author:
mohanjith
Message:
  • Removing update notification
Location:
chat/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • chat/trunk/chat-lite.php

    r392077 r395666  
    99 Author: S H Mohanjith (Incsub) 
    1010 WDP ID: 223 
    11  Version: 1.0.4 
     11 Version: 1.0.5 
    1212 Stable tag: trunk 
    1313 Author URI: http://premium.wpmudev.org 
     
    21942194// Lets get things started 
    21952195$chat = new Chat(); 
    2196  
    2197 /////////////////////////////////////////////////////////////////////////// 
    2198 /* -------------------- Update Notifications Notice -------------------- */ 
    2199 if ( !function_exists( 'wdp_un_check' ) ) { 
    2200   add_action( 'admin_notices', 'wdp_un_check', 5 ); 
    2201   add_action( 'network_admin_notices', 'wdp_un_check', 5 ); 
    2202   function wdp_un_check() { 
    2203     if ( class_exists( 'WPMUDEV_Update_Notifications' ) ) 
    2204       return; 
    2205  
    2206     if ( $delay = get_site_option( 'un_delay' ) ) { 
    2207       if ( $delay <= time() && current_user_can( 'install_plugins' ) ) 
    2208         echo '<div class="error fade"><p>' . __('Please install the latest version of <a href="http://premium.wpmudev.org/project/update-notifications/" title="Download Now &raquo;">our free Update Notifications plugin</a> which helps you stay up-to-date with the most stable, secure versions of WPMU DEV themes and plugins. <a href="http://premium.wpmudev.org/wpmu-dev/update-notifications-plugin-information/">More information &raquo;</a>', 'wpmudev') . '</a></p></div>'; 
    2209       } else { 
    2210             update_site_option( 'un_delay', strtotime( "+1 week" ) ); 
    2211         } 
    2212     } 
    2213 } 
    2214 /* --------------------------------------------------------------------- */ 
    2215  
  • chat/trunk/readme.txt

    r392077 r395666  
    5555== ChangeLog == 
    5656 
     57= 1.0.5 = 
     58* Removing update notification 
     59 
    5760= 1.0.4 = 
    5861* New WPIDs 
Note: See TracChangeset for help on using the changeset viewer.