git: ba7d478eb111 - main - www/wordpress: Fix "call to undefined function filter_var()"

From: Vladimir Druzenko <vvd_at_FreeBSD.org>
Date: Mon, 20 Oct 2025 01:08:52 UTC
The branch main has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ba7d478eb1112d20d73dd430d9d513330fbae4fa

commit ba7d478eb1112d20d73dd430d9d513330fbae4fa
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-10-20 01:06:17 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-10-20 01:08:47 +0000

    www/wordpress: Fix "call to undefined function filter_var()"
    
    WordPress needs USE_PHP=filter installed, otherwise some things will
    fail complaining about "call to undefined function filter_var()".
    
    PR:             278330
    Approved by:    joneum (maintainer, timeout > 1.5 years)
    MFH:            2025Q4
---
 www/wordpress/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/www/wordpress/Makefile b/www/wordpress/Makefile
index 947c07dd2c1e..db541fd6c7ca 100644
--- a/www/wordpress/Makefile
+++ b/www/wordpress/Makefile
@@ -29,7 +29,7 @@ PKGNAMESUFFIX=	-${WORDPRESS_LANG}
 CPE_LANG=	${WORDPRESS_LANG}
 .endif
 
-USE_PHP=	curl exif fileinfo ftp gd mysqli tokenizer xml zip zlib
+USE_PHP=	curl exif fileinfo filter ftp gd mysqli tokenizer xml zip zlib
 CONFLICTS_INSTALL=	??-wordpress
 NO_ARCH=	yes
 NO_BUILD=	yes