Skip to content

Purger purges dates only for "post" type posts #40

@szaqal83

Description

@szaqal83

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions