Expose default_ping_status and default_comment_status via XML-RPC. props daniloercoli. fixes #18566.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
ed9d705b83
commit
01736fb650
|
@ -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'
|
||||
)
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue