Files
wordpress/wp-includes
Sergey Biryukov 48208f6a52 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.
Built from https://develop.svn.wordpress.org/trunk@60152


git-svn-id: http://core.svn.wordpress.org/trunk@59488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2025-04-12 22:42:30 +00:00
..
2025-04-01 12:11:49 +00:00
2025-02-28 13:30:21 +00:00