This pull request removes a check that requires that an ID passed to Timmy::get_image() has be a WordPress post with an attachment post type. Instead, it now only checks if it is a WordPress post.
This allows developers to work with post types that work the same as attachments, but don’t have attachment as post type.
Ticket
82
This pull request removes a check that requires that an ID passed to Timmy::get_image() has be a WordPress post with an
attachment
post type. Instead, it now only checks if it is a WordPress post.This allows developers to work with post types that work the same as attachments, but don’t have
attachment
as post type.