Ticket #16316: patch.diff
File patch.diff, 677 bytes (added by , 13 years ago) |
---|
-
wp-includes/class-wp-xmlrpc-server.php
### Eclipse Workspace Patch 1.0 #P wordpress.org
2881 2881 $blog_ID = (int) $args[0]; 2882 2882 $username = $args[1]; 2883 2883 $password = $args[2]; 2884 if ( isset( $args[3] ) ) 2884 if ( isset( $args[3] ) ) { 2885 2885 $query = array( 'numberposts' => absint( $args[3] ) ); 2886 else 2886 if ( isset( $args[4] ) ) 2887 $query['offset'] = absint( $args[4] ); 2888 } else 2887 2889 $query = array(); 2888 2890 2889 2891 if ( !$user = $this->login($username, $password) )