summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/theme-tools/content-options/featured-images-fallback.php')
-rw-r--r--plugins/jetpack/modules/theme-tools/content-options/featured-images-fallback.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/jetpack/modules/theme-tools/content-options/featured-images-fallback.php b/plugins/jetpack/modules/theme-tools/content-options/featured-images-fallback.php
index e0547467..dc8d92d6 100644
--- a/plugins/jetpack/modules/theme-tools/content-options/featured-images-fallback.php
+++ b/plugins/jetpack/modules/theme-tools/content-options/featured-images-fallback.php
@@ -57,7 +57,7 @@ function jetpack_featured_images_fallback_get_image( $html, $post_id, $post_thum
// Use the theme's crop setting rather than forcing to true
$image_src = add_query_arg( 'crop', $image['crop'], $image_src );
- $html = '<img src="' . esc_url( $image_src ) . '" title="' . esc_attr( strip_tags( get_the_title() ) ) . '" class="attachment-' . esc_attr( $size ) . ' wp-post-image" />';
+ $html = '<img src="' . esc_url( $image_src ) . '" title="' . esc_attr( strip_tags( get_the_title() ) ) . '" class="attachment-' . esc_attr( $size ) . ' wp-post-image" />';
return trim( $html );
}
@@ -71,9 +71,9 @@ add_filter( 'post_thumbnail_html', 'jetpack_featured_images_fallback_get_image',
* Get URL of one image from a specified post in the following order:
* Featured Image then first image from the_content HTML
*
- * @param int $post_id The post ID to check.
- * @param int $post_thumbnail_id The ID of the featured image.
- * @param string $size The image size to return, defaults to 'post-thumbnail'.
+ * @param int $post_id The post ID to check.
+ * @param int $post_thumbnail_id The ID of the featured image.
+ * @param string $size The image size to return, defaults to 'post-thumbnail'.
*
* @return string|null $image_src The URL of the thumbnail image.
*/
@@ -142,9 +142,9 @@ function jetpack_has_featured_image( $post = null ) {
/**
* Adds custom class to the array of post classes.
*
- * @param array $classes Classes for the post element.
- * @param array $class Optional. Comma separated list of additional classes.
- * @param array $post_id Unique The post ID to check
+ * @param array $classes Classes for the post element.
+ * @param array $class Optional. Comma separated list of additional classes.
+ * @param array $post_id Unique The post ID to check
*
* @return array $classes
*/