Plugin Directory

Changeset 1130197


Ignore:
Timestamp:
04/08/2015 07:14:49 AM (11 years ago)
Author:
Free-counter
Message:

bug fix

Location:
free-counter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • free-counter/tags/1.1/plugin.php

    r1129760 r1130197  
    9898        static function on_activate()
    9999        {
     100            // check localhost or local network
    100101            if (self::check_site()) {
    101102                $data_post = array("action" => "create_new_counter", "site_url" => get_option('siteurl'));
     
    110111                        add_option(_PREFIX . 'image_color', $result['image_color']);
    111112                        add_option(_PREFIX . 'images', $result['images'], '', true);
    112                         add_option(_PREFIX . 'email', $result['email'], '', true);
     113                        add_option(_PREFIX . 'email', $result['email'], '', 'yes');
    113114                        add_option(_PREFIX . 'password', $result['password'], '', 'yes');
    114115                       
  • free-counter/trunk/plugin.php

    r1129760 r1130197  
    9898        static function on_activate()
    9999        {
     100            // check localhost or local network
    100101            if (self::check_site()) {
    101102                $data_post = array("action" => "create_new_counter", "site_url" => get_option('siteurl'));
     
    110111                        add_option(_PREFIX . 'image_color', $result['image_color']);
    111112                        add_option(_PREFIX . 'images', $result['images'], '', true);
    112                         add_option(_PREFIX . 'email', $result['email'], '', true);
     113                        add_option(_PREFIX . 'email', $result['email'], '', 'yes');
    113114                        add_option(_PREFIX . 'password', $result['password'], '', 'yes');
    114115                       
Note: See TracChangeset for help on using the changeset viewer.