elementor / elementor/wp2static

SuperCache cache sites got addtet to detection list

Open
#782 1 comment 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
PHP
Stars
1.5k
Forks
294
PR merge metrics
No merged PRs in 30d

Description

The problem here is that in DetectPostsPagionationURLs the post type "oembed_cache" is not excluded from the query. This results in URLs that does not exist on the site.
For SuperCache the solution would be to exclude oembed_cachejust like nav_menu_item and revision.
A more general approach would be so let configure an list of excluded post_types.

Sidenote:
I forked this project (swtrse/wp2static) and did include all the changes to optimize this plugin to my needs.
Maybe someone finds this useful.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.