[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:51:20 UTC 2013


#24232: Don't Use the_title Filter in get_adjacent_post_rel_link()
--------------------------+--------------------------
 Reporter:  mordauk       |       Owner:  markjaquith
     Type:  defect (bug)  |      Status:  accepted
 Priority:  normal        |   Milestone:  3.6
Component:  Template      |     Version:  trunk
 Severity:  major         |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------------
Changes (by markjaquith):

 * owner:   => markjaquith
 * status:  new => accepted
 * milestone:  Awaiting Review => 3.6


Comment:

 [attachment: 24232.2.diff] Alternative approach: allow
 `the_title_attribute()` to take a `post` argument.

 Note that this doesn't solve mordauk's issue. Instead, Pippin, I suggest
 that you put a safety check on your callback such that it bails if `!
 did_action( 'wp_head' )`.

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


More information about the wp-trac mailing list