Files
wordpress/wp-includes/plugin.php
Sergey Biryukov 47a1161215 Coding Standards: Explicitly return null in _wp_filter_build_unique_id().
This commit updates the function to explicitly return `null` if a valid `$callback` is not passed. Previously, the function could return `void`, but was typed as only returning a string.

Follow-up to [5936], [11409], [12090], [46220], [46801], [50807], [52300].

Props justlevine.
See #63268.
Built from https://develop.svn.wordpress.org/trunk@60179


git-svn-id: http://core.svn.wordpress.org/trunk@59515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-22 15:35:36 +00:00

35 KiB