Changeset 22034
- Timestamp:
- 09/27/2012 03:39:40 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/class-wp-xmlrpc-server.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r21959 r22034 Β 1259 1259 return new IXR_Error( 404, __( 'Invalid post ID.' ) ); 1260 1260 Β 1261 if ( isset( $content_struct['if_not_modified_since'] ) ) { Β 1262 // If the post has been modified since the date provided, return an error. Β 1263 if ( mysql2date( 'U', $post['post_modified_gmt'] ) > $content_struct['if_not_modified_since']->getTimestamp() ) { Β 1264 return new IXR_Error( 409, __( 'There is a revision of this post that is more recent.' ) ); Β 1265 } Β 1266 } Β 1267 1261 1268 // convert the date field back to IXR form 1262 1269 $post['post_date'] = $this->_convert_date( $post['post_date'] ); β¦ β¦ Β 1476 1483 $query['order'] = $filter['order']; 1477 1484 } 1478 Β Β 1485 1479 1486 if ( isset( $filter['s'] ) ) { 1480 1487 $query['s'] = $filter['s'];
Note: See TracChangeset
for help on using the changeset viewer.