AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Closed] wpforo_strip_shortcodes function removes correct http links

3 Posts
2 Users
1 Reactions
1,383 Views
Posts: 22
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@etrimon)
Eminent Member
Joined: 7 years ago
[#17289]

Hello WPforo team,

the latest wpforo_strip_shortcodes function removes also fully valid links which contain two ":" like this one:

https://www.thingiverse.com/thing:4904044

I now replaced removed double colons with words:
---> https(Double colon)//www.thingiverse.com/thing(Double colon)4904044 <---

It is correctly saved in database, but then the wpforo_content_after filter on line 2311 in wpf-hooks using wpforo_strip_shortcodes and the last regex removes it.

Can you fix it, please?

Thank you


2 Replies
Robert
Posts: 10753
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@robert)
Support Team
Joined: 3 months ago

@etrimon,

Ok, thank you for letting us know, we're going to check it. In the meantime, please let me know:

  • What wpForo addons do you use (specify the addon versions)?
  • Do you have any custom code elated to wpForo in the functions.php of the WordPress active theme?

 


1 Reply
(@etrimon)
Joined: 7 years ago

Eminent Member
Posts: 22
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@robert 

Hello Robert,

  • I use Private Messages (licence valid until 07/2022 - last week prolonged)
  • Yes, I have, but be sure that I properly tested if my functions are related to this issue or not before I posted the first post. And as you can see, the issue is also on this forum present.

Best wishes,

Etrimon


Share: