diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-10-15 17:12:03 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2007-10-15 17:12:03 +0000 |
commit | 62be96c8da309f5fb3987d978b926f0e00266030 (patch) | |
tree | c03bd93e82823cfaa19733a87f18be2fae121d14 /wp-admin/wpmu-options.php | |
parent | 157499c240c15fb5bdd3e5ac23f7153638b0b3dc (diff) | |
download | wordpress-mu-62be96c8da309f5fb3987d978b926f0e00266030.tar.gz wordpress-mu-62be96c8da309f5fb3987d978b926f0e00266030.tar.xz wordpress-mu-62be96c8da309f5fb3987d978b926f0e00266030.zip |
Disable xmlrpc posting by default
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1077 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-options.php')
-rw-r--r-- | wp-admin/wpmu-options.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/wp-admin/wpmu-options.php b/wp-admin/wpmu-options.php index 8361389..98114a8 100644 --- a/wp-admin/wpmu-options.php +++ b/wp-admin/wpmu-options.php @@ -57,6 +57,16 @@ if (isset($_GET['updated'])) { <?php _e('Send the site admin an email notification every time someone registers a blog or user account.') ?></td> </tr> <tr valign="top"> + <th scope="row"><?php _e('Enable posting by XMLRPC') ?></th> + <?php + if( !get_site_option('xmlrpc_active') ) + update_site_option( 'xmlrpc_active', 'no' ); + ?> + <td><input name="xmlrpc_active" type="radio" id="xmlrpc_active1" value='yes' <?php echo get_site_option('xmlrpc_active') == 'yes' ? 'checked' : ''; ?> /> Yes<br /> + <input name="xmlrpc_active" type="radio" id="xmlrpc_active2" value='no' <?php echo get_site_option('xmlrpc_active') == 'no' ? 'checked' : ''; ?> /> No<br /> + <?php _e('This is an advanced technique for making posts to blogs. It is used by <a href="http://codex.wordpress.org/Weblog_Client">blog clients</a> like Ecto, Flock and Microsoft Live Writer and by Flickr to post pictures to blogs. Unfortunately it is also extensively used by spammers. <em>Disabled by Default</em>') ?></td> + </tr> + <tr valign="top"> <th scope="row"><?php _e('Welcome Email:') ?></th> <td><textarea name="welcome_email" id="welcome_email" rows='5' cols='45' style="width: 95%"><?php echo stripslashes( get_site_option('welcome_email') ) ?></textarea> <br /> |