[wp-trac] [WordPress Trac] #46316: wp_targeted_link_rel corrupts JSON content
WordPress Trac
noreply at wordpress.org
Fri May 17 12:11:16 UTC 2019
#46316: wp_targeted_link_rel corrupts JSON content
-------------------------------------------------+-------------------------
Reporter: TobiasBg | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Formatting | Version: 5.1
Severity: normal | Resolution: fixed
Keywords: dev-feedback has-patch has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
In [changeset:"45349" 45349]:
{{{
#!CommitTicketReference repository="" revision="45349"
Formatting: Adjust `wp_targeted_link_rel()` to ensure JSON format is
preserved and correct quotes are used when adding the missing `rel`
attribute.
Props birgire, TobiasBg, fierevere, audrasjb, SergeyBiryukov.
Merges [45348] to the 5.2 branch.
Fixes #46316, #47244.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46316#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list