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

WordPress Trac noreply at wordpress.org
Thu Jan 14 15:55:32 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.7
Component:  Media                                |     Version:  4.6
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-dev-   |     Focuses:
  note                                           |
-------------------------------------------------+-------------------------

Comment (by antpb):

 There was general agreement in the recent Media meeting that broadening
 this to other functions is not desirable and instead it would be more
 appropriate to create new tickets for other functions that would adopt
 this structure. Broadening the ticket runs the risk of being across many
 teams that need to take special consideration to the change.

 Also, as @johnbillion mentioned, this has a lot of untested code being
 touched so this ticket should have careful manual testing and bonus points
 for test coverage! :D

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


More information about the wp-trac mailing list