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

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 13 20:04:01 UTC 2010


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

Comment(by filosofo):

 `make_argument_actually_integer_but_keep_filter.14299.diff` is probably a
 better approach: it keeps the stated argument value for
 `get_post_permalink` as an integer and consistently uses it as such, but
 explicitly passes the post object to the filter.

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


More information about the wp-trac mailing list