[wp-trac] [WordPress Trac] #37255: Update attachment functions to accept a post object in addition to ID
WordPress Trac
noreply at wordpress.org
Tue Oct 20 16:50:43 UTC 2020
#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 |
-------------------------------------------------+-------------------------
Changes (by johnbillion):
* milestone: 5.6 => 5.7
Comment:
I'm going to bump this as I haven't had a chance to fully test this even
though I agree with the overall change, and it's not part of any specific
5.6 focus. In addition, this touches a lot of code that doesn't have test
coverage.
Related: #51553 depending on the decision made in that ticket around back-
compat for parameter name changes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37255#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list