Opened 7 years ago
Last modified 7 years ago
#47619 new defect (bug)
i got error in /wp-includes/media.php
| Reported by: | Asaf Azoulay | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Media | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | administration, coding-standards |
Description
in media php at line 3633 in $strings array you use objects without to check if this objects is exist... thanks!
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi there, welcome to WordPress Trac! Thanks for the report.
For reference, there are four places in the $strings array where
$post_type_objectis used, introduced in #19257 and #33616.It looks like the warning can only be reproduced if either the custom post type is no longer available or the built-in
posttype is unregistered.