Make WordPress Core

Changeset 19706


Ignore:
Timestamp:
01/07/2012 07:08:48 PM (15 years ago)
Author:
nacin
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-xmlrpc-server.php

    r19687 r19706  
    372372                                'readonly'              => false,
    373373                                'option'                => 'large_size_h'
     374                        ),
     375                        'default_comment_status'        => array(
     376                                'desc'                  => __( 'Allow people to post comments on new articles' ),
     377                                'readonly'              => false,
     378                                'option'                => 'default_comment_status'
     379                        ),
     380                        'default_ping_status'   => array(
     381                                'desc'                  => __( 'Allow link notifications from other blogs (pingbacks and trackbacks)' ),
     382                                'readonly'              => false,
     383                                'option'                => 'default_ping_status'
    374384                        )
    375385                );
Note: See TracChangeset for help on using the changeset viewer.