WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/11/2012 12:37:31 AM (7 years ago)
Author:
nacin
Message:

Turn XML-RPC on and remove the option on the Writing Settings page.
props markoheijnen for the initial patch.

Introduces a new filter, xmlrpc_enabled.

Respects any current callbacks registered to the pre_option_enable_xmlrpc
and option_enable_xmlrpc filters, for anyone forcing it off via code.

fixes #21509.

File:
1 edited

Legend:

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

    r21501 r21804  
    180180</fieldset></td>
    181181</tr>
    182 <tr valign="top">
    183 <th scope="row"><?php _e('XML-RPC') ?></th>
    184 <td><fieldset><legend class="screen-reader-text"><span><?php _e('XML-RPC') ?></span></legend>
    185 <label for="enable_xmlrpc">
    186 <input name="enable_xmlrpc" type="checkbox" id="enable_xmlrpc" value="1" <?php checked('1', get_option('enable_xmlrpc')); ?> />
    187 <?php _e('Enable the WordPress, Movable Type, MetaWeblog and Blogger XML-RPC publishing protocols.') ?></label><br />
    188 </fieldset></td>
    189 </tr>
    190182<?php do_settings_fields('writing', 'remote_publishing'); ?>
    191183</table>
Note: See TracChangeset for help on using the changeset viewer.