WordPress.org

Plugin Directory

Changeset 631865


Ignore:
Timestamp:
11/29/12 16:36:44 (17 months ago)
Author:
pento
Message:

Remove some debugging code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • automatic-updater/trunk/automatic-updater.php

    r631863 r631865  
    489489 
    490490    function notification( $info = '', $debug = '', $upgrade_failed = false ) { 
    491     echo 1; 
    492491        if ( $this->options['disable-email'] ) 
    493492            return; 
    494 echo 2; 
     493 
    495494        $site = get_home_url(); 
    496495        $subject = sprintf( esc_html__( 'WordPress Update: %s', 'automatic-updater' ), $site ); 
     
    534533                        'Content-Type: text/html; charset=UTF-8' 
    535534                    ); 
    536 echo $message; 
     535 
    537536        add_filter( 'wp_mail_content_type', array( &$this, 'wp_mail_content_type' ) ); 
    538537        wp_mail( $email, $subject, $message, $headers ); 
Note: See TracChangeset for help on using the changeset viewer.