diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-05 17:20:49 +0000 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2008-08-05 17:20:49 +0000 |
commit | d0794591bad8df620cbff7a97594761491f2fe2a (patch) | |
tree | 5918554aa51afd03c1039e9b3a2aa4801ee71abc /update/plugin/wordpress | |
parent | 71dc119b2769269578aa0e84e75cf5dbf3c625e8 (diff) | |
download | instadisc-d0794591bad8df620cbff7a97594761491f2fe2a.tar.gz instadisc-d0794591bad8df620cbff7a97594761491f2fe2a.tar.bz2 instadisc-d0794591bad8df620cbff7a97594761491f2fe2a.zip |
Update: Added default title to Wordpress plugin
Now the Subscription Title defaults to the blog's name.
Diffstat (limited to 'update/plugin/wordpress')
-rw-r--r-- | update/plugin/wordpress/trunk/instadisc/instadisc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/update/plugin/wordpress/trunk/instadisc/instadisc.php b/update/plugin/wordpress/trunk/instadisc/instadisc.php index 629987e..07a6cf6 100644 --- a/update/plugin/wordpress/trunk/instadisc/instadisc.php +++ b/update/plugin/wordpress/trunk/instadisc/instadisc.php | |||
@@ -25,6 +25,11 @@ Author URI: http://fourisland.com | |||
25 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | 25 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
26 | */ | 26 | */ |
27 | 27 | ||
28 | if (get_option('instaDisc_subscription_title') === FALSE) | ||
29 | { | ||
30 | add_option('instaDisc_subscription_title',get_option('blogname')); | ||
31 | } | ||
32 | |||
28 | add_action('admin_menu', 'am_pages'); | 33 | add_action('admin_menu', 'am_pages'); |
29 | 34 | ||
30 | function am_pages() | 35 | function am_pages() |