[post_url] is missi...
 
Notifications
Clear all

[Closed] [post_url] is missing colon

5 Posts
3 Users
0 Reactions
443 Views
Posts: 97
Topic starter
(@vanessa)
Estimable Member
Joined: 1 year ago

Repro:

1. Create a reply where the text has a link, and the link is set to [post_url]

Expected:

Link resolves to https://www.sitename.com

Actual result

Link results to https//www.sitename.com 

4 Replies
Tutrix
Posts: 1453
(@tutrix)
Noble Member
Joined: 5 years ago

Hi @vanessa

>>> wpForo email shortcodes

3 Replies
(@vanessa)
Joined: 1 year ago

Estimable Member
Posts: 97

@tutrix thx, I've seen this page, but one of the shortcodes has a bug [post_url] doesn't correctly show the URL, it's missing a colon, so it comes out as http//sitename.com 

It should either give the full https://sitename.com, or only return sitename.com in my opinion.

Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10587

@vanessa,

It's better to remove the link you're creating and use [post_link] shortcode.

(@vanessa)
Joined: 1 year ago

Estimable Member
Posts: 97

@robert I ended up doing this. Unfortunately the text of [post_link] is automatically determined.

I was trying to hyperlink custom text.

E.g. 'Click here to view the reply' and have that link to [post_url]