This commit is contained in:
2025-05-13 15:46:37 -07:00
parent 1646f147cf
commit b4e2d28290
2 changed files with 2 additions and 2 deletions

View File

@@ -547,7 +547,7 @@ class Site
// change excerpt langth
if (array_key_exists("excerpt-length", $this->config)) {
add_filter("excerpt-length", fn () => $this->config["excerpt-length"], 999);
add_filter("excerpt-length", fn () => (int) $this->config["excerpt-length"], 999);
}
}