[wp-trac] [WordPress Trac] #46800: protect against bad characters in media attachment metadata
WordPress Trac
noreply at wordpress.org
Thu Aug 8 10:32:28 UTC 2019
#46800: protect against bad characters in media attachment metadata
----------------------------------------+------------------------
Reporter: donpark | Owner: joemcgill
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: 5.3
Component: Media | Version: 5.2
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+------------------------
Comment (by donmhico):
Replying to [comment:7 deyanpavlov]:
> How do I use this file 46800.diff to patch my WordPress installation?
Can I do it from the admin panel without really doing developer's kind of
work to edit the source files?
I think the most "friendliest" for non-dev is to just copy and paste the
actual code changes in your `wp-admin/includes/media.php` file. Just be
sure that you are in the correct block of code. The line number from the
diff can be used as a guide for you but it may be possible that it's not
accurate.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46800#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list