[wp-trac] [WordPress Trac] #14299: get_post_permalink incorrect documentation and variable name

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 13 21:57:07 UTC 2010


#14299: get_post_permalink incorrect documentation and variable name
--------------------------+-------------------------------------------------
 Reporter:  filosofo      |        Owner:        
     Type:  defect (bug)  |       Status:  closed
 Priority:  normal        |    Milestone:  3.0.1 
Component:  Post Types    |      Version:  3.0   
 Severity:  normal        |   Resolution:  fixed 
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------

Comment(by nacin):

 (In [15412]) get_post_permalink() should take a post ID and pass the post
 object to the filter. Note that the filter received a post object
 previously as the  variable. props filosofo, fixes #14299 for 3.0.

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


More information about the wp-trac mailing list