[wp-trac] [WordPress Trac] #20486: Pass full post object to clean_post_cache()

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 19 08:52:30 UTC 2012


#20486: Pass full post object to clean_post_cache()
--------------------------+------------------
 Reporter:  duck_         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.4
Component:  Cache         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------

Comment (by GaryJ):

 The second patch still contains a few calls that pass a variable called
 `$post_id` through instead of `$post`. Is that correct? (or can the
 variables be renamed to be better self-documenting)

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


More information about the wp-trac mailing list