Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[INT-650_EM_DASH_CHARACTER] #111

Merged
merged 3 commits into from
Mar 11, 2024
Merged

Conversation

PolepalliGayathri
Copy link
Contributor

Fixed em dash character in image filename

Copy link

@virajpatilst virajpatilst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Check it in.

$data['images']['full']['url'] = esc_attr( $post_image );
$post_thumbnail = $thumb[0];
$data['images']['thumb']['url'] = $post_thumbnail;
$post_image = $image[0];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code formatting is incorrect. Please update.

@PolepalliGayathri PolepalliGayathri marked this pull request as ready for review March 11, 2024 12:27
@PolepalliGayathri PolepalliGayathri merged commit 666af85 into master Mar 11, 2024
@PolepalliGayathri PolepalliGayathri deleted the INT-650_em_dash_character branch March 11, 2024 14:13
$data['images']['thumb']['url'] = $post_thumbnail;
}
$post_image = $image[0];
$filename = basename($post_image);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Basename will get the file, but will also include any query params, see #112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants