mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Docs: Apply inline @see tags to hooks referenced in DocBlocks in a variety of wp-includes/* files.
Applying these specially-crafted `@see` tags allows the Code Reference parser to recognize and link these elements as actions and filters. See #36921. git-svn-id: https://develop.svn.wordpress.org/trunk@37543 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -32,7 +32,7 @@ function the_permalink( $post = 0 ) {
|
||||
*
|
||||
* Conditionally adds a trailing slash if the permalink structure has a trailing
|
||||
* slash, strips the trailing slash if not. The string is passed through the
|
||||
* 'user_trailingslashit' filter. Will remove trailing slash from string, if
|
||||
* {@see 'user_trailingslashit'} filter. Will remove trailing slash from string, if
|
||||
* site is not set to have them.
|
||||
*
|
||||
* @since 2.2.0
|
||||
@@ -3665,7 +3665,7 @@ function wp_shortlink_wp_head() {
|
||||
/**
|
||||
* Sends a Link: rel=shortlink header if a shortlink is defined for the current page.
|
||||
*
|
||||
* Attached to the wp action.
|
||||
* Attached to the {@see 'wp'} action.
|
||||
*
|
||||
* @since 3.0.0
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user