diff --git a/wp-includes/class.wp-xmlrpc-server.php b/wp-includes/class.wp-xmlrpc-server.php
index decec33..2f023d5 100644
|
a
|
b
|
class wp_xmlrpc_server extends IXR_Server { |
| 381 | 381 | * |
| 382 | 382 | * @since 2.6.0 |
| 383 | 383 | * |
| 384 | | * @param array $args Method parameters. |
| 385 | | * @return array |
| | 384 | * @param array $args Method parameters. Contains: |
| | 385 | * - username |
| | 386 | * - password |
| | 387 | * @return array. Contains: |
| | 388 | * - 'isAdmin' |
| | 389 | * - 'url' |
| | 390 | * - 'blogid' |
| | 391 | * - 'blogName' |
| | 392 | * - 'xmlrpc' |
| 386 | 393 | */ |
| 387 | 394 | function wp_getUsersBlogs( $args ) { |
| 388 | 395 | global $current_site; |
| … |
… |
class wp_xmlrpc_server extends IXR_Server { |
| 434 | 441 | * |
| 435 | 442 | * @since 2.2.0 |
| 436 | 443 | * |
| 437 | | * @param array $args Method parameters. |
| | 444 | * @param array $args Method parameters. Contains: |
| | 445 | * - blog_id |
| | 446 | * - page_id |
| | 447 | * - username |
| | 448 | * - password |
| 438 | 449 | * @return array |
| 439 | 450 | */ |
| 440 | 451 | function wp_getPage($args) { |
| … |
… |
class wp_xmlrpc_server extends IXR_Server { |
| 535 | 546 | * |
| 536 | 547 | * @since 2.2.0 |
| 537 | 548 | * |
| 538 | | * @param array $args Method parameters. |
| | 549 | * @param array $args Method parameters. Contains: |
| | 550 | * - blog_id |
| | 551 | * - username |
| | 552 | * - password |
| | 553 | * - num_pages |
| 539 | 554 | * @return array |
| 540 | 555 | */ |
| 541 | 556 | function wp_getPages($args) { |
| … |
… |
class wp_xmlrpc_server extends IXR_Server { |
| 581 | 596 | * |
| 582 | 597 | * @since 2.2.0 |
| 583 | 598 | * |
| 584 | | * @param array $args Method parameters. |
| | 599 | * @param array $args Method parameters. See {@link wp_xmlrpc_server::mw_newPost()} |
| 585 | 600 | * @return unknown |
| 586 | 601 | */ |
| 587 | 602 | function wp_newPage($args) { |
| … |
… |
class wp_xmlrpc_server extends IXR_Server { |
| 2037 | 2052 | |
| 2038 | 2053 | /** |
| 2039 | 2054 | * Create a new post. |
| | 2055 | * |
| | 2056 | * The 'content_struct' argument must contain: |
| | 2057 | * - title |
| | 2058 | * - description |
| | 2059 | * - mt_excerpt |
| | 2060 | * - mt_text_more |
| | 2061 | * - mt_keywords |
| | 2062 | * - mt_tb_ping_urls |
| | 2063 | * - categories |
| | 2064 | * |
| | 2065 | * Also, it can optionally contain: |
| | 2066 | * - wp_slug |
| | 2067 | * - wp_password |
| | 2068 | * - wp_page_parent_id |
| | 2069 | * - wp_page_order |
| | 2070 | * - wp_author_id |
| | 2071 | * - post_status | page_status - can be 'draft', 'private', 'publish', or 'pending' |
| | 2072 | * - mt_allow_comments - can be 'open' or 'closed' |
| | 2073 | * - mt_allow_pings - can be 'open' or 'closed' |
| | 2074 | * - date_created_gmt |
| | 2075 | * - dateCreated |
| 2040 | 2076 | * |
| 2041 | 2077 | * @since 1.5.0 |
| 2042 | 2078 | * |
| 2043 | | * @param array $args Method parameters. |
| | 2079 | * @param array $args Method parameters. Contains: |
| | 2080 | * - blog_id |
| | 2081 | * - username |
| | 2082 | * - password |
| | 2083 | * - content_struct |
| | 2084 | * - publish |
| 2044 | 2085 | * @return int |
| 2045 | 2086 | */ |
| 2046 | 2087 | function mw_newPost($args) { |