File tree 3 files changed +11
-0
lines changed
3 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 31
31
- [ #877 ] ( https://github.com/leonstafford/wp2static/issues/877 ) : Detect from web UI was not adding any URLs. @timothylcooke
32
32
- [ #878 ] ( https://github.com/leonstafford/wp2static/issues/878 ) : Fix deletion of old pages when crawl returns 404. @timothylcooke
33
33
- [ #868 ] ( https://github.com/WP2Static/wp2static/pull/868 ) : Detect files in Divi et-cache/ directory when present. @dunklerfox
34
+ - [ #881 ] ( https://github.com/WP2Static/wp2static/pull/881 ) : Crawl XSL files. @vladstanca
34
35
35
36
## WP2Static 7.1.7 (2021-09-04)
36
37
Original file line number Diff line number Diff line change @@ -42,6 +42,9 @@ public function processFile( string $filename ) : void {
42
42
case 'xml ' :
43
43
do_action ( 'wp2static_process_xml ' , $ filename );
44
44
break ;
45
+ case 'xsl ' :
46
+ do_action ( 'wp2static_process_xsl ' , $ filename );
47
+ break ;
45
48
}
46
49
}
47
50
}
Original file line number Diff line number Diff line change @@ -281,6 +281,13 @@ public static function registerHooks( string $bootstrap_file ) : void {
281
281
1
282
282
);
283
283
284
+ add_action (
285
+ 'wp2static_process_xsl ' ,
286
+ [ SimpleRewriter::class, 'rewrite ' ],
287
+ 10 ,
288
+ 1
289
+ );
290
+
284
291
add_action (
285
292
'save_post ' ,
286
293
[ Controller::class, 'wp2staticSavePostHandler ' ],
You can’t perform that action at this time.
0 commit comments