[wp-trac] [WordPress Trac] #14294: get_permalink() calling get_post_permalink() with post object instead of post ID

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 13 18:19:51 UTC 2010


#14294: get_permalink() calling get_post_permalink() with post object instead of
post ID
--------------------------+-------------------------------------------------
 Reporter:  mikeschinkel  |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Post Types    |     Version:  3.0            
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by nacin):

 #14299

 Makes sense we should ensure the filter always returns an ID, I think. Or
 maybe always a post object. Not sure which is more expected.

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


More information about the wp-trac mailing list