[wp-trac] [WordPress Trac] #63028: PHP Warning caused by media.php and formatting.php
WordPress Trac
noreply at wordpress.org
Thu Feb 27 07:25:13 UTC 2025
#63028: PHP Warning caused by media.php and formatting.php
-------------------------------+------------------------------
Reporter: isrgrajan | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 6.7.2
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by dd32):
* keywords: => reporter-feedback
* component: General => Media
Comment:
> Process media uploads where the attachment's post parent is set as an
array.
Can you provide an example to duplicate that?
`$attachment` here should be a `WP_Post` object, which can only have a
singular scalar ID.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63028#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list