Skip to content

Commit 2700182

Browse files
[INT-650_EM_DASH_CHARACTER] alignment issue
1 parent 98fd951 commit 2700182

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

classes/class-sailthru-content.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -311,16 +311,16 @@ function generate_payload( $post, $post_id ) {
311311
if ( has_post_thumbnail( $post->ID ) ) {
312312
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'full' );
313313
$thumb = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'concierge-thumb' );
314-
$post_image = $image[0];
315-
$filename = basename($post_image);
316-
$encfilename = urlencode($filename);
317-
$post_image = str_replace($filename, $encfilename,$post_image);
318-
$data['images']['full']['url'] = $post_image ;
319-
$post_thumbnail = $thumb[0];
320-
$filename = basename($post_thumbnail);
321-
$encfilename = urlencode($filename);
322-
$post_thumbnail = str_replace($filename, $encfilename, $post_thumbnail);
323-
$data['images']['thumb']['url'] = $post_thumbnail;
314+
$post_image = $image[0];
315+
$filename = basename($post_image);
316+
$encfilename = urlencode($filename);
317+
$post_image = str_replace($filename, $encfilename,$post_image);
318+
$data['images']['full']['url'] = $post_image ;
319+
$post_thumbnail = $thumb[0];
320+
$filename = basename($post_thumbnail);
321+
$encfilename = urlencode($filename);
322+
$post_thumbnail = str_replace($filename, $encfilename, $post_thumbnail);
323+
$data['images']['thumb']['url'] = $post_thumbnail;
324324
}
325325

326326
// Add any galleries from the post to the images.

0 commit comments

Comments
 (0)