Changeset 31092
- Timestamp:
- 01/08/2015 07:20:17 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r31090 r31092 2546 2546 $username = $this->escape($args[1]); 2547 2547 $password = $this->escape($args[2]); 2548 $page = $args[3];2549 $publish = $args[4];2550 2548 2551 2549 if ( !$user = $this->login($username, $password) ) … … 4214 4212 $password = $args[3]; 4215 4213 $content = $args[4]; 4216 $publish = $args[5];4217 4214 4218 4215 if ( ! $user = $this->login( $username, $password ) ) { … … 4280 4277 $username = $args[2]; 4281 4278 $password = $args[3]; 4282 $publish = $args[4];4283 4279 4284 4280 if ( !$user = $this->login($username, $password) ) … … 4450 4446 default: 4451 4447 return new IXR_Error( 401, __( 'Invalid post type' ) ); 4452 break;4453 4448 } 4454 4449 $author = get_userdata( $content_struct['wp_author_id'] ); … … 4738 4733 4739 4734 // Let WordPress manage slug if none was provided. 4740 $post_name = "";4741 4735 $post_name = $postdata['post_name']; 4742 4736 if ( isset($content_struct['wp_slug']) ) … … 4774 4768 default: 4775 4769 return new IXR_Error( 401, __( 'Invalid post type' ) ); 4776 break;4777 4770 } 4778 4771 $post_author = $content_struct['wp_author_id']; … … 5685 5678 $pagelinkedfrom = $args[0]; 5686 5679 $pagelinkedto = $args[1]; 5687 5688 $title = '';5689 5680 5690 5681 $pagelinkedfrom = str_replace('&', '&', $pagelinkedfrom);
Note: See TracChangeset
for help on using the changeset viewer.