elementor / elementor/wp2static

Issue with Url-analysis before file writing

Open
#704 1 comment 1 reaction 0 assignees View on GitHub
Awaiting user response bug
Dominant language
PHP
Stars
1.5k
Forks
294
PR merge metrics
No merged PRs in 30d

Description

Hi, Leon. I have an issue with converting post urls in static files when the permalinks are setted without slash at the end of post/page slug. In src/Crawler I found possible cause of this bug: https://github.com/leonstafford/wp2static/blob/develop/src/Crawler.php#L150 i.e without end-slash Crawler's code recognizes such post link as file without extension. In old version(6.x) of plugin this logic contains php function `pathinfo()` which performs this task more accurately.

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.