[wp-trac] [WordPress Trac] #24232: Don't Use the_title Filter in get_adjacent_post_rel_link()
WordPress Trac
noreply at wordpress.org
Tue Jul 23 15:18:48 UTC 2013
#24232: Don't Use the_title Filter in get_adjacent_post_rel_link()
--------------------------+------------------------------
Reporter: mordauk | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Template | Version: trunk
Severity: major | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by markjaquith):
Hmm. I don't know. Injecting HTML like that seems wrong. Or that it should
at least have an "in the loop" safety check. But that's besides the point.
We should be using `the_title_attribute()` here (it has an echo flag).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24232#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list