mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +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. Fixes #36921. git-svn-id: https://develop.svn.wordpress.org/trunk@37544 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -322,7 +322,7 @@ function _wp_put_post_revision( $post = null, $autosave = false ) {
|
||||
*
|
||||
* @param int|WP_Post $post The post ID or object.
|
||||
* @param string $output Optional. OBJECT, ARRAY_A, or ARRAY_N.
|
||||
* @param string $filter Optional sanitation filter. @see sanitize_post().
|
||||
* @param string $filter Optional sanitation filter. See sanitize_post().
|
||||
* @return WP_Post|array|null Null if error or post object if success.
|
||||
*/
|
||||
function wp_get_post_revision(&$post, $output = OBJECT, $filter = 'raw') {
|
||||
|
||||
Reference in New Issue
Block a user