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

File post-type-link-filter.diff, 516 bytes (added by bigdawggi, 3 years ago)
Line 
1Index: /Users/mrichmond/web/cf.com/wp/wp-includes/link-template.php
2===================================================================
3--- /Users/mrichmond/web/cf.com/wp/wp-includes/link-template.php        (revision 14459)
4+++ /Users/mrichmond/web/cf.com/wp/wp-includes/link-template.php        (working copy)
5@@ -204,7 +204,7 @@
6                $post_link = home_url($post_link);
7        }
8 
9-       return apply_filters('post_type_link', $post_link, $id, $leavename);
10+       return apply_filters('post_type_link', $post_link, $post, $leavename);
11 }
12 
13 /**