Skip to content

Commit

Permalink
Minor adjustments for the docblock.
Browse files Browse the repository at this point in the history
  • Loading branch information
afercia authored Oct 18, 2024
1 parent 0c3306f commit 33c730f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/editor/src/components/post-featured-image/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,16 @@ function PostFeaturedImage( {
}

/**
* Get image Alt text.
* Generates the featured image alt text for this editing context.
*
* @param {Object} imageMedia - The image media object.
* @param {string} imageMedia.alt_text - The alternative text of the image.
* @param {Object} imageMedia.media_details - The media details of the image.
* @param {Object} imageMedia.media_details.sizes - The sizes of the image.
* @param {Object} imageMedia.media_details.sizes.full - The full size details of the image.
* @param {string} imageMedia.media_details.sizes.full.file - The file name of the full size image.
* @param {string} imageMedia.slug - The slug of the image.
* @return {string} The description of the image.
* @param {Object} imageMedia The image media object.
* @param {string} imageMedia.alt_text The alternative text of the image.
* @param {Object} imageMedia.media_details The media details of the image.
* @param {Object} imageMedia.media_details.sizes The sizes of the image.
* @param {Object} imageMedia.media_details.sizes.full The full size details of the image.
* @param {string} imageMedia.media_details.sizes.full.file The file name of the full size image.
* @param {string} imageMedia.slug The slug of the image.
* @return {string} The featured image alt text.
*/
function getImageDescription( imageMedia ) {
if ( imageMedia.alt_text ) {
Expand Down

0 comments on commit 33c730f

Please sign in to comment.