[wp-trac] [WordPress Trac] #45352: wp_targeted_link_rel filter can result in rel attribute with no value
WordPress Trac
noreply at wordpress.org
Sun Nov 25 13:57:15 UTC 2018
#45352: wp_targeted_link_rel filter can result in rel attribute with no value
-------------------------------------------------+-------------------------
Reporter: spartank | Owner:
| SergeyBiryukov
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 5.1
Component: Formatting | Version: trunk
Severity: normal | Resolution:
Keywords: good-first-bug has-patch has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
[attachment:"45352.2.diff"] looks good at a glance.
`filter_empty_targeted_link_rel()` can be replaced with the existing
`__return_empty_string()` function.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45352#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list