Commit d9534e1
committed
Coding Standards: Explicitly return
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@60179 602fd350-edb4-49c9-b593-d223f7449a82null in _wp_filter_build_unique_id().1 parent a1bce5f commit d9534e1
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
987 | | - | |
| 987 | + | |
| 988 | + | |
988 | 989 | | |
989 | 990 | | |
990 | 991 | | |
| |||
1005 | 1006 | | |
1006 | 1007 | | |
1007 | 1008 | | |
| 1009 | + | |
| 1010 | + | |
1008 | 1011 | | |
0 commit comments