Closed vytisbulkevicius closed 1 year ago
Hey @vytisbulkevicius,
I've reviewed this issue and fixed it with this PR https://github.com/Codeinwp/tweet-old-post/pull/862
Thanks
@girishpanchal30 Tested and the issue is fixed now, thank you 👍
:tada: This issue has been resolved in version 9.0.13 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Description
All the issue was explained on this thread - https://wordpress.org/support/topic/camel-case-hashtags-are-automatically-converted-to-lowercase-2/#post-16453953
User also shared a solution already so it's just a small change in the code (I see no reason to keep it lowercase so we should make the change):
All I did was remove the strtolower() call from line 444 of the class-rop-post-format-helper.php and I could see my hashtags in camel case as expected in the sharing queue. If you could make that update in your plugin, that’d be super.
Line 444 current:
$hashtags = $hashtags . ' #' . preg_replace( '/-/', '', strtolower( $hashtag ) );
My edit to line 444:
$hashtags = $hashtags . ' #' . preg_replace( '/-/', '', $hashtag );
Step-by-step reproduction instructions
There are all the steps described here - https://wordpress.org/support/topic/camel-case-hashtags-are-automatically-converted-to-lowercase-2/#post-16453953 But it's pretty complicated to replicate this as it depends on the theme in use.
Screenshots, screen recording, code snippet or Help Scout ticket
No response
Environment info
No response
Is the issue you are reporting a regression
No