diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-21 14:54:15 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-21 14:54:15 +0000 |
commit | 09d7b6c435b4884cff4d2c3da6bc6807cacaaef0 (patch) | |
tree | a8fb26baf54e7718447788fcfc95c3b563535eed /update/plugin | |
parent | c7cfdc1c65dfb4a554c47a9b241cb14c07c21a96 (diff) | |
download | instadisc-09d7b6c435b4884cff4d2c3da6bc6807cacaaef0.tar.gz instadisc-09d7b6c435b4884cff4d2c3da6bc6807cacaaef0.tar.bz2 instadisc-09d7b6c435b4884cff4d2c3da6bc6807cacaaef0.zip |
Update: Added default values
Refs #38
Diffstat (limited to 'update/plugin')
-rw-r--r-- | update/plugin/wordpress/trunk/instadisc/instadisc.php | 10 |
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 | ||
33 | if (get_option('instaDisc_blogPost_password') === FALSE) | ||
34 | { | ||
35 | add_option('instaDisc_blogPost_password',''); | ||
36 | } | ||
37 | |||
38 | if (get_option('instaDisc_comment_password') === FALSE) | ||
39 | { | ||
40 | add_option('instaDisc_comment_password',''); | ||
41 | } | ||
42 | |||
33 | add_action('admin_menu', 'am_pages'); | 43 | add_action('admin_menu', 'am_pages'); |
34 | 44 | ||
35 | function am_pages() | 45 | function am_pages() |