Changeset 49385
- Timestamp:
- 10/29/2020 06:02:22 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/5.5 merged: 49376
- Property svn:mergeinfo changed
-
trunk/src/wp-includes/class-wp-xmlrpc-server.php
r49380 r49385 4312 4312 4313 4313 $attachment = get_post( $attachment_id ); 4314 if ( ! $attachment ) {4314 if ( ! $attachment || 'attachment' !== $attachment->post_type ) { 4315 4315 return new IXR_Error( 404, __( 'Invalid attachment ID.' ) ); 4316 4316 }
Note: See TracChangeset
for help on using the changeset viewer.