WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #17069, comment 5


Ignore:
Timestamp:
02/23/12 14:45:30 (6 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17069, comment 5

    initial v1  
    11another argument missing on line 59 on function get_term_link, missed $taxonomy and use $parent->slug instead. 
    22 
    3 '''actual''': $chain .= '<a href="' . get_term_link( $parent->term_id ) . '" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $parent->name ) ) . '">'.$name.'</a>' . $separator; 
     3'''actual''': {{{$chain .= '<a href="' . get_term_link( $parent->term_id ) . '" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $parent->name ) ) . '">'.$name.'</a>' . $separator;}}} 
    44 
    5 '''should be''': $chain .= '<a href="' . get_term_link( '''$parent->slug, $taxonomy''') . '" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $parent->name ) ) . '">'.$name.'</a>' . $separator; 
     5'''should be''': {{{$chain .= '<a href="' . get_term_link( '''$parent->slug, $taxonomy''') . '" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $parent->name ) ) . '">'.$name.'</a>' . $separator;}}}