WordPress.org

Make WordPress Core

Ticket #13257: post-type-link-filter.diff

File post-type-link-filter.diff, 516 bytes (added by bigdawggi, 4 years ago)
  • Users/mrichmond/web/cf.com/wp/wp-includes/link-template.php

     
    204204                $post_link = home_url($post_link); 
    205205        } 
    206206 
    207         return apply_filters('post_type_link', $post_link, $id, $leavename); 
     207        return apply_filters('post_type_link', $post_link, $post, $leavename); 
    208208} 
    209209 
    210210/**