Changeset 49376 for branches/5.5
- Timestamp:
- 10/29/2020 04:57:43 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.5/src/wp-includes/class-wp-xmlrpc-server.php
r49273 r49376 4293 4293 4294 4294 $attachment = get_post( $attachment_id ); 4295 if ( ! $attachment ) {4295 if ( ! $attachment || 'attachment' !== $attachment->post_type ) { 4296 4296 return new IXR_Error( 404, __( 'Invalid attachment ID.' ) ); 4297 4297 }
Note: See TracChangeset
for help on using the changeset viewer.