mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-04 22:57:20 +00:00
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user