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/includes/schema.php

    r21803 r21804  
    446446    'avatar_default' => 'mystery',
    447447    'enable_app' => 0,
    448     'enable_xmlrpc' => 0,
    449448
    450449    // 2.7
     
    544543        'can_compress_scripts', 'page_uris', 'update_core', 'update_plugins', 'update_themes', 'doing_cron',
    545544        'random_seed', 'rss_excerpt_length', 'secret', 'use_linksupdate', 'default_comment_status_page',
    546         'wporg_popular_tags', 'what_to_show', 'rss_language', 'language',
     545        'wporg_popular_tags', 'what_to_show', 'rss_language', 'language', 'enable_xmlrpc',
    547546    );
    548547    foreach ( $unusedoptions as $option )
Note: See TracChangeset for help on using the changeset viewer.