Ticket #4801: 4801.diff
| File 4801.diff, 632 bytes (added by rob1n, 6 years ago) |
|---|
-
wp-includes/post.php
1670 1670 } else { 1671 1671 $lastpostdate = $cache_lastpostdate[$blog_id][$timezone]; 1672 1672 } 1673 return $lastpostdate;1673 return apply_filters( 'get_lastpostdate', $lastpostdate ); 1674 1674 } 1675 1675 1676 1676 function get_lastpostmodified($timezone = 'server') { … … 1697 1697 } else { 1698 1698 $lastpostmodified = $cache_lastpostmodified[$blog_id][$timezone]; 1699 1699 } 1700 return $lastpostmodified;1700 return apply_filters( 'get_lastpostmodified', $lastpostmodified ); 1701 1701 } 1702 1702 1703 1703 //