Ticket #5292: 5292.diff

File 5292.diff, 0.7 kB (added by mdawaffe, 10 months ago)
  • wp-includes/post.php

    old new  
    15841584        } else { 
    15851585                $lastpostdate = $cache_lastpostdate[$blog_id][$timezone]; 
    15861586        } 
    1587         return apply_filters( 'get_lastpostdate', $lastpostdate ); 
     1587        return apply_filters( 'get_lastpostdate', $lastpostdate, $timezone ); 
    15881588} 
    15891589 
    15901590function get_lastpostmodified($timezone = 'server') { 
     
    16111611        } else { 
    16121612                $lastpostmodified = $cache_lastpostmodified[$blog_id][$timezone]; 
    16131613        } 
    1614         return apply_filters( 'get_lastpostmodified', $lastpostmodified ); 
     1614        return apply_filters( 'get_lastpostmodified', $lastpostmodified, $timezone ); 
    16151615} 
    16161616 
    16171617//