about summary refs log tree commit diff stats
path: root/update
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-21 14:54:15 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-21 14:54:15 +0000
commit09d7b6c435b4884cff4d2c3da6bc6807cacaaef0 (patch)
treea8fb26baf54e7718447788fcfc95c3b563535eed /update
parentc7cfdc1c65dfb4a554c47a9b241cb14c07c21a96 (diff)
downloadinstadisc-09d7b6c435b4884cff4d2c3da6bc6807cacaaef0.tar.gz
instadisc-09d7b6c435b4884cff4d2c3da6bc6807cacaaef0.tar.bz2
instadisc-09d7b6c435b4884cff4d2c3da6bc6807cacaaef0.zip
Update: Added default values
Refs #38
Diffstat (limited to 'update')
-rw-r--r--update/plugin/wordpress/trunk/instadisc/instadisc.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/update/plugin/wordpress/trunk/instadisc/instadisc.php b/update/plugin/wordpress/trunk/instadisc/instadisc.php index 01e76b6..07e23f0 100644 --- a/update/plugin/wordpress/trunk/instadisc/instadisc.php +++ b/update/plugin/wordpress/trunk/instadisc/instadisc.php
@@ -30,6 +30,16 @@ if (get_option('instaDisc_subscription_title') === FALSE)
30 add_option('instaDisc_subscription_title',get_option('blogname')); 30 add_option('instaDisc_subscription_title',get_option('blogname'));
31} 31}
32 32
33if (get_option('instaDisc_blogPost_password') === FALSE)
34{
35 add_option('instaDisc_blogPost_password','');
36}
37
38if (get_option('instaDisc_comment_password') === FALSE)
39{
40 add_option('instaDisc_comment_password','');
41}
42
33add_action('admin_menu', 'am_pages'); 43add_action('admin_menu', 'am_pages');
34 44
35function am_pages() 45function am_pages()