From d0794591bad8df620cbff7a97594761491f2fe2a Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 5 Aug 2008 17:20:49 +0000 Subject: Update: Added default title to Wordpress plugin Now the Subscription Title defaults to the blog's name. --- update/plugin/wordpress/trunk/instadisc/instadisc.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'update/plugin/wordpress') 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 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ +if (get_option('instaDisc_subscription_title') === FALSE) +{ + add_option('instaDisc_subscription_title',get_option('blogname')); +} + add_action('admin_menu', 'am_pages'); function am_pages() -- cgit 1.4.1