WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/20/2008 03:39:41 PM (12 years ago)
Author:
ryan
Message:

Disable remote publishing by default. Add options to turn them back on. Props josephscott. see #7157

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-writing.php

    r7997 r8136  
    5757</tr>
    5858</table>
     59
     60<h3><?php _e('Remote Publishing') ?></h3>
     61<p><?php printf(__('To post to WordPress from a desktop blogging client or remote website that uses the Atom Publishing Protocol or one of the XML-RPC publishing interfaces you must enable them below.')) ?></p>
     62<table class="form-table">
     63<tr valign="top">
     64<th scope="row"><?php _e('Atom Publishing Protocol') ?></th>
     65<td><fieldset><legend class="hidden"><?php _e('Atom Publishing Protocol') ?></legend>
     66<label for="enable_app">
     67<input name="enable_app" type="checkbox" id="enable_app" value="1" <?php checked('1', get_option('enable_app')); ?> />
     68<?php _e('Enable the Atom Publishing Protocol.') ?></label><br />
     69</fieldset></td>
     70</tr>
     71<tr valign="top">
     72<th scope="row"><?php _e('XML-RPC') ?></th>
     73<td><fieldset><legend class="hidden"><?php _e('XML-RPC') ?></legend>
     74<label for="enable_xmlrpc">
     75<input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
     76<?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br />
     77</fieldset></td>
     78</tr></table>
    5979
    6080<h3><?php _e('Post via e-mail') ?></h3>
Note: See TracChangeset for help on using the changeset viewer.