mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 12:50:28 +00:00
Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.
Follow-up to [48104]. See #53399. git-svn-id: https://develop.svn.wordpress.org/trunk@52357 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3987,7 +3987,7 @@ function rel_canonical() {
|
||||
* @since 3.0.0
|
||||
*
|
||||
* @param int $id Optional. A post or site ID. Default is 0, which means the current post or site.
|
||||
* @param string $context Optional. Whether the ID is a 'site' id, 'post' id, or 'media' id. If 'post',
|
||||
* @param string $context Optional. Whether the ID is a 'site' ID, 'post' ID, or 'media' ID. If 'post',
|
||||
* the post_type of the post is consulted. If 'query', the current query is consulted
|
||||
* to determine the ID and context. Default 'post'.
|
||||
* @param bool $allow_slugs Optional. Whether to allow post slugs in the shortlink. It is up to the plugin how
|
||||
|
||||
Reference in New Issue
Block a user