Expose default_ping_status and default_comment_status via XML-RPC. props daniloercoli. fixes #18566.

git-svn-id: https://develop.svn.wordpress.org/trunk@19706 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2012-01-07 19:08:48 +00:00
parent 723ed39622
commit 921ba280d2
1 changed files with 10 additions and 0 deletions

View File

@ -371,6 +371,16 @@ class wp_xmlrpc_server extends IXR_Server {
'desc' => __( 'Large size image height' ),
'readonly' => false,
'option' => 'large_size_h'
),
'default_comment_status' => array(
'desc' => __( 'Allow people to post comments on new articles' ),
'readonly' => false,
'option' => 'default_comment_status'
),
'default_ping_status' => array(
'desc' => __( 'Allow link notifications from other blogs (pingbacks and trackbacks)' ),
'readonly' => false,
'option' => 'default_ping_status'
)
);