Changes between Initial Version and Version 1 of Ticket #29505, comment 1
- Timestamp:
- 09/04/2014 09:16:33 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29505, comment 1
initial v1 10 10 {{{ 11 11 function plugin_activated(){ 12 13 if(update_user_meta( $user->ID, 'wp-lock-bg', serialize($bgs))){ 12 delete_user_option( $user->ID, 'wp-lock-bg-solid'); //deleting one user option 13 if(update_user_meta( $user->ID, 'wp-lock-bg', serialize($bgs))){ //adding another user option 14 14 echo "true"; 15 15 }