about summary refs log tree commit diff stats
path: root/update/plugin/wordpress
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2008-08-05 17:20:49 +0000
committerKelly Rauchenberger <fefferburbia@gmail.com>2008-08-05 17:20:49 +0000
commitd0794591bad8df620cbff7a97594761491f2fe2a (patch)
tree5918554aa51afd03c1039e9b3a2aa4801ee71abc /update/plugin/wordpress
parent71dc119b2769269578aa0e84e75cf5dbf3c625e8 (diff)
downloadinstadisc-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.php5
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
28if (get_option('instaDisc_subscription_title') === FALSE)
29{
30 add_option('instaDisc_subscription_title',get_option('blogname'));
31}
32
28add_action('admin_menu', 'am_pages'); 33add_action('admin_menu', 'am_pages');
29 34
30function am_pages() 35function am_pages()