WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #33070, comment 16


Ignore:
Timestamp:
09/05/2015 10:54:57 PM (4 years ago)
Author:
swissspidy
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33070, comment 16

    initial v1  
    11Gonna need some unit tests too, see #33723.
     2
     3Edit: Actually, after #33723 `$post_id = get_post( $post_id );` isn't needed here, because `get_post_thumbnail_id` would accept a `WP_Post` object. The docblock/params need to be changed to clarify this though.