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:
parent
723ed39622
commit
921ba280d2
@ -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
Block a user