[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:30:01 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):

 Doh. But you can't pass in a post ID to `the_title_attribute()`. It is
 loop-only.

 We can't lose the `the_title` filter here... that would be unexpected. We
 should, however, strip tags. Patch coming.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24232#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list