Files
wordpress/wp-includes/html-api
jonsurrell 6109c149d5 HTML API: Use more universal syntax to call Closure variable.
Replace `( $fn )( ...$args )` syntax with equivalent `call_user_func( $fn, ...$args )` to prevent an issue with the WordPress documentation parser. The parser would fail when encountering this syntax, preventing documentation generation.

Developed in https://github.com/WordPress/wordpress-develop/pull/10907.

Follow-up to [58304].

Props dmsnell, jonsurrell.
See #64224, #61348.

Built from https://develop.svn.wordpress.org/trunk@61624


git-svn-id: http://core.svn.wordpress.org/trunk@60935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2026-02-12 15:48:42 +00:00
..