[wp-trac] [WordPress Trac] #22135: Special characters in caption lead to failure of inserting images
WordPress Trac
noreply at wordpress.org
Wed Nov 18 19:39:21 UTC 2015
#22135: Special characters in caption lead to failure of inserting images
--------------------------+-----------------------------------------
Reporter: TobiasBg | Owner: chriscct7
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.4
Component: Media | Version: 3.4.2
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: javascript, administration
--------------------------+-----------------------------------------
Changes (by wonderboymusic):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"35677"]:
{{{
#!CommitTicketReference repository="" revision="35677"
Media: in `media_send_to_editor()`, use `wp_json_encode()` instead of
`addslashes()`.
Props TobiasBg.
Fixes #22135.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22135#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list