Purger purges dates only for "post" type posts
szaqal83 opened this issue · 0 comments
szaqal83 commented
There is a bug in purger.php ad line 144:
if ( $_post_type == 'post' ) {
...dates are being purger only for "post" type posts I think this should be:
if ( in_array($_post_type, get_post_types('', 'names')) ) {
...now it will work also for custom post types.