[wp-trac] [WordPress Trac] #24002: Improve get_the_post_format_media and get_the_post_format_image caching

WordPress Trac noreply at wordpress.org
Tue Apr 9 12:13:09 UTC 2013


#24002: Improve get_the_post_format_media and get_the_post_format_image caching
--------------------------+--------------------
 Reporter:  kovshenin     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.6
Component:  Post Formats  |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+--------------------
Changes (by kovshenin):

 * keywords:  needs-patch => has-patch


Comment:

 [attachment:24002.diff] makes `format_content` an array and uses a
 `$cache_key` to store things inside for `get_the_post_format_image` and
 `get_the_post_format_media` functions.

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


More information about the wp-trac mailing list