summaryrefslogtreecommitdiffstatshomepage
path: root/.github
diff options
context:
space:
mode:
authorSergey Biryukov <sergeybiryukov@git.wordpress.org>2025-04-12 22:40:17 +0000
committerSergey Biryukov <sergeybiryukov@git.wordpress.org>2025-04-12 22:40:17 +0000
commitd664c3c8f48ed379f8a9720a7d74d518fe3f8100 (patch)
treefd2374fbfdc583ec79741c78c3144a3b1267eca9 /.github
parent4ce25a5b915ce4409fb6339b8b1ce46fc10aeb0a (diff)
downloadwordpress-d664c3c8f48ed379f8a9720a7d74d518fe3f8100.tar.gz
wordpress-d664c3c8f48ed379f8a9720a7d74d518fe3f8100.zip
Coding Standards: Correct `$post` parameter default values in `link-template.php`.
This commit corrects the default post ID parameter values used in several functions to bring them in line with their `int` doctypes (and the doctypes of their internal function calls). More specifically, * `get_page_link()`: `$post = false` changed to `$post = 0` * `_get_page_link()`: `$post = false` changed to `$post = 0` * `post_comments_feed_link()`: `$post_id = ''` changed to `$post_id = 0` Follow-up to [1752], [4475], [6365], [9136], [9274], [21735], [24490], [32606], [37252]. Props justlevine. See #63268. git-svn-id: https://develop.svn.wordpress.org/trunk@60152 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions