Plugin Directory

Changeset 2010699


Ignore:
Timestamp:
01/11/2019 05:32:27 PM (7 years ago)
Author:
ShopSite
Message:

Concatenate strings, don't add them

File:
1 edited

Legend:

Unmodified
Added
Removed
  • shopsite-plugin/trunk/shopsite.php

    r2010198 r2010699  
    4141register_activation_hook( __FILE__, 'on_activate' );
    4242function on_activate() {
    43   @add_option('ss_just_activated','yes');
     43  add_option('ss_just_activated','yes');
    4444}
    4545
     
    6868          delete_option($option);
    6969        } else
    70           @add_option('ss_'+$option);
     70          add_option('ss_'.$option);
    7171      }
    7272    }
Note: See TracChangeset for help on using the changeset viewer.