Docs: Various formatting improvements to inline docblocks.

See #49572

git-svn-id: https://develop.svn.wordpress.org/trunk@48574 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
John Blackbourn
2020-07-23 00:50:57 +00:00
parent 4b2abac911
commit 5e35ad2510
25 changed files with 81 additions and 74 deletions
+5 -5
View File
@@ -13,7 +13,7 @@
*
* @since 2.6.0
*
* @param bool $update Are we updating a pre-existing post?
* @param bool $update Are we updating a pre-existing post?
* @param array $post_data Array of post data. Defaults to the contents of $_POST.
* @return array|WP_Error Array of post data on success, WP_Error on failure.
*/
@@ -1505,13 +1505,13 @@ function get_sample_permalink_html( $id, $new_title = null, $new_slug = null ) {
}
/**
* Output HTML for the post thumbnail meta-box.
* Returns HTML for the post thumbnail meta box.
*
* @since 2.9.0
*
* @param int $thumbnail_id ID of the attachment used for thumbnail
* @param int|WP_Post $post Optional. The post ID or object associated with the thumbnail, defaults to global $post.
* @return string html
* @param int $thumbnail_id ID of the attachment used for thumbnail
* @param int|WP_Post $post Optional. The post ID or object associated with the thumbnail, defaults to global $post.
* @return string The post thumbnail HTML.
*/
function _wp_post_thumbnail_html( $thumbnail_id = null, $post = null ) {
$_wp_additional_image_sizes = wp_get_additional_image_sizes();