Skip to content

Commit 4252fbb

Browse files
john-shafferTim Cooke
andauthored
Bug fix: URLDetector::detectURLs() does not actually add them to the crawl queue (elementor#877)
Co-authored-by: Tim Cooke <[email protected]>
1 parent c7bad23 commit 4252fbb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
- [#844](https://github.com/leonstafford/wp2static/issues/844): Fix crawling of basic auth sites. @thecodeassassin, @vladstanca
2929
- [#855](https://github.com/leonstafford/wp2static/issues/855): Allow setting options to empty values from the CLI. @john-shaffer
3030
- [#850](https://github.com/leonstafford/wp2static/issues/850): Fix to write content to disk, even for cache hits when "Use CrawlCache" is ON. @utchy
31+
- [#877](https://github.com/leonstafford/wp2static/issues/877): Detect from web UI was not adding any URLs. @timothylcooke
3132

3233
## WP2Static 7.1.7 (2021-09-04)
3334

src/Controller.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ public static function wp2staticProcessQueueAdminPost() : void {
684684
public static function wp2staticHeadless() : void {
685685
WsLog::l( 'Running WP2Static in Headless mode' );
686686
WsLog::l( 'Starting URL detection' );
687-
$detected_count = count( URLDetector::detectURLs() );
687+
$detected_count = URLDetector::enqueueURLs();
688688
WsLog::l( "URL detection completed ($detected_count URLs detected)" );
689689

690690
self::wp2staticCrawl();

0 commit comments

Comments
 (0)