[wp-trac] [WordPress Trac] #37255: Update attachment functions to accept a post object in addition to ID

WordPress Trac noreply at wordpress.org
Fri Jul 9 01:39:41 UTC 2021


#37255: Update attachment functions to accept a post object in addition to ID
-------------------------------------------------+-------------------------
 Reporter:  wido                                 |       Owner:
                                                 |  johnbillion
     Type:  enhancement                          |      Status:  accepted
 Priority:  normal                               |   Milestone:  5.9
Component:  Media                                |     Version:  4.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-dev-   |     Focuses:
  note needs-testing-info                        |
-------------------------------------------------+-------------------------
Changes (by Howdy_McGee):

 * Attachment "tests-attachment-passedPost.diff" added.

 PHPUnit tests for patched functions

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/37255>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list