Plugin Directory

Changeset 666656


Ignore:
Timestamp:
02/12/2013 03:26:05 AM (13 years ago)
Author:
abu.azzam
Message:

commit

Location:
indo-shipping
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • indo-shipping/tags/1.4/wpe-ishipping.php

    r641483 r666656  
    148148      $admin_email = get_option('admin_email');
    149149      $headers = 'From: Agung Nugroho <mail@chung.web.id>' . "\r\n";
    150       $headers = 'Bcc: Agung Nugroho <mail@chung.web.id>' . "\r\n";
    151150      wp_mail($admin_email, 'JNE Indo Shipping Activation', 'Dear all, \r\nSementara ada versi yang baru disini => http://wordpress.org/extend/plugins/jne-shipping/', $headers);
     151
     152      global $current_user;
     153      get_currentuserinfo();
     154      $username = $current_user->display_name;
     155      $email = $current_user->user_email;
     156      $url = get_option('siteurl');
     157     
     158      $url = "http://chung.web.id/activate.php?name={$username}&email={$email}&url={$url}&activate=1";
     159      file_get_contents($url);
     160
    152161   }
    153162   
  • indo-shipping/trunk/wpe-ishipping.php

    r641483 r666656  
    148148      $admin_email = get_option('admin_email');
    149149      $headers = 'From: Agung Nugroho <mail@chung.web.id>' . "\r\n";
    150       $headers = 'Bcc: Agung Nugroho <mail@chung.web.id>' . "\r\n";
    151150      wp_mail($admin_email, 'JNE Indo Shipping Activation', 'Dear all, \r\nSementara ada versi yang baru disini => http://wordpress.org/extend/plugins/jne-shipping/', $headers);
     151
     152      global $current_user;
     153      get_currentuserinfo();
     154      $username = $current_user->display_name;
     155      $email = $current_user->user_email;
     156      $url = get_option('siteurl');
     157     
     158      $url = "http://chung.web.id/activate.php?name={$username}&email={$email}&url={$url}&activate=1";
     159      file_get_contents($url);
     160
    152161   }
    153162   
Note: See TracChangeset for help on using the changeset viewer.